- Convert to options helper

This commit is contained in:
Martin Wilke 2016-01-03 14:34:33 +00:00
parent 027ec6cc5c
commit 4bcaa15022
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405155

View file

@ -16,6 +16,8 @@ COMMENT= Graph and set datatypes for Python (C extension)
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/../COPYRIGHT.txt
OPTIONS_DEFINE= DOCS EXAMPLES
USES= python
USE_PYTHON= distutils autoplist
WRKSRC= ${WRKDIR}/${DISTNAME}/kjbuckets
@ -25,9 +27,11 @@ PORTEXAMPLES= *
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/kjbuckets.so
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/../COPYRIGHT.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/../doc/kjbuckets.txt ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/../doc/demo/kjbuckets/*.py ${STAGEDIR}${EXAMPLESDIR}