diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2003-12-08 22:26:29 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2003-12-08 22:26:29 +0000 |
commit | 080e6db266e5df288a61d130b8b2801f12711bea (patch) | |
tree | 69b6eb9d4995ecd95fbd0b2e955684e275fdf4b4 /java/jakarta-commons-primitives | |
parent | 72de4a9143c02104fdede1e9d8018ba37b92f44b (diff) | |
download | ports-080e6db266e5df288a61d130b8b2801f12711bea.tar.gz ports-080e6db266e5df288a61d130b8b2801f12711bea.zip |
Notes
Diffstat (limited to 'java/jakarta-commons-primitives')
-rw-r--r-- | java/jakarta-commons-primitives/Makefile | 43 | ||||
-rw-r--r-- | java/jakarta-commons-primitives/distinfo | 1 | ||||
-rw-r--r-- | java/jakarta-commons-primitives/pkg-descr | 12 | ||||
-rw-r--r-- | java/jakarta-commons-primitives/pkg-plist | 1 |
4 files changed, 57 insertions, 0 deletions
diff --git a/java/jakarta-commons-primitives/Makefile b/java/jakarta-commons-primitives/Makefile new file mode 100644 index 000000000000..bc756843fd8e --- /dev/null +++ b/java/jakarta-commons-primitives/Makefile @@ -0,0 +1,43 @@ +# Ports collection makefile for: Jakarta Commons Primitives +# Date created: 06 November 2003 +# Whom: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> +# +# $FreeBSD$ +# + +PORTNAME= commons-primitives +PORTVERSION= 1.0 +CATEGORIES= java +MASTER_SITES= http://www.apache.org/dist/jakarta/${PORTNAME:S,-,/,}/binaries/ +PKGNAMEPREFIX= jakarta- + +MAINTAINER= herve.quiroz@esil.univ-mrs.fr +COMMENT= A library supporting Java primitive types + +USE_JAVA= 1.3+ +NO_BUILD= YES + +PORT_JARFILE= ${PORTNAME}-${PORTVERSION}.jar +DEST_JARFILE= ${PORTNAME}.jar +JAVA_WRKDOCSDIR= ${WRKSRC}/docs +PLIST_SUB+= JAVAJARDIR=${JAVAJARDIR:S/^${PREFIX}\///} + +.if !defined(NOPORTDOCS) +PORTDOCS= apidocs +.endif + +do-install: + @${ECHO_CMD} -n ">> Installing JAR file..." + @cd ${WRKSRC} && ${INSTALL_DATA} ${PORT_JARFILE} ${JAVAJARDIR}/${DEST_JARFILE} + @${ECHO_CMD} " [DONE]" +.if !defined(NOPORTDOCS) + @${ECHO_CMD} -n ">> Installing documentation..." + @cd ${JAVA_WRKDOCSDIR} && ${FIND} . -type d -mindepth 1 -exec ${MKDIR} ${DOCSDIR}/{} ";" + @cd ${JAVA_WRKDOCSDIR} && ${FIND} . -type f -exec ${INSTALL_MAN} ${JAVA_WRKDOCSDIR}/{} ${DOCSDIR}/{} ";" + @${ECHO_CMD} " [DONE]" +.endif + +post-install: + @${ECHO_CMD} "${PORTNAME}-${PORTVERSION} installed as ${JAVAJARDIR}/${PORT_JARFILE}" + +.include <bsd.port.mk> diff --git a/java/jakarta-commons-primitives/distinfo b/java/jakarta-commons-primitives/distinfo new file mode 100644 index 000000000000..4ef5a7e548df --- /dev/null +++ b/java/jakarta-commons-primitives/distinfo @@ -0,0 +1 @@ +MD5 (commons-primitives-1.0.tar.gz) = 2ce92656204f2fa63dad6dfa88e1458b diff --git a/java/jakarta-commons-primitives/pkg-descr b/java/jakarta-commons-primitives/pkg-descr new file mode 100644 index 000000000000..254e3abbdf1d --- /dev/null +++ b/java/jakarta-commons-primitives/pkg-descr @@ -0,0 +1,12 @@ +Apache Jakarta Commons Primitives provides a collection of types and utilities +optimized for working with Java primitives (boolean, byte, char, double, float, +int, long, short). Generally, the Commons-Primitives classes are faster, +smaller and easier to work with than their purely Object based alternatives. + +Currently Commons Primitives is primarily composed of implementations of the +java.util collections adapted for the primitive types. + +WWW: http://jakarta.apache.org/commons/primitives + +- Herve Quiroz +herve.quiroz@esil.univ-mrs.fr diff --git a/java/jakarta-commons-primitives/pkg-plist b/java/jakarta-commons-primitives/pkg-plist new file mode 100644 index 000000000000..25b83e86324f --- /dev/null +++ b/java/jakarta-commons-primitives/pkg-plist @@ -0,0 +1 @@ +%%JAVAJARDIR%%/commons-primitives.jar |