diff options
author | pawel <pawel@FreeBSD.org> | 2014-03-06 23:48:06 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-03-06 23:48:06 +0800 |
commit | ee7678fff8b9b704466211bcc5d0c1257c96ff57 (patch) | |
tree | b4857010d194c1ef9f7d98cd9828bcc3b27efeba | |
parent | 34cf173e510381960e87d53060aade37cff2a303 (diff) | |
download | freebsd-ports-gnome-ee7678fff8b9b704466211bcc5d0c1257c96ff57.tar.gz freebsd-ports-gnome-ee7678fff8b9b704466211bcc5d0c1257c96ff57.tar.zst freebsd-ports-gnome-ee7678fff8b9b704466211bcc5d0c1257c96ff57.zip |
- Update to version 1.2.17 [1]
- Convert to new options framework [1]
- Add LICENSE [1]
- Support staging [1]
- Remove leading article from COMMENT
- Use PORTEXAMPLES to manage examples plist entries
PR: ports/186388 [1]
Submitted by: Hardy Schumacher <hardy.schumacher@gmx.de>
-rw-r--r-- | devel/log4j/Makefile | 42 | ||||
-rw-r--r-- | devel/log4j/distinfo | 4 |
2 files changed, 19 insertions, 27 deletions
diff --git a/devel/log4j/Makefile b/devel/log4j/Makefile index 31fd4f9126ef..7919201e0026 100644 --- a/devel/log4j/Makefile +++ b/devel/log4j/Makefile @@ -2,48 +2,40 @@ # $FreeBSD$ PORTNAME= log4j -PORTVERSION= 1.2.16 +PORTVERSION= 1.2.17 CATEGORIES= devel java MASTER_SITES= ${MASTER_SITE_APACHE} MASTER_SITE_SUBDIR= logging/${PORTNAME}/${PORTVERSION} -DISTNAME= apache-${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= A fast and flexible logging library for Java +COMMENT= Fast and flexible logging library for Java + +LICENSE= APACHE20 USE_JAVA= YES NO_BUILD= YES -PLIST_FILES= %%JAVAJARDIR%%/log4j.jar +WRKSRC= ${WRKDIR}/apache-${PORTNAME}-${PORTVERSION} -.if !defined(NOPORTDOCS) +OPTIONS_DEFINE= DOCS EXAMPLES + +PLIST_FILES= %%JAVAJARDIR%%/log4j.jar PORTDOCS= * -.endif +PORTEXAMPLES= * -NO_STAGE= yes do-install: - @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..." - @${INSTALL_DATA} ${WRKSRC}/log4j-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar + @${ECHO_MSG} -n ">> Installing JAR as ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar..." + @${INSTALL_DATA} ${WRKSRC}/log4j-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar @${ECHO_MSG} " [ DONE ]" -.if !defined(NOPORTDOCS) - @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}/..." + @${ECHO_MSG} -n ">> Installing documentation in ${STAGEDIR}${DOCSDIR}/..." @cd ${WRKSRC}/site \ - && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \ - && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \; + && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \ + && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \; @${ECHO_MSG} " [ DONE ]" - @${ECHO_MSG} -n ">> Installing examples in ${EXAMPLESDIR}/..." + @${ECHO_MSG} -n ">> Installing examples in ${STAGEDIR}${EXAMPLESDIR}/..." @cd ${WRKSRC}/examples \ - && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \; \ - && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \; + && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/{} \; \ + && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${EXAMPLESDIR}/{} \; @${ECHO_MSG} " [ DONE ]" -.endif - -.if !defined(NOPORTDOCS) -post-install: - @${FIND} -s ${WRKSRC}/examples -not -type d \ - | ${SED} -ne 's,^${WRKSRC}/examples,${EXAMPLESDIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST} - @${FIND} -s -d ${WRKSRC}/examples -type d \ - | ${SED} -ne 's,^${WRKSRC}/examples,@dirrm ${EXAMPLESDIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST} -.endif .include <bsd.port.mk> diff --git a/devel/log4j/distinfo b/devel/log4j/distinfo index d022f70e283a..80d9289e6f20 100644 --- a/devel/log4j/distinfo +++ b/devel/log4j/distinfo @@ -1,2 +1,2 @@ -SHA256 (apache-log4j-1.2.16.tar.gz) = 3a93ef38eb7ac9f851626d8b27cde7db1bfc78c1b587520fd740a0ab03e44c89 -SIZE (apache-log4j-1.2.16.tar.gz) = 2791979 +SHA256 (log4j-1.2.17.tar.gz) = a528e3771ee6234661b5eb0fa02e14faee89dfec38de94088c163ddf2a0a8663 +SIZE (log4j-1.2.17.tar.gz) = 2864448 |