aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/rtorrent
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2008-06-18 21:56:39 +0800
committerflz <flz@FreeBSD.org>2008-06-18 21:56:39 +0800
commit26099b122dc34ef12f992a9c940ae1be9e0e22e4 (patch)
treef6c87d047d103fbc164fa0c2f27f8e9f5da60f52 /net-p2p/rtorrent
parentc9dec1bafdad527ba5baa4f81ad8aa5af98da89f (diff)
downloadfreebsd-ports-gnome-26099b122dc34ef12f992a9c940ae1be9e0e22e4.tar.gz
freebsd-ports-gnome-26099b122dc34ef12f992a9c940ae1be9e0e22e4.tar.zst
freebsd-ports-gnome-26099b122dc34ef12f992a9c940ae1be9e0e22e4.zip
Don't install documentation if NOPORTDOCS is defined.
Reported by: itetcu
Diffstat (limited to 'net-p2p/rtorrent')
-rw-r--r--net-p2p/rtorrent/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net-p2p/rtorrent/Makefile b/net-p2p/rtorrent/Makefile
index 850a1bfde64c..646675ba01cf 100644
--- a/net-p2p/rtorrent/Makefile
+++ b/net-p2p/rtorrent/Makefile
@@ -48,10 +48,12 @@ post-patch:
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/configure
post-install:
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/doc/rtorrent.rc ${EXAMPLESDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/
+.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>