diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-03-14 16:59:17 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-03-14 16:59:17 +0800 |
commit | a9b88ee159e43d067a74e397b7f2fccbf6febee9 (patch) | |
tree | 480435cd65a2ee51fe56cea7c00bee1cc0884963 /net-p2p | |
parent | a0226c7407ab8f0b09952a503576a7f698065aee (diff) | |
download | freebsd-ports-gnome-a9b88ee159e43d067a74e397b7f2fccbf6febee9.tar.gz freebsd-ports-gnome-a9b88ee159e43d067a74e397b7f2fccbf6febee9.tar.zst freebsd-ports-gnome-a9b88ee159e43d067a74e397b7f2fccbf6febee9.zip |
- Support staging
- Define DOCS option
- Drop superfluous WRKSRC definition
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/ctcs/Makefile | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/net-p2p/ctcs/Makefile b/net-p2p/ctcs/Makefile index 7c199ad2341f..150dea104f20 100644 --- a/net-p2p/ctcs/Makefile +++ b/net-p2p/ctcs/Makefile @@ -9,19 +9,18 @@ MASTER_SITES= SF/dtorrent/${PORTNAME}/${PORTVERSION} MAINTAINER= dereckson@gmail.com COMMENT= CTorrent monitoring and managing interface -NO_BUILD= # USES= perl5 USE_PERL5= run -PLIST_FILES= bin/ctcs share/doc/ctcs/readme.txt -PLIST_DIRS= share/doc/ctcs -WRKSRC= ${WRKDIR}/ctcs-${PORTVERSION} +NO_BUILD= # + +PORTDOCS= readme.txt +PLIST_FILES= bin/ctcs + +OPTIONS_DEFINE= DOCS -NO_STAGE= yes do-install: - ${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 0755 \ - ${WRKSRC}/ctcs ${PREFIX}/bin/ctcs - ${MKDIR} ${PREFIX}/share/doc/ctcs - ${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 0644 \ - ${WRKSRC}/readme.txt ${PREFIX}/share/doc/ctcs/readme.txt + ${INSTALL_DATA} ${WRKSRC}/ctcs ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |