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