diff options
author | glewis <glewis@FreeBSD.org> | 2004-04-10 01:56:05 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2004-04-10 01:56:05 +0800 |
commit | d403cf051320a9071ed6f1833f025d9f6bdfe0e8 (patch) | |
tree | f306fcf2efc37b877176e6b24a7f0eccfb4e5de5 | |
parent | 5880e255a342bbff51692154945ab7554f881852 (diff) | |
download | freebsd-ports-gnome-d403cf051320a9071ed6f1833f025d9f6bdfe0e8.tar.gz freebsd-ports-gnome-d403cf051320a9071ed6f1833f025d9f6bdfe0e8.tar.zst freebsd-ports-gnome-d403cf051320a9071ed6f1833f025d9f6bdfe0e8.zip |
. Update to 1.1b3
. Use PLIST_FILES and get rid of pkg-plist.
. Switch MASTER_SITES to MASTER_SITE_SOURCEFORGE_EXTENDED
. Cleaned up the Makefile.
PR: 65298
Submitted by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> (maintainer)
-rw-r--r-- | java/trove4j/Makefile | 46 | ||||
-rw-r--r-- | java/trove4j/distinfo | 4 | ||||
-rw-r--r-- | java/trove4j/pkg-plist | 1 |
3 files changed, 21 insertions, 30 deletions
diff --git a/java/trove4j/Makefile b/java/trove4j/Makefile index d19fad36ea57..1029f3f24d3c 100644 --- a/java/trove4j/Makefile +++ b/java/trove4j/Makefile @@ -5,48 +5,40 @@ # $FreeBSD$ PORTNAME= trove4j -PORTVERSION= 1.0.2 -PORTREVISION= 1 -CATEGORIES= java -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +PORTVERSION= 1.1b3 +CATEGORIES= java devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} MASTER_SITE_SUBDIR= trove4j DISTNAME= trove-${PORTVERSION} -COMMENT= GNU Trove: High performance collections for Java MAINTAINER= herve.quiroz@esil.univ-mrs.fr +COMMENT= GNU Trove: High performance collections for Java USE_JAVA= yes JAVA_VERSION= 1.3+ JAVA_RUN= jdk -NO_BUILD= YES - -PORT_JARFILE= trove.jar -JAVA_WRKLIBDIR= ${WRKSRC}/lib -JAVA_WRKDOCSDIR= ${WRKSRC}/javadocs -PLIST_SUB+= JAVAJARDIR=${JAVAJARDIR:S/^${PREFIX}\///} +NO_BUILD= yes .if !defined(NOPORTDOCS) -PORTDOCS= AUTHORS ChangeLog LICENSE.txt README-license.txt README.txt javadocs +PORTDOCS= javadocs AUTHORS ChangeLog LICENSE.txt README-license.txt README.txt .endif +JARFILE= trove.jar +PLIST_FILES+= ${JAVAJARDIR:S,^${PREFIX}/,,}/${JARFILE} do-install: - @${ECHO_CMD} -n ">> Installing JAR file..." + @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..." @${MKDIR} ${JAVAJARDIR} - @cd ${JAVA_WRKLIBDIR} && ${INSTALL_DATA} ${PORT_JARFILE} ${JAVAJARDIR} - @${ECHO_CMD} " [DONE]" + @${CP} ${WRKSRC}/lib/${JARFILE} ${JAVAJARDIR}/ + @${ECHO_MSG} " [ DONE ]" .if !defined(NOPORTDOCS) - @${ECHO_CMD} -n ">> Installing documentation..." - @cd ${JAVA_WRKDOCSDIR} && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/javadocs/{} ";" - @cd ${JAVA_WRKDOCSDIR} && ${FIND} . -type f -exec ${INSTALL_MAN} ${JAVA_WRKDOCSDIR}/{} ${DOCSDIR}/javadocs/{} ";" - @${INSTALL_MAN} ${WRKSRC}/AUTHORS ${DOCSDIR}/AUTHORS - @${INSTALL_MAN} ${WRKSRC}/ChangeLog ${DOCSDIR}/ChangeLog - @${INSTALL_MAN} ${WRKSRC}/LICENSE.txt ${DOCSDIR}/LICENSE.txt - @${INSTALL_MAN} ${WRKSRC}/README-license.txt ${DOCSDIR}/README-license.txt - @${INSTALL_MAN} ${WRKSRC}/README.txt ${DOCSDIR}/README.txt - @${ECHO_CMD} " [DONE]" + @${ECHO_MSG} -n ">> Installing documentation..." + @${MKDIR} ${DOCSDIR} +.for DOCFILE in ${PORTDOCS} + @${CP} -r ${WRKSRC}/${DOCFILE} ${DOCSDIR}/ + @${ECHO_MSG} -n " ${DOCFILE}" +.endfor + @${CHOWN} -h -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} + @${ECHO_MSG} " [ DONE ]" .endif -post-install: - @${ECHO_CMD} "${PORTNAME}-${PORTVERSION} installed as ${JAVAJARDIR}/${PORT_JARFILE}" - .include <bsd.port.mk> diff --git a/java/trove4j/distinfo b/java/trove4j/distinfo index 272df543c78c..81ac835d00e6 100644 --- a/java/trove4j/distinfo +++ b/java/trove4j/distinfo @@ -1,2 +1,2 @@ -MD5 (trove-1.0.2.tar.gz) = a246a09db112b7986b02c2a9f771bae0 -SIZE (trove-1.0.2.tar.gz) = 796214 +MD5 (trove-1.1b3.tar.gz) = 14358eb68de9c2dfc7a132b58d2b899c +SIZE (trove-1.1b3.tar.gz) = 805653 diff --git a/java/trove4j/pkg-plist b/java/trove4j/pkg-plist deleted file mode 100644 index f35d35a77d41..000000000000 --- a/java/trove4j/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -%%JAVAJARDIR%%/trove.jar |