svn commit: r405161 - head/graphics/py-paint

Martin Wilke miwi at FreeBSD.org
Sun Jan 3 15:08:52 UTC 2016


Author: miwi
Date: Sun Jan  3 15:08:50 2016
New Revision: 405161
URL: https://svnweb.freebsd.org/changeset/ports/405161

Log:
  - Convert to options helper

Modified:
  head/graphics/py-paint/Makefile

Modified: head/graphics/py-paint/Makefile
==============================================================================
--- head/graphics/py-paint/Makefile	Sun Jan  3 15:01:26 2016	(r405160)
+++ head/graphics/py-paint/Makefile	Sun Jan  3 15:08:50 2016	(r405161)
@@ -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}
 


More information about the svn-ports-head mailing list