aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-01-24 08:45:03 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-01-24 08:45:03 +0800
commit6ff2e115588fa6207afe67fd06281fbc3f910928 (patch)
treebb9559e3fefee0383cf70f7241cac14d808f70b6 /devel
parentdfdd988a9fb184cc6e9e3100b07230abcbb28e1a (diff)
downloadfreebsd-ports-gnome-6ff2e115588fa6207afe67fd06281fbc3f910928.tar.gz
freebsd-ports-gnome-6ff2e115588fa6207afe67fd06281fbc3f910928.tar.zst
freebsd-ports-gnome-6ff2e115588fa6207afe67fd06281fbc3f910928.zip
- Add NO_ARCH
- Switch to options helpers
Diffstat (limited to 'devel')
-rw-r--r--devel/log4j/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/devel/log4j/Makefile b/devel/log4j/Makefile
index 5f04a03ab05b..709fe8e935e5 100644
--- a/devel/log4j/Makefile
+++ b/devel/log4j/Makefile
@@ -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>