aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-ming
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2011-08-08 09:59:04 +0800
committerswills <swills@FreeBSD.org>2011-08-08 09:59:04 +0800
commitb04e9cc51df5a02bd6b90bbe2810b00b6471d9b4 (patch)
tree45d953e233cd17481c78f874a7e36cd4881249bb /graphics/py-ming
parentd5f4a64c54efaed0331bed9d5ea4ecd3ad72e7fc (diff)
downloadfreebsd-ports-gnome-b04e9cc51df5a02bd6b90bbe2810b00b6471d9b4.tar.gz
freebsd-ports-gnome-b04e9cc51df5a02bd6b90bbe2810b00b6471d9b4.tar.zst
freebsd-ports-gnome-b04e9cc51df5a02bd6b90bbe2810b00b6471d9b4.zip
- Fix fetch
- Update to 0.4.3 - Convert to slave of graphics/ming
Diffstat (limited to 'graphics/py-ming')
-rw-r--r--graphics/py-ming/Makefile30
-rw-r--r--graphics/py-ming/files/patch-Makefile.in11
-rw-r--r--graphics/py-ming/pkg-plist3
3 files changed, 26 insertions, 18 deletions
diff --git a/graphics/py-ming/Makefile b/graphics/py-ming/Makefile
index ae68c3687156..1394d96d2f8e 100644
--- a/graphics/py-ming/Makefile
+++ b/graphics/py-ming/Makefile
@@ -6,29 +6,27 @@
#
PORTNAME= ming
-PORTVERSION= 0.3.0
-PORTREVISION= 2
+PORTREVISION= 0
CATEGORIES= graphics python
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= ${PORTNAME}-py-${PORTVERSION}
+PKGNAMESUFFIX=
MAINTAINER= ports@FreeBSD.org
COMMENT= Python module for Ming which allows you to create Flash 4/5 movies
-BROKEN= does not fetch
-
-LIB_DEPENDS= ming.4:${PORTSDIR}/graphics/ming
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/py_ext
-
+MASTERDIR= ${.CURDIR}/../../graphics/ming
+PLIST= ${.CURDIR}/pkg-plist
+INSTALL_WRKSRC= ${WRKSRC}/py_ext
USE_PYTHON= yes
-USE_PYDISTUTILS= yes
+#USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= mingc
-PYDISTUTILS_PKGVERSION= 0.0.3a
+PYDISTUTILS_PKGVERSION= 0.4.3
+CONFIGURE_ARGS+= --enable-python
+PATCHDIR= ${.CURDIR}/files
+SLAVE_PORT= py
-post-patch:
- @${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|g' ${WRKSRC}/setup.py
- @${LN} -sf ${LOCALBASE}/include/ming ${WRKSRC}/../src
+#post-patch:
+# @${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|g' ${WRKSRC}/setup.py
+# @${LN} -sf ${LOCALBASE}/include/ming ${WRKSRC}/../src
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/graphics/py-ming/files/patch-Makefile.in b/graphics/py-ming/files/patch-Makefile.in
new file mode 100644
index 000000000000..1eacf2fe81f3
--- /dev/null
+++ b/graphics/py-ming/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- py_ext/Makefile.in.orig 2011-08-08 01:43:02.000000000 +0000
++++ py_ext/Makefile.in 2011-08-08 01:43:09.000000000 +0000
+@@ -372,7 +372,7 @@
+ rm -Rf test.swf build
+
+ install:
+- $(PYTHON) setup.py install --prefix $(prefix) --root "$(DESTDIR)"
++ $(PYTHON) setup.py install --prefix $(prefix)
+
+ test.swf:
+ $(PYTHON) shape.py
diff --git a/graphics/py-ming/pkg-plist b/graphics/py-ming/pkg-plist
index cb96e6f544ad..98169b99b5c5 100644
--- a/graphics/py-ming/pkg-plist
+++ b/graphics/py-ming/pkg-plist
@@ -1,7 +1,6 @@
lib/%%PYTHON_VERSION%%/site-packages/_mingc.so
lib/%%PYTHON_VERSION%%/site-packages/ming.py
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
+lib/%%PYTHON_VERSION%%/site-packages/mingc-0.4.3-py2.7.egg-info