summaryrefslogtreecommitdiff
path: root/java/apache-commons-logging
diff options
context:
space:
mode:
Diffstat (limited to 'java/apache-commons-logging')
-rw-r--r--java/apache-commons-logging/Makefile35
-rw-r--r--java/apache-commons-logging/distinfo3
-rw-r--r--java/apache-commons-logging/pkg-descr12
3 files changed, 50 insertions, 0 deletions
diff --git a/java/apache-commons-logging/Makefile b/java/apache-commons-logging/Makefile
new file mode 100644
index 000000000000..d11312f4134b
--- /dev/null
+++ b/java/apache-commons-logging/Makefile
@@ -0,0 +1,35 @@
+# Created by: Ernst de Haan <znerd@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= commons-logging
+PORTVERSION= 1.2
+CATEGORIES= java devel
+MASTER_SITES= APACHE_COMMONS_BINARIES
+PKGNAMEPREFIX= apache-
+DISTNAME= ${PORTNAME}-${PORTVERSION}-bin
+
+MAINTAINER= makc@FreeBSD.org
+COMMENT= Generic logging wrapper library
+
+LICENSE= APACHE20
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+OPTIONS_DEFINE= DOCS
+
+USE_JAVA= yes
+JAVA_VERSION= 1.6+
+NO_BUILD= yes
+
+JARFILE= ${PORTNAME}-${PORTVERSION}.jar
+
+PORTDOCS= *
+PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \
+ %%JAVAJARDIR%%/${JARFILE}
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}
+ ${LN} -sf ${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
+ (cd ${WRKSRC}/apidocs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
+
+.include <bsd.port.mk>
diff --git a/java/apache-commons-logging/distinfo b/java/apache-commons-logging/distinfo
new file mode 100644
index 000000000000..dbbab162e5d4
--- /dev/null
+++ b/java/apache-commons-logging/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1570207571
+SHA256 (commons-logging-1.2-bin.tar.gz) = 3f758805c7290d9c6d22d1451587c9f7232744aef4c984e88aa683cdea0587bd
+SIZE (commons-logging-1.2-bin.tar.gz) = 315429
diff --git a/java/apache-commons-logging/pkg-descr b/java/apache-commons-logging/pkg-descr
new file mode 100644
index 000000000000..02a93bf2c47d
--- /dev/null
+++ b/java/apache-commons-logging/pkg-descr
@@ -0,0 +1,12 @@
+Apache Commons Logging library.
+
+There is a great need for debugging and logging information inside of Commons
+components such as HTTPClient and DBCP. However, there are many logging APIs
+out there and it is difficult to choose among them.
+
+The Logging package is an ultra-thin bridge between different logging
+libraries. Commons components may use the Logging API to remove compile-time
+and run-time dependencies on any particular logging package, and contributors
+may write Log implementations for the library of their choice.
+
+WWW: http://commons.apache.org/proper/commons-logging/