Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2006 01:00:18 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/96006: Update port: graphics/py-ming to 0.3.0
Message-ID:  <20060419010018.6afd2e73.tkato432@yahoo.com>
Resent-Message-ID: <200604181610.k3IGAGG7061415@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <bsd.port.mk>
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060419010018.6afd2e73.tkato432>