diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-12-27 17:41:28 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-12-27 17:41:28 +0000 |
commit | 7eae74d82caa5a06d3c1538ea199ab9802370cad (patch) | |
tree | 836905f7465cfcab8cfee2b9457e101828f8397d /graphics | |
parent | 51d0ab59f6e7415cc3927fb4f98e48029150b222 (diff) |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/py-paint/Makefile | 14 | ||||
-rw-r--r-- | graphics/py-paint/pkg-plist | 5 |
2 files changed, 6 insertions, 13 deletions
diff --git a/graphics/py-paint/Makefile b/graphics/py-paint/Makefile index 41a41a1c2754..da11b89bc4be 100644 --- a/graphics/py-paint/Makefile +++ b/graphics/py-paint/Makefile @@ -12,11 +12,12 @@ DISTNAME= pypaint-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Simple and flexible painting adaptor to libart for Python -LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ - ttf:${PORTSDIR}/print/freetype +LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \ + libttf.so:${PORTSDIR}/print/freetype USE_PYTHON= yes USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes USE_GNOME= libartlgpl2 NO_WRKSUBDIR= yes CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libart-2.0 \ @@ -24,16 +25,13 @@ CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libart-2.0 \ LDFLAGS+= -L${LOCALBASE}/lib EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} +PORTEXAMPLES= * -NO_STAGE= yes -.include <bsd.port.options.mk> post-patch: @${REINPLACE_CMD} -e "s,art_lgpl,art_lgpl_2," ${WRKSRC}/setup.py -.if ${PORT_OPTIONS:MEXAMPLES} post-install: - @${MKDIR} ${EXAMPLESDIR} - ${CP} ${WRKSRC}/test* ${EXAMPLESDIR} -.endif + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${CP} ${WRKSRC}/test* ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> diff --git a/graphics/py-paint/pkg-plist b/graphics/py-paint/pkg-plist deleted file mode 100644 index b5e9f0decbf2..000000000000 --- a/graphics/py-paint/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -%%PYTHON_SITELIBDIR%%/paint.so -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_bar.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_paint.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testpie.py -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% |