summaryrefslogtreecommitdiff
path: root/devel/apache-commons-configuration
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 /devel/apache-commons-configuration
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
Diffstat (limited to 'devel/apache-commons-configuration')
-rw-r--r--devel/apache-commons-configuration/Makefile39
-rw-r--r--devel/apache-commons-configuration/distinfo2
-rw-r--r--devel/apache-commons-configuration/pkg-descr23
3 files changed, 64 insertions, 0 deletions
diff --git a/devel/apache-commons-configuration/Makefile b/devel/apache-commons-configuration/Makefile
new file mode 100644
index 000000000000..c976d1d057a7
--- /dev/null
+++ b/devel/apache-commons-configuration/Makefile
@@ -0,0 +1,39 @@
+# Created by: Herve Quiroz <hq@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= commons-configuration
+PORTVERSION= 1.10
+CATEGORIES= devel java
+MASTER_SITES= APACHE_COMMONS_BINARIES
+PKGNAMEPREFIX= apache-
+DISTNAME= ${PORTNAME}-${PORTVERSION}-bin
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Java package for the reading of configuration/preferences files
+
+LICENSE= APACHE20
+
+RUN_DEPENDS= ${JAVALIBDIR}/commons-beanutils.jar:java/jakarta-commons-beanutils \
+ ${JAVALIBDIR}/commons-lang.jar:java/jakarta-commons-lang \
+ ${JAVALIBDIR}/commons-logging.jar:java/apache-commons-logging
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+OPTIONS_DEFINE= DOCS
+
+USE_JAVA= yes
+JAVA_VERSION= 1.6+
+NO_BUILD= yes
+
+PORTDOCS= *
+PLIST_FILES+= %%JAVAJARDIR%%/${PORTNAME}.jar
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar \
+ ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
+ cd ${WRKSRC}/apidocs && ${FIND} . -type d -exec ${MKDIR} \
+ ${STAGEDIR}${DOCSDIR}/{} \;
+ cd ${WRKSRC}/apidocs && ${FIND} . -type f -exec ${INSTALL_DATA} {} \
+ ${STAGEDIR}${DOCSDIR}/{} \;
+
+.include <bsd.port.mk>
diff --git a/devel/apache-commons-configuration/distinfo b/devel/apache-commons-configuration/distinfo
new file mode 100644
index 000000000000..43d41c56b753
--- /dev/null
+++ b/devel/apache-commons-configuration/distinfo
@@ -0,0 +1,2 @@
+SHA256 (commons-configuration-1.10-bin.tar.gz) = 02ae2071d761a571d4d7e13a79dac2bf1dd8d915227fbcf852f883baa06b1e03
+SIZE (commons-configuration-1.10-bin.tar.gz) = 3307649
diff --git a/devel/apache-commons-configuration/pkg-descr b/devel/apache-commons-configuration/pkg-descr
new file mode 100644
index 000000000000..525af682e7fa
--- /dev/null
+++ b/devel/apache-commons-configuration/pkg-descr
@@ -0,0 +1,23 @@
+Commons Configuration provides a generic configuration interface which enables
+an application to read configuration data from a variety of sources. Commons
+Configuration provides typed access to single, and multi-valued configuration
+parameters.
+
+Configuration parameters may be loaded from the following sources:
+
+ * Properties files
+ * XML documents
+ * Windows INI files
+ * Property list files (plist)
+ * JNDI
+ * JDBC Datasource
+ * System properties
+ * Applet parameters
+ * Servlet parameters
+
+Different configuration sources can be mixed using a ConfigurationFactory and
+CompositeConfiguration. Additional sources of configuration parameters can be
+created by using custom configuration objects. This customization can be
+achieved by extending AbstractConfiguration.
+
+WWW: http://commons.apache.org/proper/commons-configuration/