Index: head/graphics/py-paint/files/optpatch-aa =================================================================== --- head/graphics/py-paint/files/optpatch-aa (revision 58537) +++ head/graphics/py-paint/files/optpatch-aa (nonexistent) @@ -1,12 +0,0 @@ ---- paint.h.orig Thu May 10 10:12:07 2001 -+++ paint.h Mon Jul 9 00:01:22 2001 -@@ -39,6 +39,9 @@ - #include - - #include "Python.h" -+#define Py_Malloc(n) PyMem_Malloc(n) -+#define Py_Realloc(p, n) PyMem_Realloc((p), (n)) -+#define Py_Free(p) PyMem_Free(p) - - typedef struct { - PyObject_HEAD Property changes on: head/graphics/py-paint/files/optpatch-aa ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/graphics/py-paint/Makefile =================================================================== --- head/graphics/py-paint/Makefile (revision 58537) +++ head/graphics/py-paint/Makefile (revision 58538) @@ -1,53 +1,44 @@ # New ports collection makefile for: py-paint # Date created: 8 July 2001 # Whom: Hye-Shik Chang # # $FreeBSD$ # PORTNAME= paint -PORTVERSION= 0.1 +PORTVERSION= 0.2 CATEGORIES= graphics python MASTER_SITES= http://object-craft.com.au/projects/paint/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= perky@fallin.lv BUILD_DEPENDS= ${PYDISTUTILS} LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ art_lgpl.5:${PORTSDIR}/graphics/libart USE_FREETYPE= yes USE_PYTHON= yes USE_PYDISTUTILS= yes PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,^${LOCALBASE}/,,g} \ SHARE_SUBDIR=${SHARE_SUBDIR} -WRKSRC= ${WRKDIR}/${PORTNAME} SHARE_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME} INC_DIRS= ["${LOCALBASE}/include/freetype1","${LOCALBASE}/include","${X11BASE}/include","${LOCALBASE}/include/freetype1/freetype"] LIB_DIRS= ["${LOCALBASE}/lib","${X11BASE}/lib"] -REPATCH= cd ${WRKSRC} && ${SED} -REPATCHSUBST= -e 's@^\(.*libraries.*\)$$@\1include_dirs=${INC_DIRS},library_dirs=${LIB_DIRS},@g' -REPATCHFILES= setup.py TMPSUFFIX= .temp EXAMPLES= test_bar.py test_paint.py testpie.py .include post-patch: -.if ${PYTHON_REL} >= 160 - cd ${WRKSRC} && ${PATCH} -s <${PATCHDIR}/optpatch-aa -.endif -.for file in ${REPATCHFILES} - ${REPATCH} ${REPATCHSUBST} ${file} > ${file}${TMPSUFFIX} && \ - ${CAT} ${file}${TMPSUFFIX} > ${file} -.endfor + ${PERL} -pi -e 's@^(.*libraries.*)$$@\1include_dirs=${INC_DIRS},library_dirs=${LIB_DIRS},@g' \ + ${WRKSRC}/setup.py .if !defined(NOPORTDOCS) post-install: ${MKDIR} ${PREFIX}/share/examples/${SHARE_SUBDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${PREFIX}/share/examples/${SHARE_SUBDIR} .endif .include Property changes on: head/graphics/py-paint/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.8 \ No newline at end of property +1.9 \ No newline at end of property Index: head/graphics/py-paint/distinfo =================================================================== --- head/graphics/py-paint/distinfo (revision 58537) +++ head/graphics/py-paint/distinfo (revision 58538) @@ -1 +1 @@ -MD5 (paint-0.1.tar.gz) = 0021c2e7bbbe82ba2f31e44192b1abfb +MD5 (paint-0.2.tar.gz) = 26cde298ddad845e3fb2c474b43219ad Property changes on: head/graphics/py-paint/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property