aboutsummaryrefslogtreecommitdiffstats
path: root/java/trove4j/Makefile
diff options
context:
space:
mode:
authorznerd <znerd@FreeBSD.org>2003-03-27 23:12:39 +0800
committerznerd <znerd@FreeBSD.org>2003-03-27 23:12:39 +0800
commitde8f544c1e2cdba1b7c38c785529fcc703da3adb (patch)
tree5e2fee559b669a520ed805daf63599eb0ca4d836 /java/trove4j/Makefile
parent56dabe69ea92ceff03fcbc29634eb82a40b680cf (diff)
downloadfreebsd-ports-graphics-de8f544c1e2cdba1b7c38c785529fcc703da3adb.tar.gz
freebsd-ports-graphics-de8f544c1e2cdba1b7c38c785529fcc703da3adb.tar.zst
freebsd-ports-graphics-de8f544c1e2cdba1b7c38c785529fcc703da3adb.zip
New port: trove4j.
PR: 45287 Submitted by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
Diffstat (limited to 'java/trove4j/Makefile')
-rw-r--r--java/trove4j/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/java/trove4j/Makefile b/java/trove4j/Makefile
new file mode 100644
index 00000000000..a76b93faa18
--- /dev/null
+++ b/java/trove4j/Makefile
@@ -0,0 +1,48 @@
+# Ports collection makefile for: GNU Trove4J
+# Date created: 14 November 2002
+# Whom: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
+#
+# $FreeBSD$
+
+PORTNAME= trove4j
+PORTVERSION= 0.1.8
+CATEGORIES= java
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= trove4j
+DISTNAME= trove-${PORTVERSION}
+COMMENT= GNU Trove: High performance collections for Java
+
+MAINTAINER= herve.quiroz@esil.univ-mrs.fr
+
+USE_JAVA= 1.3+
+NO_BUILD= YES
+
+PORT_JARFILE= trove.jar
+JAVA_WRKLIBDIR= ${WRKSRC}/lib
+JAVA_WRKDOCSDIR= ${WRKSRC}/javadocs
+JAVA_LIBDIR= ${PREFIX}/share/java/classes
+
+INSTALL_JAR= ${INSTALL_DATA}
+
+do-install:
+ @${ECHO_CMD} -n ">> Installing JAR file..."
+ @${MKDIR} ${JAVA_LIBDIR}
+ @cd ${JAVA_WRKLIBDIR} && ${INSTALL_JAR} ${PORT_JARFILE} ${JAVA_LIBDIR}
+ @${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/{} ";"
+ @${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]"
+.endif
+
+post-install:
+ @${ECHO_CMD} "${PORTNAME}-${PORTVERSION} installed as ${JAVA_LIBDIR}/${PORT_JARFILE}"
+
+.include <bsd.port.mk>