diff options
author | Ernst de Haan <znerd@FreeBSD.org> | 2002-11-14 10:55:13 +0000 |
---|---|---|
committer | Ernst de Haan <znerd@FreeBSD.org> | 2002-11-14 10:55:13 +0000 |
commit | 86de1126a18981d98fd6874d87a50c7a3e5ae98e (patch) | |
tree | 0265207986ac1f53b9f635c5dfb6f653090c5718 /java | |
parent | Improved output from do-install target. (diff) |
New port: Jakarta Commons Logging library.
See:
http://jakarta.apache.org/commons/logging.html
Notes
Notes:
svn path=/head/; revision=70103
Diffstat (limited to 'java')
-rw-r--r-- | java/Makefile | 1 | ||||
-rw-r--r-- | java/jakarta-commons-logging/Makefile | 53 | ||||
-rw-r--r-- | java/jakarta-commons-logging/distinfo | 1 | ||||
-rw-r--r-- | java/jakarta-commons-logging/pkg-comment | 1 | ||||
-rw-r--r-- | java/jakarta-commons-logging/pkg-descr | 11 | ||||
-rw-r--r-- | java/jakarta-commons-logging/pkg-plist | 36 |
6 files changed, 103 insertions, 0 deletions
diff --git a/java/Makefile b/java/Makefile index 21a5e83a7f2b..1cdb6c9ded75 100644 --- a/java/Makefile +++ b/java/Makefile @@ -20,6 +20,7 @@ SUBDIR += jakarta-commons-cli SUBDIR += jakarta-commons-collections SUBDIR += jakarta-commons-lang + SUBDIR += jakarta-commons-logging SUBDIR += jakarta-log4j SUBDIR += jakarta-oro SUBDIR += jakarta-regexp diff --git a/java/jakarta-commons-logging/Makefile b/java/jakarta-commons-logging/Makefile new file mode 100644 index 000000000000..94a00106cb84 --- /dev/null +++ b/java/jakarta-commons-logging/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: Jakarta Commons Logging +# Date created: November 14, 2002 +# Whom: Ernst de Haan <znerd@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= commons-logging +PORTVERSION= 1.0.2 +CATEGORIES= java +MASTER_SITES= http://jakarta.apache.org/builds/jakarta-commons/release/${PORTNAME}/v${PORTVERSION}/ +PKGNAMEPREFIX= jakarta- +DISTNAME= ${PORTNAME}-${PORTVERSION}-src + +MAINTAINER= znerd@FreeBSD.org + +BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/jakarta-ant \ + ${LOCALBASE}/share/java/classes/jakarta-log4j.jar:${PORTSDIR}/java/jakarta-log4j + +USE_JAVA= 1.2+ +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src/logging + +PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///} +ANT?= ${LOCALBASE}/bin/ant +.if defined(NOPORTDOCS) +ANT_TARGET= dist +.else +ANT_TARGET= dist +.endif +JAVASHAREDIR= ${PREFIX}/share/java +JARDIR= ${JAVASHAREDIR}/classes +JARFILE= ${PORTNAME}.jar +DESTJARFILE= ${PORTNAME}.jar + +post-extract: + @${CP} ${PORTSDIR}/java/jakarta-commons-beanutils/files/LICENSE ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src/ + +do-build: + @cd ${WRKSRC} && ${ANT} ${ANT_TARGET} + +do-install: + @${ECHO} -n ">> Installing JAR as ${JARDIR}/${DESTJARFILE}..." + @${CP} ${WRKSRC}/dist/${JARFILE} ${JARDIR}/${DESTJARFILE} + @${ECHO} " [ DONE ]" + +.if !defined(NOPORTDOCS) + @${ECHO} -n ">> Installing documentation in ${DOCSDIR}..." + @${MKDIR} ${DOCSDIR} + @${CP} -r ${WRKSRC}/dist/docs/api/* ${DOCSDIR} + @${ECHO} " [ DONE ]" +.endif + +.include <bsd.port.mk> diff --git a/java/jakarta-commons-logging/distinfo b/java/jakarta-commons-logging/distinfo new file mode 100644 index 000000000000..98433bfe9e19 --- /dev/null +++ b/java/jakarta-commons-logging/distinfo @@ -0,0 +1 @@ +MD5 (commons-logging-1.0.2-src.tar.gz) = 78bfaac25906a54b925bcc285872c9c9 diff --git a/java/jakarta-commons-logging/pkg-comment b/java/jakarta-commons-logging/pkg-comment new file mode 100644 index 000000000000..ff9458ee72a2 --- /dev/null +++ b/java/jakarta-commons-logging/pkg-comment @@ -0,0 +1 @@ +Generic Java library for validation of constraints diff --git a/java/jakarta-commons-logging/pkg-descr b/java/jakarta-commons-logging/pkg-descr new file mode 100644 index 000000000000..d200e05fb8f4 --- /dev/null +++ b/java/jakarta-commons-logging/pkg-descr @@ -0,0 +1,11 @@ +Generic Java library for validating data constraints. + +A common issue when receiving data either electronically or from +user input is verifying the integrity of the data. This work is +repetitive and becomes even more complicated when different sets +of validation rules need to be applied to the same set of data +based on locale for example. Error messages may also vary by +locale. This package attempts to address some of these issues and +speed development and maintenance of validation rules. + +WWW: http://jakarta.apache.org/commons/validator/ diff --git a/java/jakarta-commons-logging/pkg-plist b/java/jakarta-commons-logging/pkg-plist new file mode 100644 index 000000000000..0dca6c9b1c38 --- /dev/null +++ b/java/jakarta-commons-logging/pkg-plist @@ -0,0 +1,36 @@ +share/doc/commons-logging/org/apache/commons/logging/impl/SimpleLog.html +share/doc/commons-logging/org/apache/commons/logging/impl/package-tree.html +share/doc/commons-logging/org/apache/commons/logging/impl/package-frame.html +share/doc/commons-logging/org/apache/commons/logging/impl/Jdk14Logger.html +share/doc/commons-logging/org/apache/commons/logging/impl/Log4JCategoryLog.html +share/doc/commons-logging/org/apache/commons/logging/impl/Log4jFactory.html +share/doc/commons-logging/org/apache/commons/logging/impl/LogFactoryImpl.html +share/doc/commons-logging/org/apache/commons/logging/impl/LogKitLogger.html +share/doc/commons-logging/org/apache/commons/logging/impl/NoOpLog.html +share/doc/commons-logging/org/apache/commons/logging/impl/package-summary.html +share/doc/commons-logging/org/apache/commons/logging/package-tree.html +share/doc/commons-logging/org/apache/commons/logging/package-frame.html +share/doc/commons-logging/org/apache/commons/logging/Log.html +share/doc/commons-logging/org/apache/commons/logging/LogFactory.html +share/doc/commons-logging/org/apache/commons/logging/LogSource.html +share/doc/commons-logging/org/apache/commons/logging/package-summary.html +share/doc/commons-logging/org/apache/commons/logging/LogConfigurationException.html +share/doc/commons-logging/serialized-form.html +share/doc/commons-logging/packages.html +share/doc/commons-logging/package-list +share/doc/commons-logging/overview-tree.html +share/doc/commons-logging/overview-summary.html +share/doc/commons-logging/overview-frame.html +share/doc/commons-logging/index.html +share/doc/commons-logging/index-all.html +share/doc/commons-logging/help-doc.html +share/doc/commons-logging/deprecated-list.html +share/doc/commons-logging/stylesheet.css +share/doc/commons-logging/allclasses-frame.html +share/java/classes/commons-logging.jar +@dirrm share/doc/commons-logging/org/apache/commons/logging/impl +@dirrm share/doc/commons-logging/org/apache/commons/logging +@dirrm share/doc/commons-logging/org/apache/commons +@dirrm share/doc/commons-logging/org/apache +@dirrm share/doc/commons-logging/org +@dirrm share/doc/commons-logging |