- Switch to options helpers

This commit is contained in:
Dmitry Marakasov 2015-12-16 02:02:18 +00:00
parent dcbefdc9cb
commit e6d97701e3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403833

View File

@ -21,16 +21,12 @@ PORTDOCS= NEWS README
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
# Setting ALL_TARGET to "all check" is racy and breaks parallel builds
post-build:
${MAKE} -C ${BUILD_WRKSRC} check
post-install:
.if ${PORT_OPTIONS:MDOCS}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>