summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2016-01-03 15:08:50 +0000
committermiwi <miwi@FreeBSD.org>2016-01-03 15:08:50 +0000
commit3c3ec63a4bc4878488ac68a23490afc809a67eec (patch)
treeef288e1307a1d4452fbe066e6444eb67beb534e9
parent9621c52f505a68c4e27af2d6f4ed99d5949507b6 (diff)
downloadFreeBSD-ports-3c3ec63a4bc4878488ac68a23490afc809a67eec.zip
FreeBSD-ports-3c3ec63a4bc4878488ac68a23490afc809a67eec.tar.gz
- Convert to options helper
-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 941eada..d162776 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}
OpenPOWER on IntegriCloud