summaryrefslogtreecommitdiffstats
path: root/graphics/py-paint/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/py-paint/Makefile')
-rw-r--r--graphics/py-paint/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/graphics/py-paint/Makefile b/graphics/py-paint/Makefile
index 41a41a1..da11b89 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>
OpenPOWER on IntegriCloud