aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2003-12-09 06:26:29 +0800
committerglewis <glewis@FreeBSD.org>2003-12-09 06:26:29 +0800
commitaf4cfcbd62070a64e59722e4cd67293d3ce65b38 (patch)
tree5e2568cf3cda740985dc2cdd8aefbb701f895c99 /java
parent6d7c68fca52fe9561f8670b79cdac669cde18e9f (diff)
downloadfreebsd-ports-gnome-af4cfcbd62070a64e59722e4cd67293d3ce65b38.tar.gz
freebsd-ports-gnome-af4cfcbd62070a64e59722e4cd67293d3ce65b38.tar.zst
freebsd-ports-gnome-af4cfcbd62070a64e59722e4cd67293d3ce65b38.zip
New port jakarta-commons-primitives:
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 PR: 59017 Submitted by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
Diffstat (limited to 'java')
-rw-r--r--java/Makefile1
-rw-r--r--java/jakarta-commons-primitives/Makefile43
-rw-r--r--java/jakarta-commons-primitives/distinfo1
-rw-r--r--java/jakarta-commons-primitives/pkg-descr12
-rw-r--r--java/jakarta-commons-primitives/pkg-plist1
5 files changed, 58 insertions, 0 deletions
diff --git a/java/Makefile b/java/Makefile
index 49ebfee125ea..de3ecf40cd1f 100644
--- a/java/Makefile
+++ b/java/Makefile
@@ -34,6 +34,7 @@
SUBDIR += jakarta-commons-lang
SUBDIR += jakarta-commons-logging
SUBDIR += jakarta-commons-pool
+ SUBDIR += jakarta-commons-primitives
SUBDIR += jakarta-log4j
SUBDIR += jakarta-oro
SUBDIR += jakarta-regexp
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