1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

- update to 2.5.2

- drop EXPIRATION, as distfiles are now available
- various cleanups
- change project WWW url

Based on: http://lists.freebsd.org/pipermail/freebsd-ports/2013-January/080678.html
This commit is contained in:
Jason Helfman 2013-01-18 00:59:37 +00:00
parent d7aa376aad
commit ccfdaa8df6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=310579
3 changed files with 15 additions and 34 deletions

View File

@ -2,57 +2,38 @@
# $FreeBSD$
PORTNAME= looks
PORTVERSION= 2.0.4
PORTREVISION= 2
PORTVERSION= 2.5.2
CATEGORIES= devel java
MASTER_SITES= http://www.jgoodies.com/download/libraries/${PORTNAME}/
DISTNAME= ${PORTNAME}-${PORTVERSION:S|.|_|g}
DISTNAME= jgoodies-${PORTNAME}-${PORTVERSION:S|.|_|g}
MAINTAINER= ports@FreeBSD.org
COMMENT= The JGoodies Looks improve the appearance of your Java applications
COMMENT= JGoodies Looks improve the appearance of your Java applications
DEPRECATED= No more public distfiles
EXPIRATION_DATE= 2012-10-20
LICENSE= BSD
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
WRKSRC= ${WRKDIR}/jgoodies-${PORTNAME}-${PORTVERSION}
JARFILE= ${PORTNAME}.jar
JARFILE= jgoodies-${PORTNAME}-${PORTVERSION}.jar
###
# potential conflict with java/jcalendar, both install looksXXX.jar
###
PLIST_FILES= %%JAVAJARDIR%%/${JARFILE} \
%%JAVAJARDIR%%/LICENSE.${PORTNAME}.txt
PLIST_FILES= %%JAVAJARDIR%%/${JARFILE}
DOCFILES= README.html RELEASE-NOTES.txt
EXAMPLES= demo.jar lib/forms-1.0.7.jar tiny.jar
PORTDOCS= *
.if !defined(NOPORTDOCS)
PLIST_FILES+= ${EXAMPLES:S|^|%%EXAMPLESDIR%%/|}
PLIST_DIRS+= %%EXAMPLESDIR%%/lib %%EXAMPLESDIR%%
.endif
post-extract:
@${MV} ${WRKSRC}/LICENSE.txt ${WRKSRC}/LICENSE.${PORTNAME}.txt
.include <bsd.port.options.mk>
do-install:
${INSTALL_DATA} ${JARFILE:S|.jar|-${PORTVERSION}.jar|:S|^|${WRKSRC}/|} \
${JAVAJARDIR}/${JARFILE}
@${INSTALL_DATA} ${WRKSRC}/LICENSE.${PORTNAME}.txt ${JAVAJARDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}/lib
${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${JAVAJARDIR}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${DOCFILES:S|^|${WRKSRC}/|} ${DOCSDIR}
@${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
@(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
@${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/demo/|:S|lib|../lib|} ${EXAMPLESDIR}
@${MV} ${EXAMPLESDIR}/forms-1.0.7.jar ${EXAMPLESDIR}/lib
@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
.endif
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (looks-2_0_4.zip) = 203cfd1f12f0e5e0b901a145f91701106adad1131694823f0104b54b4ed0c619
SIZE (looks-2_0_4.zip) = 1952358
SHA256 (jgoodies-looks-2_5_2.zip) = edd0670c972715c0951094bdeac88047c8836097aea1e78c720d2fe78e8dbbbd
SIZE (jgoodies-looks-2_5_2.zip) = 2466231

View File

@ -1,4 +1,4 @@
The JGoodies look&feels make your Swing applications and applets look better.
They have been optimized for readability, precise micro-design and usability.
WWW: https://looks.dev.java.net/
WWW: http://www.jgoodies.com