aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/bnbt
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2008-06-18 22:22:10 +0800
committerflz <flz@FreeBSD.org>2008-06-18 22:22:10 +0800
commit0840b4997e2fd708700a739b27b4a6f0d30b4e41 (patch)
treecc0d370913bbb705308aafd9fc494e3fabcc8f3c /net-p2p/bnbt
parentde952c8dacbffa466d18829d5597440b8d003ec8 (diff)
downloadfreebsd-ports-gnome-0840b4997e2fd708700a739b27b4a6f0d30b4e41.tar.gz
freebsd-ports-gnome-0840b4997e2fd708700a739b27b4a6f0d30b4e41.tar.zst
freebsd-ports-gnome-0840b4997e2fd708700a739b27b4a6f0d30b4e41.zip
Don't install documentation when NOPORTDOCS is defined.
Reported by: itetcu
Diffstat (limited to 'net-p2p/bnbt')
-rw-r--r--net-p2p/bnbt/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/net-p2p/bnbt/Makefile b/net-p2p/bnbt/Makefile
index 454b339f9de1..6a5990de3253 100644
--- a/net-p2p/bnbt/Makefile
+++ b/net-p2p/bnbt/Makefile
@@ -45,10 +45,12 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${ALL_TARGET} ${PREFIX}/bin/bnbt
${MKDIR} ${PREFIX}/etc/${PORTNAME}
+.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
.endfor
+.endif
post-install:
@${MKDIR} /var/log/${PORTNAME}