Switch to options helper

This commit is contained in:
Pawel Pekala 2015-12-11 23:08:23 +00:00
parent a8ac785de5
commit 7737a9434c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403573

View File

@ -21,10 +21,12 @@ NO_BUILD= yes
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${FONTSDIR}
cd ${WRKSRC} && \
${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTSDIR}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>