aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-05 05:55:07 +0800
committeradamw <adamw@FreeBSD.org>2014-07-05 05:55:07 +0800
commitef651b4509b37ada10eb12940e8e184a34a5820c (patch)
treeb4f12eeb7bb078f1956372bd9b88e65fa07ee871 /net-p2p
parentffc3e95129c0d4d6adb87d9afa075f6f55064da8 (diff)
downloadfreebsd-ports-gnome-ef651b4509b37ada10eb12940e8e184a34a5820c.tar.gz
freebsd-ports-gnome-ef651b4509b37ada10eb12940e8e184a34a5820c.tar.zst
freebsd-ports-gnome-ef651b4509b37ada10eb12940e8e184a34a5820c.zip
Remove NOPORTDOCS.
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/frost/Makefile5
-rw-r--r--net-p2p/xnap/Makefile4
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 <bsd.port.mk>