diff options
-rw-r--r-- | devel/py-optik/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/py-optik/Makefile b/devel/py-optik/Makefile index d85b98b62710..e892e8f1dfa2 100644 --- a/devel/py-optik/Makefile +++ b/devel/py-optik/Makefile @@ -10,18 +10,25 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Command-line parsing library for Python +LICENSE= BSD3CLAUSE + USES= python USE_PYTHON= distutils autoplist +NO_ARCH= yes DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} PORTDOCS= * PORTEXAMPLES= * -post-install: +OPTIONS_DEFINE= DOCS EXAMPLES + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/test ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/test/* ${STAGEDIR}${DOCSDIR}/test + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} |