From b71fed848b348e1d54057058b40ac447593071b1 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sun, 24 Jan 2016 00:45:03 +0000 Subject: - Add NO_ARCH - Switch to options helpers --- devel/log4j/Makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'devel/log4j') 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 -- cgit v1.2.3