- Switch to options helpers

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-12-08 18:51:21 +00:00
parent 6e13b7458a
commit b60bc14888
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403336

View File

@ -20,14 +20,10 @@ PORTDOCS= AUTHORS BUGS ChangeLog NEWS README TO-DO
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for I in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/$I ${STAGEDIR}${DOCSDIR}/
.endfor
.endif
.include <bsd.port.mk>