aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2013-10-28 19:10:04 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2013-10-28 19:10:04 +0000
commitc3bd492596eb4dffe4c50519f14ac601b3c34a9f (patch)
tree532872cd9da6732c97dac82dc85b31a3ea1ef0a7 /net-p2p
parent4437d2203bfe68c8fe6a116f7a741a9d7cd392dc (diff)
downloadports-c3bd492596eb4dffe4c50519f14ac601b3c34a9f.tar.gz
ports-c3bd492596eb4dffe4c50519f14ac601b3c34a9f.zip
- use STAGEDIR
Notes
Notes: svn path=/head/; revision=331891
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/ctorrent/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/net-p2p/ctorrent/Makefile b/net-p2p/ctorrent/Makefile
index 1022d77f9526..63b17595a0fa 100644
--- a/net-p2p/ctorrent/Makefile
+++ b/net-p2p/ctorrent/Makefile
@@ -11,20 +11,19 @@ DISTNAME= ${PORTNAME}-dnh${PORTVERSION}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= BitTorrent Client written in C for FreeBSD and Linux
-NO_STAGE= yes
-
GNU_CONFIGURE= yes
PLIST_FILES= bin/ctorrent
PORTDOCS= README-DNH.TXT UserGuide
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${DOCSDIR}/
.endfor
.endif
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>