From d403cf051320a9071ed6f1833f025d9f6bdfe0e8 Mon Sep 17 00:00:00 2001 From: glewis Date: Fri, 9 Apr 2004 17:56:05 +0000 Subject: . 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 (maintainer) --- java/trove4j/Makefile | 46 +++++++++++++++++++--------------------------- java/trove4j/distinfo | 4 ++-- java/trove4j/pkg-plist | 1 - 3 files changed, 21 insertions(+), 30 deletions(-) delete mode 100644 java/trove4j/pkg-plist 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 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 -- cgit