No need to check DOCS knob in do-install with staging - saves parsing
bsd.port.mk one time too many. Submitted by: mat
This commit is contained in:
parent
b8689d95f0
commit
acabab3a0a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341876
@ -23,13 +23,9 @@ WRKSRC= ${WRKDIR}/szap-s2-e34f73b254db
|
||||
PORTDOCS= README
|
||||
PLIST_FILES= bin/szap-s2
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
(cd ${WRKSRC} && ${INSTALL_PROGRAM} szap-s2 ${STAGEDIR}/${PREFIX}/bin)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user