Date: Wed, 4 Aug 2004 21:32:54 +0800 (CST) From: Ying-Chieh Liao <ijliao@FreeBSD.csie.NCTU.edu.tw> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/70000: upgrade ports/graphics/py-paint to 0.3 Message-ID: <20040804133254.9B246106BF3@FreeBSD.csie.NCTU.edu.tw> Resent-Message-ID: <200408041340.i74DeKqi059389@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 70000 >Category: ports >Synopsis: upgrade ports/graphics/py-paint to 0.3 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Aug 04 13:40:20 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Ying-Chieh Liao >Release: FreeBSD 4.10-STABLE i386 >Organization: NCTU CSIE >Environment: System: FreeBSD FreeBSD.csie.NCTU.edu.tw 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat May 29 08:18:00 CST 2004 root@FreeBSD.csie.NCTU.edu.tw:/home/usr.obj/big/freebsd/pub/branches/4.0-stable/src/sys/FREEBSD i386 >Description: >How-To-Repeat: >Fix: --- py-paint.patch begins here --- Index: py-paint/Makefile =================================================================== RCS file: /home/pcvs/ports/graphics/py-paint/Makefile,v retrieving revision 1.14 diff -u -r1.14 Makefile --- py-paint/Makefile 25 Feb 2003 06:25:31 -0000 1.14 +++ py-paint/Makefile 4 Aug 2004 04:03:57 -0000 @@ -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> Index: py-paint/distinfo =================================================================== RCS file: /home/pcvs/ports/graphics/py-paint/distinfo,v retrieving revision 1.3 diff -u -r1.3 distinfo --- py-paint/distinfo 18 Mar 2004 07:38:43 -0000 1.3 +++ py-paint/distinfo 4 Aug 2004 04:03:57 -0000 @@ -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 Index: py-paint/pkg-plist =================================================================== RCS file: /home/pcvs/ports/graphics/py-paint/pkg-plist,v retrieving revision 1.1 diff -u -r1.1 pkg-plist --- py-paint/pkg-plist 8 Jul 2001 16:47:10 -0000 1.1 +++ py-paint/pkg-plist 4 Aug 2004 04:03:57 -0000 @@ -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%% --- py-paint.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040804133254.9B246106BF3>