diff options
author | perky <perky@FreeBSD.org> | 2004-08-08 20:31:47 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2004-08-08 20:31:47 +0800 |
commit | 98986aa3cea539c73a30d7c35f9e6157dc11f557 (patch) | |
tree | 8683fc9df3724ef4106f514a16a2508c212200fe /graphics | |
parent | 1bd14984e351c3c38fb8c0b60826bb2cf54a16bf (diff) | |
download | freebsd-ports-gnome-98986aa3cea539c73a30d7c35f9e6157dc11f557.tar.gz freebsd-ports-gnome-98986aa3cea539c73a30d7c35f9e6157dc11f557.tar.zst freebsd-ports-gnome-98986aa3cea539c73a30d7c35f9e6157dc11f557.zip |
Update to 0.3
PR: 70000 (!)
Submitted by: ijliao
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/py-paint/Makefile | 38 | ||||
-rw-r--r-- | graphics/py-paint/distinfo | 4 | ||||
-rw-r--r-- | graphics/py-paint/pkg-plist | 8 |
3 files changed, 22 insertions, 28 deletions
diff --git a/graphics/py-paint/Makefile b/graphics/py-paint/Makefile index 5a13d21442e4..fd0b5b0e31bc 100644 --- a/graphics/py-paint/Makefile +++ b/graphics/py-paint/Makefile @@ -6,42 +6,36 @@ # PORTNAME= paint -PORTVERSION= 0.2 +PORTVERSION= 0.3 CATEGORIES= graphics python -MASTER_SITES= http://object-craft.com.au/projects/paint/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= pypaint PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pypaint-${PORTVERSION} MAINTAINER= perky@FreeBSD.org COMMENT= Simple and flexible painting adaptor to libart for Python -BUILD_DEPENDS= ${PYDISTUTILS} -LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ - art_lgpl.5:${PORTSDIR}/graphics/libart +LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png -USE_FREETYPE= yes +USE_REINPLACE= yes USE_PYTHON= yes USE_PYDISTUTILS= yes -USE_REINPLACE= yes -PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,^${LOCALBASE}/,,g} \ - SHARE_SUBDIR=${SHARE_SUBDIR} -SHARE_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME} - -INC_DIRS= ["${LOCALBASE}/include/freetype1","${LOCALBASE}/include", \ - "${X11BASE}/include","${LOCALBASE}/include/freetype1/freetype"] -LIB_DIRS= ["${LOCALBASE}/lib","${X11BASE}/lib"] -TMPSUFFIX= .temp -EXAMPLES= test_bar.py test_paint.py testpie.py +USE_FREETYPE= yes +USE_GNOME= libartlgpl2 +NO_WRKSUBDIR= yes +CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libart-2.0 -I${LOCALBASE}/include/freetype1 +MAKE_ENV= LDFLAGS="-L${LOCALBASE}/lib" -.include <bsd.port.pre.mk> +EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} post-patch: - ${REINPLACE_CMD} -e 's@^\(.*libraries.*\)$$@\1include_dirs=${INC_DIRS},\ - library_dirs=${LIB_DIRS},@g' ${WRKSRC}/setup.py + @${REINPLACE_CMD} -e "s,art_lgpl,art_lgpl_2," ${WRKSRC}/setup.py .if !defined(NOPORTDOCS) post-install: - ${MKDIR} ${PREFIX}/share/examples/${SHARE_SUBDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${PREFIX}/share/examples/${SHARE_SUBDIR} + @${MKDIR} ${EXAMPLESDIR} + ${CP} ${WRKSRC}/test* ${EXAMPLESDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/py-paint/distinfo b/graphics/py-paint/distinfo index 5b71d232dc04..2d28d959eaea 100644 --- a/graphics/py-paint/distinfo +++ b/graphics/py-paint/distinfo @@ -1,2 +1,2 @@ -MD5 (paint-0.2.tar.gz) = 26cde298ddad845e3fb2c474b43219ad -SIZE (paint-0.2.tar.gz) = 15156 +MD5 (pypaint-0.3.tar.gz) = b100930b6f6031de594cf249fb2c0af7 +SIZE (pypaint-0.3.tar.gz) = 17266 diff --git a/graphics/py-paint/pkg-plist b/graphics/py-paint/pkg-plist index c6b01fa807aa..7043947e266d 100644 --- a/graphics/py-paint/pkg-plist +++ b/graphics/py-paint/pkg-plist @@ -1,5 +1,5 @@ %%PYTHON_SITELIBDIR%%/paint.so -%%PORTDOCS%%share/examples/%%SHARE_SUBDIR%%/test_bar.py -%%PORTDOCS%%share/examples/%%SHARE_SUBDIR%%/test_paint.py -%%PORTDOCS%%share/examples/%%SHARE_SUBDIR%%/testpie.py -%%PORTDOCS%%@dirrm share/examples/%%SHARE_SUBDIR%% +%%PORTDOCS%%%%EXAMPLESDIR%%/test_bar.py +%%PORTDOCS%%%%EXAMPLESDIR%%/test_paint.py +%%PORTDOCS%%%%EXAMPLESDIR%%/testpie.py +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% |