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:
parent
7603abd626
commit
1cf648721d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348184
@ -9,19 +9,18 @@ MASTER_SITES= SF/dtorrent/${PORTNAME}/${PORTVERSION}
|
|||||||
MAINTAINER= dereckson@gmail.com
|
MAINTAINER= dereckson@gmail.com
|
||||||
COMMENT= CTorrent monitoring and managing interface
|
COMMENT= CTorrent monitoring and managing interface
|
||||||
|
|
||||||
NO_BUILD= #
|
|
||||||
USES= perl5
|
USES= perl5
|
||||||
USE_PERL5= run
|
USE_PERL5= run
|
||||||
PLIST_FILES= bin/ctcs share/doc/ctcs/readme.txt
|
NO_BUILD= #
|
||||||
PLIST_DIRS= share/doc/ctcs
|
|
||||||
WRKSRC= ${WRKDIR}/ctcs-${PORTVERSION}
|
PORTDOCS= readme.txt
|
||||||
|
PLIST_FILES= bin/ctcs
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 0755 \
|
${INSTALL_DATA} ${WRKSRC}/ctcs ${STAGEDIR}${PREFIX}/bin
|
||||||
${WRKSRC}/ctcs ${PREFIX}/bin/ctcs
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${MKDIR} ${PREFIX}/share/doc/ctcs
|
${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 0644 \
|
|
||||||
${WRKSRC}/readme.txt ${PREFIX}/share/doc/ctcs/readme.txt
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user