diff options
author | hq <hq@FreeBSD.org> | 2005-11-23 00:32:01 +0800 |
---|---|---|
committer | hq <hq@FreeBSD.org> | 2005-11-23 00:32:01 +0800 |
commit | d2d3296a41d928add6525e5ee9a5198b85f53cad (patch) | |
tree | fa49cbd194d2048724d0f5d53b9b1d6c73e3da4f | |
parent | 06aaf9ec3bcac0f20eaa7ad5df32943b8e013763 (diff) | |
download | freebsd-ports-gnome-d2d3296a41d928add6525e5ee9a5198b85f53cad.tar.gz freebsd-ports-gnome-d2d3296a41d928add6525e5ee9a5198b85f53cad.tar.zst freebsd-ports-gnome-d2d3296a41d928add6525e5ee9a5198b85f53cad.zip |
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/
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/jakarta-commons-configuration/Makefile | 40 | ||||
-rw-r--r-- | devel/jakarta-commons-configuration/distinfo | 2 | ||||
-rw-r--r-- | devel/jakarta-commons-configuration/pkg-descr | 18 |
4 files changed, 61 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 000f3e386bb2..1603f0f8812b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -401,6 +401,7 @@ SUBDIR += itext SUBDIR += ixlib SUBDIR += jakarta-commons-chain + SUBDIR += jakarta-commons-configuration SUBDIR += jakelib2 SUBDIR += jam SUBDIR += java-util-concurrent 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/ |