- Add LICENSE

- Convert to options helper
- Add NO_ARCH
This commit is contained in:
Martin Wilke
2016-01-07 11:13:35 +00:00
parent 7f1a4ed11b
commit 49e1c7e04d

View File

@@ -11,13 +11,17 @@ DISTNAME= PyRTF-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Library to create RTF documents using the Python language
USES= python
USE_PYTHON= distutils autoplist
LICENSE= GPLv1
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
EXAMPLESDIR= ${PREFIX}/share/examples/py-rtf
PORTEXAMPLES= *
post-install:
OPTIONS_DEFINE= EXAMPLES
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}