Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 17:41:28 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337766 - head/graphics/py-paint
Message-ID:  <201312271741.rBRHfSDL043215@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312271741.rBRHfSDL043215>