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:
Juergen Lock 2014-01-30 19:36:27 +00:00
parent b8689d95f0
commit acabab3a0a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341876

View File

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