mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
- Support staging
- Use shebangfix - Define DOCS option
This commit is contained in:
parent
37f4a7159a
commit
c02e789d7e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348667
@ -17,20 +17,18 @@ RUN_DEPENDS= p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey \
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
USES= perl5
|
||||
USES= perl5 shebangfix
|
||||
NO_BUILD= yes
|
||||
|
||||
PLIST_FILES= bin/mysqlidxchk
|
||||
SHEBANG_FILES= mysqlidxchk
|
||||
PORTDOCS= mysqlidxchkdoc.html mysqlidxchkguide.html
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/mysqlidxchk ${PREFIX}/bin
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
||||
.endif
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/mysqlidxchk ${STAGEDIR}${PREFIX}/bin
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user