1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Support staging

- Define DOCS option
- Drop superfluous WRKSRC definition
This commit is contained in:
Emanuel Haupt 2014-03-14 08:59:17 +00:00
parent 7603abd626
commit 1cf648721d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348184

View File

@ -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>