diff options
author | flz <flz@FreeBSD.org> | 2008-06-18 22:22:10 +0800 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2008-06-18 22:22:10 +0800 |
commit | 0840b4997e2fd708700a739b27b4a6f0d30b4e41 (patch) | |
tree | cc0d370913bbb705308aafd9fc494e3fabcc8f3c /net-p2p | |
parent | de952c8dacbffa466d18829d5597440b8d003ec8 (diff) | |
download | freebsd-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')
-rw-r--r-- | net-p2p/bnbt/Makefile | 2 |
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} |