1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Switch to options helpers

- Silence stripping
This commit is contained in:
Dmitry Marakasov 2016-05-03 09:03:26 +00:00
parent 065e450000
commit daa1cf817e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=414521

View File

@ -19,8 +19,12 @@ USE_PYTHON= autoplist distutils
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS= README pcapy.html
OPTIONS_DEFINE= DOCS
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pcapy.so
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pcapy.so
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}