summaryrefslogtreecommitdiff
path: root/devel/apache-commons-configuration/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/apache-commons-configuration/Makefile')
-rw-r--r--devel/apache-commons-configuration/Makefile39
1 files changed, 39 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>