aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-paint
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2016-01-03 23:08:50 +0800
committermiwi <miwi@FreeBSD.org>2016-01-03 23:08:50 +0800
commit6b139d54735e2ee3cbe75d5a534a8020c70cfb73 (patch)
treeef288e1307a1d4452fbe066e6444eb67beb534e9 /graphics/py-paint
parent09a3f5b41a058b27d2f18b52e0cb4112903c666f (diff)
downloadfreebsd-ports-gnome-6b139d54735e2ee3cbe75d5a534a8020c70cfb73.tar.gz
freebsd-ports-gnome-6b139d54735e2ee3cbe75d5a534a8020c70cfb73.tar.zst
freebsd-ports-gnome-6b139d54735e2ee3cbe75d5a534a8020c70cfb73.zip
- Convert to options helper
Diffstat (limited to 'graphics/py-paint')
-rw-r--r--graphics/py-paint/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/py-paint/Makefile b/graphics/py-paint/Makefile
index 941eadae4d44..d162776fba66 100644
--- a/graphics/py-paint/Makefile
+++ b/graphics/py-paint/Makefile
@@ -18,6 +18,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \
libttf.so:${PORTSDIR}/print/freetype
+OPTIONS_DEFINE= EXAMPLES
+
USES= python
USE_PYTHON= distutils autoplist
USE_GNOME= libartlgpl2
@@ -34,6 +36,7 @@ post-patch:
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/paint.so
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${CP} ${WRKSRC}/test* ${STAGEDIR}${EXAMPLESDIR}