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

William Grzybowski wg at FreeBSD.org
Fri Dec 27 17:41:28 UTC 2013


Author: wg
Date: Fri Dec 27 17:41:28 2013
New Revision: 337766
URL: http://svnweb.freebsd.org/changeset/ports/337766

Log:
  graphics/py-paint: support staging

Deleted:
  head/graphics/py-paint/pkg-plist
Modified:
  head/graphics/py-paint/Makefile

Modified: head/graphics/py-paint/Makefile
==============================================================================
--- head/graphics/py-paint/Makefile	Fri Dec 27 17:40:35 2013	(r337765)
+++ head/graphics/py-paint/Makefile	Fri Dec 27 17:41:28 2013	(r337766)
@@ -12,11 +12,12 @@ DISTNAME=	pypaint-${PORTVERSION}
 MAINTAINER=	ports at 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${LOCA
 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>


More information about the svn-ports-head mailing list