aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/ctorrent
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2013-10-29 03:10:04 +0800
committerdinoex <dinoex@FreeBSD.org>2013-10-29 03:10:04 +0800
commit0e467e27eeb72c848bad02d131d0272d27de863c (patch)
tree532872cd9da6732c97dac82dc85b31a3ea1ef0a7 /net-p2p/ctorrent
parentbfb548f22ce8077113c7270ec8744f88392380a2 (diff)
downloadfreebsd-ports-gnome-0e467e27eeb72c848bad02d131d0272d27de863c.tar.gz
freebsd-ports-gnome-0e467e27eeb72c848bad02d131d0272d27de863c.tar.zst
freebsd-ports-gnome-0e467e27eeb72c848bad02d131d0272d27de863c.zip
- use STAGEDIR
Diffstat (limited to 'net-p2p/ctorrent')
-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>