From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Apr 18 16:10:22 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0F7416A406 for ; Tue, 18 Apr 2006 16:10:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BD7643D5E for ; Tue, 18 Apr 2006 16:10:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3IGAGgC061416 for ; Tue, 18 Apr 2006 16:10:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3IGAGG7061415; Tue, 18 Apr 2006 16:10:16 GMT (envelope-from gnats) Resent-Date: Tue, 18 Apr 2006 16:10:16 GMT Resent-Message-Id: <200604181610.k3IGAGG7061415@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA13E16A403 for ; Tue, 18 Apr 2006 16:01:10 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from nm05omta053.dion.ne.jp (nm05mta.dion.ne.jp [219.125.112.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 5AED143D49 for ; Tue, 18 Apr 2006 16:01:10 +0000 (GMT) (envelope-from tkato432@yahoo.com) Received: from localhost ([218.222.52.144]) by nm05mta.dion.ne.jp id <20060419010106598.MA31.8739840@nm05mta.dion.ne.jp>; Wed, 19 Apr 2006 01:01:06 +0900 Message-Id: <20060419010018.6afd2e73.tkato432@yahoo.com> Date: Wed, 19 Apr 2006 01:00:18 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/96006: Update port: graphics/py-ming to 0.3.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Apr 2006 16:10:22 -0000 >Number: 96006 >Category: ports >Synopsis: Update port: graphics/py-ming to 0.3.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Apr 18 16:10:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.11-RELEASE-p15 i386 >Organization: >Environment: >Description: - Update to version 0.3.0 New file: distinfo Remove file: files/patch-Makefile >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/py-ming/Makefile graphics/py-ming/Makefile --- /usr/ports/graphics/py-ming/Makefile Fri Nov 11 13:36:50 2005 +++ graphics/py-ming/Makefile Tue Apr 18 00:27:34 2006 @@ -6,46 +6,25 @@ # 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 -USE_PYTHON= yes -USE_PERL5_BUILD=yes - -MD5_FILE= ${.CURDIR}/../ming/distinfo - -WRKSRC= ${WRKDIR}/${DISTNAME}/py_ext -MAKE_ARGS= PYTHON_VERSION="${PYTHON_VERSION}" - -EXAMPLES= ../examples/python/*.py +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/py_ext -do-extract: - ${MKDIR} ${WRKDIR} - ${LN} -s `cd ${PORTSDIR}/graphics/ming && ${MAKE} -V WRKDIR`/* ${WRKDIR}/ - -post-extract: - ${LN} -sf ../ming.i ${WRKSRC}/ +USE_PYTHON= yes +USE_PYDISTUTILS= yes 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 diff -urN /usr/ports/graphics/py-ming/distinfo graphics/py-ming/distinfo --- /usr/ports/graphics/py-ming/distinfo Thu Jan 1 09:00:00 1970 +++ graphics/py-ming/distinfo Tue Apr 18 00:16:10 2006 @@ -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 diff -urN /usr/ports/graphics/py-ming/files/patch-Makefile graphics/py-ming/files/patch-Makefile --- /usr/ports/graphics/py-ming/files/patch-Makefile Tue Sep 18 14:57:17 2001 +++ graphics/py-ming/files/patch-Makefile Thu Jan 1 09:00:00 1970 @@ -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 diff -urN /usr/ports/graphics/py-ming/pkg-plist graphics/py-ming/pkg-plist --- /usr/ports/graphics/py-ming/pkg-plist Tue Sep 18 15:33:40 2001 +++ graphics/py-ming/pkg-plist Tue Apr 18 00:35:11 2006 @@ -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 >Release-Note: >Audit-Trail: >Unformatted: