[Midnightbsd-cvs] mports [17746] trunk/devel/log4j: log4j 1.2.17

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Oct 14 20:40:46 EDT 2014


Revision: 17746
          http://svnweb.midnightbsd.org/mports/?rev=17746
Author:   laffer1
Date:     2014-10-14 20:40:45 -0400 (Tue, 14 Oct 2014)
Log Message:
-----------
log4j 1.2.17

Modified Paths:
--------------
    trunk/devel/log4j/Makefile
    trunk/devel/log4j/distinfo

Modified: trunk/devel/log4j/Makefile
===================================================================
--- trunk/devel/log4j/Makefile	2014-10-15 00:37:25 UTC (rev 17745)
+++ trunk/devel/log4j/Makefile	2014-10-15 00:40:45 UTC (rev 17746)
@@ -1,30 +1,31 @@
 # $MidnightBSD$
 
 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 at MidnightBSD.org
-COMMENT=	A fast and flexible logging library for Java
+COMMENT=	Fast and flexible logging library for Java
+
 LICENSE=	apache2
 
 USE_JAVA=	YES
 NO_BUILD=	YES
 
+WRKSRC=		${WRKDIR}/apache-${PORTNAME}-${PORTVERSION}
+
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 PLIST_FILES=	%%JAVAJARDIR%%/log4j.jar
-
-.if !defined(NOPORTDOCS)
 PORTDOCS=	*
-.endif
+PORTEXAMPLES=	*
 
 do-install:
 	@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
 	@${INSTALL_DATA} ${WRKSRC}/log4j-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
 	@${ECHO_MSG} " [ DONE ]"
-.if !defined(NOPORTDOCS)
 	@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}/..."
 	@cd ${WRKSRC}/site \
 	  && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
@@ -35,14 +36,5 @@
 	  && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \; \
 	  && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${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, at dirrm ${EXAMPLESDIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
-.endif
-
 .include <bsd.port.mk>

Modified: trunk/devel/log4j/distinfo
===================================================================
--- trunk/devel/log4j/distinfo	2014-10-15 00:37:25 UTC (rev 17745)
+++ trunk/devel/log4j/distinfo	2014-10-15 00:40:45 UTC (rev 17746)
@@ -1,3 +1,2 @@
-SHA256 (apache-log4j-1.2.16.tar.gz) = 3a93ef38eb7ac9f851626d8b27cde7db1bfc78c1b587520fd740a0ab03e44c89
-RMD160 (apache-log4j-1.2.16.tar.gz) = b80cd2d55e10322e7903ffb355d36c93daceece6
-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



More information about the Midnightbsd-cvs mailing list