aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-ming
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2011-08-08 01:59:04 +0000
committerSteve Wills <swills@FreeBSD.org>2011-08-08 01:59:04 +0000
commit18fa0b9e3aac478e79bc1ac4d15d191e08c43954 (patch)
tree038bbe95e238ea01dd0e905eae5ad201cd8a72ba /graphics/py-ming
parentfb191ae2ab3ad3ba2649172c891166c0ac5d06ea (diff)
downloadports-18fa0b9e3aac478e79bc1ac4d15d191e08c43954.tar.gz
ports-18fa0b9e3aac478e79bc1ac4d15d191e08c43954.zip
Notes
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