aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2016-01-07 19:13:35 +0800
committermiwi <miwi@FreeBSD.org>2016-01-07 19:13:35 +0800
commit78dd50129bb43aac0a9735a0bcf565bf701475d8 (patch)
treed22f3f5df80171bbb55612ddecc3a5b8747fd91c /print
parentb34f0e5db3fbe5755d321f93ba96dd97e2291133 (diff)
downloadfreebsd-ports-gnome-78dd50129bb43aac0a9735a0bcf565bf701475d8.tar.gz
freebsd-ports-gnome-78dd50129bb43aac0a9735a0bcf565bf701475d8.tar.zst
freebsd-ports-gnome-78dd50129bb43aac0a9735a0bcf565bf701475d8.zip
- Add LICENSE
- Convert to options helper - Add NO_ARCH
Diffstat (limited to 'print')
-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}