From 166d0c8ad00718ae1414348cee17fac3dfea2b24 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Fri, 4 Jul 2014 21:55:07 +0000 Subject: [PATCH] Remove NOPORTDOCS. --- net-p2p/frost/Makefile | 5 +++-- net-p2p/xnap/Makefile | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/net-p2p/frost/Makefile b/net-p2p/frost/Makefile index b2564ce638fd..b0a0b7be0ea6 100644 --- a/net-p2p/frost/Makefile +++ b/net-p2p/frost/Makefile @@ -22,6 +22,9 @@ PLIST_SUB= JAR_DIR=${JAR_DIR} DATADIR= ${JAVASHAREDIR}/${PORTNAME} +OPTIONS_DEFINE= DOCS + + JAVAVM= ${LOCALBASE}/bin/java JAR_DIR= ${JAVAJARDIR:S,^${PREFIX}/,,}/${PORTNAME} JAR_FILE= frost.jar @@ -73,12 +76,10 @@ post-patch: do-install: # docs -.ifndef(NOPORTDOCS) @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in ${DOC_FILES} @${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor -.endif # jars @${MKDIR} ${STAGEDIR}${PREFIX}/${JAR_DIR} .for jar in ${JAR_FILES} diff --git a/net-p2p/xnap/Makefile b/net-p2p/xnap/Makefile index ada98dd21820..79baf55272d6 100644 --- a/net-p2p/xnap/Makefile +++ b/net-p2p/xnap/Makefile @@ -18,6 +18,8 @@ NO_BUILD= yes JAVAVM= ${LOCALBASE}/bin/java +OPTIONS_DEFINE= DOCS + DOC_FILES= AUTHORS COPYING COPYING.LIB NEWS README \ TODO PORTDOCS= ${DOC_FILES} @@ -37,11 +39,9 @@ do-install: @${INSTALL_DATA} ${WRKSRC}/xnap.jar \ ${STAGEDIR}${JAVAJARDIR}/${PORTNAME:tl}.jar @${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME:tl} -.ifndef(NOPORTDOCS) @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in ${DOC_FILES} @${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include