summaryrefslogtreecommitdiff
path: root/java/apache-commons-primitives
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2019-10-06 19:08:14 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2019-10-06 19:08:14 +0000
commitc937a4ccc9f8c084344ae2b95fda9e50dfe7ab03 (patch)
treed1f15965fd21b7db5e3b21c1d8dc8442e6e2f50e /java/apache-commons-primitives
parentNew port: math/darknet: Open source neural networks in C (diff)
rename most cases of jakarta- to apache-
The Apache Softare Foundation used to maintain an umbrella project named Jakarta but it was retired on 2011. This name now conflicts with the new name for Java EE under the Eclipse Foundation. Rename most of the packages to be more consistent. Some other packages remain but they will require intervention by their corresponding maintainers. Approved by: thierry (mentor), makc Differential Revision: https://reviews.freebsd.org/D21902
Notes
Notes: svn path=/head/; revision=513899
Diffstat (limited to 'java/apache-commons-primitives')
-rw-r--r--java/apache-commons-primitives/Makefile43
-rw-r--r--java/apache-commons-primitives/distinfo2
-rw-r--r--java/apache-commons-primitives/pkg-descr9
3 files changed, 54 insertions, 0 deletions
diff --git a/java/apache-commons-primitives/Makefile b/java/apache-commons-primitives/Makefile
new file mode 100644
index 000000000000..d0f90bd72722
--- /dev/null
+++ b/java/apache-commons-primitives/Makefile
@@ -0,0 +1,43 @@
+# Created by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
+# $FreeBSD$
+
+PORTNAME= commons-primitives
+PORTVERSION= 1.0
+CATEGORIES= java
+MASTER_SITES= APACHE_COMMONS_SOURCE
+PKGNAMEPREFIX= apache-
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Library supporting Java primitive types
+
+LICENSE= APACHE20
+
+USE_JAVA= yes
+JAVA_VERSION= 1.6+
+USE_ANT= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+ALL_TARGET= jar
+
+PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
+PORTDOCS= *
+
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
+ALL_TARGET+= javadoc
+.endif
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/target/${PORTNAME}-${PORTVERSION}.jar \
+ ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC}/target/docs && ${COPYTREE_SHARE} api ${STAGEDIR}${DOCSDIR})
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${STAGEDIR}${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/java/apache-commons-primitives/distinfo b/java/apache-commons-primitives/distinfo
new file mode 100644
index 000000000000..a67b7cbf3782
--- /dev/null
+++ b/java/apache-commons-primitives/distinfo
@@ -0,0 +1,2 @@
+SHA256 (commons-primitives-1.0-src.tar.gz) = 96927b484b8cac7e33612469099e7bbd7139cbc79666d5612a32c997fa671ac4
+SIZE (commons-primitives-1.0-src.tar.gz) = 172369
diff --git a/java/apache-commons-primitives/pkg-descr b/java/apache-commons-primitives/pkg-descr
new file mode 100644
index 000000000000..3c8644d749fd
--- /dev/null
+++ b/java/apache-commons-primitives/pkg-descr
@@ -0,0 +1,9 @@
+Apache 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://commons.apache.org/dormant/commons-primitives/