aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/rtorrent
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2008-06-18 13:56:39 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2008-06-18 13:56:39 +0000
commitc3a8fc33703fee02a84d2fb8ceb0a6cb36807329 (patch)
tree48f44111f263945f2e22ad73d009508e22727d2f /net-p2p/rtorrent
parent55b476ce8765f2bdd35baf3ac62feac23b3efd8c (diff)
downloadports-c3a8fc33703fee02a84d2fb8ceb0a6cb36807329.tar.gz
ports-c3a8fc33703fee02a84d2fb8ceb0a6cb36807329.zip
Notes
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>