Commons Configuration provides a generic configuration interface which enables an application to read configuration data from a variety of sources: - Properties files - XML documents - Windows INI files - Property list files (.plist) - JNDI - JDBC Datasource - System properties - Applet parameters - Servlet parameters Additional sources of configuration parameters can be created by using custom configuration objects.
38 lines
1.3 KiB
Makefile
38 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2010/09/09 00:41:48 jihbed Exp $
|
|
#
|
|
|
|
DISTNAME= commons-configuration-1.6
|
|
PKGNAME= apache-${DISTNAME}
|
|
CATEGORIES= devel java
|
|
MASTER_SITES= http://www.bizdirusa.com/mirrors/apache//commons/configuration/binaries/
|
|
|
|
MAINTAINER= kamel.derouiche@gmail.com
|
|
HOMEPAGE= http://commons.apache.org/configuration/
|
|
COMMENT= Java based library providing a generic configuration interface
|
|
LICENSE= apache-2.0
|
|
|
|
DEPENDS+= apache-commons-beanutils>=1.8.3:../../wip/apache-commons-beanutils
|
|
DEPENDS+= apache-commons-codec>=1.4:../../wip/apache-commons-codec
|
|
DEPENDS+= apache-commons-collections>=3.2.1:../../wip/apache-commons-collections
|
|
DEPENDS+= apache-commons-digester>=2.0:../../wip/apache-commons-digester
|
|
DEPENDS+= apache-commons-lang>=2.5:../../wip/apache-commons-lang
|
|
DEPENDS+= apache-commons-logging>=1.1.1:../../wip/apache-commons-logging
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
NO_BUILD= yes
|
|
USE_TOOLS+= pax
|
|
USE_LANGUAGES= # none
|
|
|
|
USE_JAVA= yes
|
|
PKG_JVMS_ACCEPTED= sun-jdk6 sun-jdk15 sun-jdk14
|
|
|
|
INSTALLATION_DIRS= lib/java share/doc/apache-commons-configuration
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/commons-configuration-1.6.jar \
|
|
${DESTDIR}${PREFIX}/lib/java/commons-configuration.jar
|
|
cd ${WRKSRC}/docs && pax -rw -pp . ${DESTDIR}${PREFIX}/share/doc/apache-commons-configuration
|
|
|
|
.include "../../mk/java-vm.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|