aboutsummaryrefslogtreecommitdiff
path: root/devel/jakarta-commons-configuration
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2005-11-22 16:32:01 +0000
committerHerve Quiroz <hq@FreeBSD.org>2005-11-22 16:32:01 +0000
commite5ee05890a5bc7d5062f6add17563c3f8b0ae822 (patch)
tree669d93c3ad0551d3f718d2d41f1a54a192ffe546 /devel/jakarta-commons-configuration
parentbf88b4b57294c5b78a40995a8d6bd5a149fa564b (diff)
downloadports-e5ee05890a5bc7d5062f6add17563c3f8b0ae822.tar.gz
ports-e5ee05890a5bc7d5062f6add17563c3f8b0ae822.zip
Notes
Diffstat (limited to 'devel/jakarta-commons-configuration')
-rw-r--r--devel/jakarta-commons-configuration/Makefile40
-rw-r--r--devel/jakarta-commons-configuration/distinfo2
-rw-r--r--devel/jakarta-commons-configuration/pkg-descr18
3 files changed, 60 insertions, 0 deletions
diff --git a/devel/jakarta-commons-configuration/Makefile b/devel/jakarta-commons-configuration/Makefile
new file mode 100644
index 000000000000..ea740fb70fc4
--- /dev/null
+++ b/devel/jakarta-commons-configuration/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: Jakarta Commons Configuration
+# Date created: November 22nd, 2005
+# Whom: Herve Quiroz <hq@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= commons-configuration
+PORTVERSION= 1.1
+CATEGORIES= devel java
+MASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA}
+MASTER_SITE_SUBDIR= ${PORTNAME:S,-,/,}/binaries/
+PKGNAMEPREFIX= jakarta-
+
+MAINTAINER= hq@FreeBSD.org
+COMMENT= Java package for the reading of configuration/preferences files
+
+RUN_DEPENDS= ${JAVALIBDIR}/commons-beanutils.jar:${PORTSDIR}/java/jakarta-commons-beanutils \
+ ${JAVALIBDIR}/commons-lang.jar:${PORTSDIR}/java/jakarta-commons-lang \
+ ${JAVALIBDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging
+
+USE_JAVA= yes
+JAVA_VERSION= 1.3+
+NO_BUILD= yes
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= *
+.endif
+PLIST_FILES+= %%JAVAJARDIR%%/${PORTNAME}.jar
+
+.include <bsd.port.pre.mk>
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
+.if !defined(NOPORTDOCS)
+ cd ${WRKSRC}/docs && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
+ cd ${WRKSRC}/docs && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/jakarta-commons-configuration/distinfo b/devel/jakarta-commons-configuration/distinfo
new file mode 100644
index 000000000000..bfd06c1d4f3e
--- /dev/null
+++ b/devel/jakarta-commons-configuration/distinfo
@@ -0,0 +1,2 @@
+MD5 (commons-configuration-1.1.tar.gz) = 822a8e1a9becfd4d5aaabd0feeba2da1
+SIZE (commons-configuration-1.1.tar.gz) = 1107369
diff --git a/devel/jakarta-commons-configuration/pkg-descr b/devel/jakarta-commons-configuration/pkg-descr
new file mode 100644
index 000000000000..bfec199140c7
--- /dev/null
+++ b/devel/jakarta-commons-configuration/pkg-descr
@@ -0,0 +1,18 @@
+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
+ * JNDI
+ * JDBC Datasource
+
+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://jakarta.apache.org/commons/configuration/