java/59039: Update port: java/trove4j

java/59039: Update port: java/trove4j

Post by herve.quir » Sat, 08 Nov 2003 23:40:37


System: FreeBSD andouillette.esil.univ-mrs.fr 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Mon Nov 3 15:33:19 CET 2003 XXXX@XXXXX.COM :/usr/obj/usr/src/sys/ASSIMILATED i386


- The port now uses %%PORTDOCS%% in pkg-plist to get rid of warning messages
while deinstalling.
- Added some PLIST_SUB stuff to reduce the size of the pkg-plist
- Added support for %%JAVAJARDIR%% in pkg-plist (so user may override the
default location of installed JAR files ${JAVAJARDIR} during install)
- Removed the useless ${INSTALL_JAR} statement (now using ${INSTALL_DATA} until
some support for JAR file installation is added to bsd.java.mk)

No bump to PORTREVISION...


diff -u trove4j.original/Makefile trove4j/Makefile
--- trove4j.original/Makefile Fri Nov 7 01:44:50 2003
+++ trove4j/Makefile Fri Nov 7 01:41:06 2003
@@ -20,19 +20,18 @@
PORT_JARFILE= trove.jar
JAVA_WRKLIBDIR= ${WRKSRC}/lib
JAVA_WRKDOCSDIR= ${WRKSRC}/javadocs
-
-INSTALL_JAR= ${INSTALL_DATA}
+PLIST_SUB+= T=${DOCSDIR:S/^${PREFIX}//}
+PLIST_SUB+= JAVAJARDIR=${JAVAJARDIR:S/^${PREFIX}//}

do-install:
@${ECHO_CMD} -n ">> Installing JAR file..."
@${MKDIR} ${JAVAJARDIR}
- @cd ${JAVA_WRKLIBDIR} && ${INSTALL_JAR} ${PORT_JARFILE} ${JAVAJARDIR}
+ @cd ${JAVA_WRKLIBDIR} && ${INSTALL_DATA} ${PORT_JARFILE} ${JAVAJARDIR}
@${ECHO_CMD} " [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/{} ";"
+ @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
diff -u trove4j.original/pkg-plist trove4j/pkg-plist
--- trove4j.original/pkg-plist Fri Nov 7 01:44:50 2003
+++ trove4j/pkg-plist Fri Nov 7 01:36:51 2003
@@ -1,355 +1,355 @@
-share/doc/trove4j/javadocs/gnu/trove/class-use/HashFunctions.html
-share/doc/trove4j/javadocs/gnu/trove/class-use/PrimeFinder.html
-share/doc/trove4j/javadocs/gnu/trove/class-use/TDoubleArrayList.html
-share/doc/trove4j/javadocs/gnu/trove/class-use/TDoubleDoubleHashMap.html
-share/doc/trove4j/javadocs/gnu/trove/class-use/TDoubleDoubleIterator.html
-share/doc/trove4j/javadocs/gnu/trove/class-use/TDoubleDoubleProcedure.html
-share/doc/trove4j/javadocs/gnu/trove/class-use/TDoubleFloatHashMap.html
-share/doc/trove4j/javadocs/gnu/trove/class-use/TDoubleFloatIterator.html
-share/doc/trove4j/javadocs/gnu/trove/class-use/TDoubleFloatProcedure.html
-share/doc/trove4j/javadocs/gnu/trove/class-use/TDoubleFunction.html
-share/doc/trove4j/javadocs/gnu/trove/class-use/TDoubleHash.html
-share/doc/trove4j/javadocs/gnu/trove/class-use/TDoubleHashingStrategy.html
-share/doc/trove4j/javadocs/gnu/trove/class-use/TDoubleHashSet.html
-share/doc/trove4j/javadocs/gnu/trove/class-use/TDoubleIntHashMap.html
-share/doc/trove4j/javadocs/gnu/trove/class-use/TFloatFunction.html
-share/doc/trove4j/javadocs/gnu/trove/class-use/TDoubleIntIterator.html
-share/doc/trove4j/javadocs/gnu/trove/class-use/TDoubleIntProcedure.html
-share/doc/trove4j/javadocs/gnu/trove/class-use/TDo
 
 
 

java/59039: Update port: java/trove4j

Post by glewi » Thu, 20 Nov 2003 05:49:41

Synopsis: Update port: java/trove4j

Responsible-Changed-From-To: freebsd-java->glewis
Responsible-Changed-By: glewis
Responsible-Changed-When: Tue Nov 18 12:46:39 PST 2003
Responsible-Changed-Why:
I'll take this.

http://www.yqcomputer.com/
_______________________________________________
XXXX@XXXXX.COM mailing list
http://www.yqcomputer.com/
To unsubscribe, send any mail to " XXXX@XXXXX.COM "