- Switch to options helpers

This commit is contained in:
Dmitry Marakasov 2016-01-04 06:42:18 +00:00
parent 6ecf038abe
commit fed27602c8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405214

View File

@ -15,8 +15,6 @@ MAKE_ARGS= CC="${CC}" FLAGS="${CFLAGS}"
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|cd src && make|make -C src|' \
${WRKSRC}/Makefile
@ -27,6 +25,8 @@ do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/samples/${i} ${STAGEDIR}${DATADIR}
.endfor
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/README ${STAGEDIR}${DOCSDIR}