Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 2016 00:45:03 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r407073 - head/devel/log4j
Message-ID:  <201601240045.u0O0j37e022858@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Jan 24 00:45:03 2016
New Revision: 407073
URL: https://svnweb.freebsd.org/changeset/ports/407073

Log:
  - Add NO_ARCH
  - Switch to options helpers

Modified:
  head/devel/log4j/Makefile

Modified: head/devel/log4j/Makefile
==============================================================================
--- head/devel/log4j/Makefile	Sun Jan 24 00:44:50 2016	(r407072)
+++ head/devel/log4j/Makefile	Sun Jan 24 00:45:03 2016	(r407073)
@@ -14,19 +14,24 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USE_JAVA=	yes
 NO_BUILD=	yes
+NO_ARCH=	yes
 
 WRKSRC=		${WRKDIR}/apache-${PORTNAME}-${PORTVERSION}
 
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
 PLIST_FILES=	%%JAVAJARDIR%%/log4j.jar
 PORTDOCS=	*
 PORTEXAMPLES=	*
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/log4j-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
-	cd ${WRKSRC}/site && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
-	cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/
+
+do-install-DOCS-on:
+	@cd ${WRKSRC}/site && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
+
+do-install-EXAMPLES-on:
+	@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/
 	${RMDIR} ${STAGEDIR}${EXAMPLESDIR}/lf5/OpeningLogFiles
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601240045.u0O0j37e022858>