summaryrefslogtreecommitdiff
path: root/print/py-rtf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/py-rtf/Makefile')
-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}