- Support staging
- Define DOCS option
This commit is contained in:
parent
61c0dd3c24
commit
9bc9a1ea1e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348091
1 changed files with 5 additions and 6 deletions
|
@ -16,12 +16,11 @@ WRKSRC= ${WRKDIR}/${PORTNAME}_0.7
|
|||
PLIST_FILES= bin/visitors
|
||||
PORTDOCS= doc.html
|
||||
|
||||
NO_STAGE= yes
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/visitors ${PREFIX}/bin
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
|
||||
.endif
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/visitors ${STAGEDIR}${PREFIX}/bin
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue