Index: head/graphics/py-ming/files/patch-Makefile =================================================================== --- head/graphics/py-ming/files/patch-Makefile (revision 159897) +++ head/graphics/py-ming/files/patch-Makefile (nonexistent) @@ -1,35 +0,0 @@ ---- Makefile.orig Sat Aug 18 02:05:55 2001 -+++ Makefile Tue Sep 18 14:44:34 2001 -@@ -1,13 +1,13 @@ --PYINCDIR = /usr/local/include/python2.0 --PYLIBDIR = /usr/local/lib/python2.0 -+PYINCDIR = ${LOCALBASE}/include/${PYTHON_VERSION} -+PYLIBDIR = ${LOCALBASE}/lib/${PYTHON_VERSION} - - #PYINCDIR = /usr/include/python1.5 - #PYLIBDIR = /usr/lib/python1.5 - --all: -+all: mingcmodule.so - - mingcmodule.so: ming_wrap.o -- gcc -g -Wall -shared -o mingcmodule.so ming_wrap.o -lming -+ ${CC} -g -Wall -shared -o mingcmodule.so ming_wrap.o -L${LOCALBASE}/lib -lming - - mingc.pyd: ming_wrap.o - dllwrap --dllname mingc.pyd --driver-name gcc --def mingc.def \ -@@ -15,7 +15,7 @@ - --target=i386-mingw32 -Llib/ -lpython15 - - ming_wrap.o: ming_wrap.c -- gcc -g -Wall -I .. -I ${PYINCDIR} -fpic -c ming_wrap.c -+ ${CC} ${CFLAGS} -g -Wall -I .. -I ${PYINCDIR} -fpic -c ming_wrap.c - - ../libming.a: - cd ..; make static -@@ -27,4 +27,4 @@ - rm -f mingcmodule.so core *~ *.o ming.pyc - - install: -- cp mingcmodule.so ming.py ${PYLIBDIR}/site-packages -+ ${BSD_INSTALL_DATA} mingcmodule.so ming.py ${PYLIBDIR}/site-packages Property changes on: head/graphics/py-ming/files/patch-Makefile ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.6 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/graphics/py-ming/Makefile =================================================================== --- head/graphics/py-ming/Makefile (revision 159897) +++ head/graphics/py-ming/Makefile (revision 159898) @@ -1,51 +1,30 @@ # New ports collection makefile for: Python/Ming # Date created: 16 Oct 2000 # Whom: Akinori MUSHA aka knu # # $FreeBSD$ # PORTNAME= ming -PORTVERSION= 0.2a +PORTVERSION= 0.3.0 CATEGORIES= graphics python -MASTER_SITES= # none +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTFILES= # none +DISTNAME= ${PORTNAME}-py-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Python module for Ming which allows you to create Flash 4/5 movies -EXTRACT_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/graphics/ming:patch -LIB_DEPENDS= ming.3:${PORTSDIR}/graphics/ming +LIB_DEPENDS= ming.4:${PORTSDIR}/graphics/ming +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/py_ext + USE_PYTHON= yes -USE_PERL5_BUILD=yes +USE_PYDISTUTILS= yes -MD5_FILE= ${.CURDIR}/../ming/distinfo - -WRKSRC= ${WRKDIR}/${DISTNAME}/py_ext -MAKE_ARGS= PYTHON_VERSION="${PYTHON_VERSION}" - -EXAMPLES= ../examples/python/*.py - -do-extract: - ${MKDIR} ${WRKDIR} - ${LN} -s `cd ${PORTSDIR}/graphics/ming && ${MAKE} -V WRKDIR`/* ${WRKDIR}/ - -post-extract: - ${LN} -sf ../ming.i ${WRKSRC}/ - post-patch: - ${PERL} -i -p \ - -e 's:\.\./common:../../ming/common:g;' \ - ${WRKSRC}/../examples/python/* - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/examples/${PYTHON_VERSION}/ming -.for f in ${EXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/examples/${PYTHON_VERSION}/ming/ -.endfor -.endif + @${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|g' ${WRKSRC}/setup.py + @${LN} -sf ${LOCALBASE}/include/ming ${WRKSRC}/../src .include Property changes on: head/graphics/py-ming/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.14 \ No newline at end of property +1.15 \ No newline at end of property Index: head/graphics/py-ming/distinfo =================================================================== --- head/graphics/py-ming/distinfo (nonexistent) +++ head/graphics/py-ming/distinfo (revision 159898) @@ -0,0 +1,3 @@ +MD5 (ming-py-0.3.0.tar.gz) = 96d3f42f13d020d907287a640b39ec46 +SHA256 (ming-py-0.3.0.tar.gz) = 507abbfa394bcbe22f3f8eee936b5f8048c957b2b7a2543cfacc00cf68a4c075 +SIZE (ming-py-0.3.0.tar.gz) = 35658 Property changes on: head/graphics/py-ming/distinfo ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/graphics/py-ming/pkg-plist =================================================================== --- head/graphics/py-ming/pkg-plist (revision 159897) +++ head/graphics/py-ming/pkg-plist (revision 159898) @@ -1,25 +1,7 @@ -lib/%%PYTHON_VERSION%%/site-packages/mingcmodule.so +lib/%%PYTHON_VERSION%%/site-packages/_mingc.so lib/%%PYTHON_VERSION%%/site-packages/ming.py -%%PORTDOCS%%share/examples/%%PYTHON_VERSION%%/ming/action.py -%%PORTDOCS%%share/examples/%%PYTHON_VERSION%%/ming/alphafill.py -%%PORTDOCS%%share/examples/%%PYTHON_VERSION%%/ming/animation.py -%%PORTDOCS%%share/examples/%%PYTHON_VERSION%%/ming/bitmapxform.py -%%PORTDOCS%%share/examples/%%PYTHON_VERSION%%/ming/button.py -%%PORTDOCS%%share/examples/%%PYTHON_VERSION%%/ming/cxform.py -%%PORTDOCS%%share/examples/%%PYTHON_VERSION%%/ming/drag.py -%%PORTDOCS%%share/examples/%%PYTHON_VERSION%%/ming/glyph.py -%%PORTDOCS%%share/examples/%%PYTHON_VERSION%%/ming/gradient.py -%%PORTDOCS%%share/examples/%%PYTHON_VERSION%%/ming/gradientxform.py -%%PORTDOCS%%share/examples/%%PYTHON_VERSION%%/ming/jpegfill.py -%%PORTDOCS%%share/examples/%%PYTHON_VERSION%%/ming/keypress.py -%%PORTDOCS%%share/examples/%%PYTHON_VERSION%%/ming/morph.py -%%PORTDOCS%%share/examples/%%PYTHON_VERSION%%/ming/mousetrack.py -%%PORTDOCS%%share/examples/%%PYTHON_VERSION%%/ming/newbutton.py -%%PORTDOCS%%share/examples/%%PYTHON_VERSION%%/ming/png.py -%%PORTDOCS%%share/examples/%%PYTHON_VERSION%%/ming/pngalpha.py -%%PORTDOCS%%share/examples/%%PYTHON_VERSION%%/ming/shape.py -%%PORTDOCS%%share/examples/%%PYTHON_VERSION%%/ming/sprite.py -%%PORTDOCS%%share/examples/%%PYTHON_VERSION%%/ming/streammp3.py -%%PORTDOCS%%share/examples/%%PYTHON_VERSION%%/ming/text.py -%%PORTDOCS%%@dirrm share/examples/%%PYTHON_VERSION%%/ming -%%PORTDOCS%%@unexec rmdir %D/share/examples/%%PYTHON_VERSION%% 2>/dev/null || true +lib/%%PYTHON_VERSION%%/site-packages/ming.pyc +lib/%%PYTHON_VERSION%%/site-packages/ming.pyo +lib/%%PYTHON_VERSION%%/site-packages/mingc.py +lib/%%PYTHON_VERSION%%/site-packages/mingc.pyc +lib/%%PYTHON_VERSION%%/site-packages/mingc.pyo Property changes on: head/graphics/py-ming/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property