summaryrefslogtreecommitdiff
path: root/print/py-rtf
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2016-01-07 11:13:35 +0000
committerMartin Wilke <miwi@FreeBSD.org>2016-01-07 11:13:35 +0000
commit49e1c7e04dad2d4528c7b6e15be306eabc86456e (patch)
treed22f3f5df80171bbb55612ddecc3a5b8747fd91c /print/py-rtf
parent- Convert to options helper (diff)
- Add LICENSE
- Convert to options helper - Add NO_ARCH
Notes
Notes: svn path=/head/; revision=405419
Diffstat (limited to 'print/py-rtf')
-rw-r--r--print/py-rtf/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/print/py-rtf/Makefile b/print/py-rtf/Makefile
index 542c8df2c96d..41c67c4b56be 100644
--- a/print/py-rtf/Makefile
+++ b/print/py-rtf/Makefile
@@ -11,13 +11,17 @@ DISTNAME= PyRTF-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Library to create RTF documents using the Python language
+LICENSE= GPLv1
+
USES= python
-USE_PYTHON= distutils autoplist
+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}