aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-ming
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-02-15 07:49:03 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-02-15 07:49:03 +0000
commit1ca4f076e55a30b38cb39c1a29177c4ba893af7a (patch)
treeff5148dca4435bbacfb077f5822ed11912efc075 /graphics/py-ming
parente02e79b5b4e5f8316109f17448c983935c2f6b7f (diff)
downloadports-1ca4f076e55a30b38cb39c1a29177c4ba893af7a.tar.gz
ports-1ca4f076e55a30b38cb39c1a29177c4ba893af7a.zip
Notes
Diffstat (limited to 'graphics/py-ming')
-rw-r--r--graphics/py-ming/Makefile27
-rw-r--r--graphics/py-ming/distinfo2
-rw-r--r--graphics/py-ming/files/patch-Makefile.in8
-rw-r--r--graphics/py-ming/pkg-plist3
4 files changed, 20 insertions, 20 deletions
diff --git a/graphics/py-ming/Makefile b/graphics/py-ming/Makefile
index b8b43d36badb..d1e9b8332cc4 100644
--- a/graphics/py-ming/Makefile
+++ b/graphics/py-ming/Makefile
@@ -9,25 +9,26 @@ PORTNAME= ming
PORTREVISION= 0
CATEGORIES= graphics python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-PKGNAMESUFFIX=
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python module for Ming which allows you to create Flash 4/5 movies
-MASTERDIR= ${.CURDIR}/../../graphics/ming
+BUILD_WRKSRC= ${WRKSRC}/py_ext
+CONFIGURE_ARGS= --enable-python
+INSTALL_WRKSRC= ${WRKSRC}/py_ext
+PATCH_WRKSRC= ${WRKSRC}/py_ext
+PATCHDIR= ${.CURDIR}/files
PLIST= ${.CURDIR}/pkg-plist
-PLIST_SUB= PYTHON_VER=${PYTHON_VER}
-INSTALL_WRKSRC= ${WRKSRC}/py_ext
USE_PYTHON= yes
-#USE_PYDISTUTILS= yes
+USE_PYDISTUTILS= yes
+
+MASTERDIR= ${.CURDIR}/../../graphics/ming
+SLAVEPORT= py
PYDISTUTILS_PKGNAME= mingc
-PYDISTUTILS_PKGVERSION= 0.4.3
-CONFIGURE_ARGS+= --enable-python
-PATCHDIR= ${.CURDIR}/files
-SLAVE_PORT= py
+PYDISTUTILS_PKGVERSION= ${PORTVERSION}
-#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}/py_ext/setup.py
+ @${LN} -sf ${LOCALBASE}/include/ming ${WRKSRC}/src
.include "${MASTERDIR}/Makefile"
diff --git a/graphics/py-ming/distinfo b/graphics/py-ming/distinfo
deleted file mode 100644
index c454685fea8d..000000000000
--- a/graphics/py-ming/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (ming-py-0.3.0.tar.gz) = 507abbfa394bcbe22f3f8eee936b5f8048c957b2b7a2543cfacc00cf68a4c075
-SIZE (ming-py-0.3.0.tar.gz) = 35658
diff --git a/graphics/py-ming/files/patch-Makefile.in b/graphics/py-ming/files/patch-Makefile.in
index 1eacf2fe81f3..060ecad54405 100644
--- a/graphics/py-ming/files/patch-Makefile.in
+++ b/graphics/py-ming/files/patch-Makefile.in
@@ -1,10 +1,10 @@
---- 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 @@
+--- Makefile.in.orig 2011-10-26 15:30:21.000000000 +0800
++++ Makefile.in 2011-11-20 14:11:44.898221010 +0800
+@@ -414,7 +414,7 @@
rm -Rf test.swf build
install:
-- $(PYTHON) setup.py install --prefix $(prefix) --root "$(DESTDIR)"
+- $(PYTHON) setup.py install --prefix $(prefix) --root "/$(DESTDIR)"
+ $(PYTHON) setup.py install --prefix $(prefix)
test.swf:
diff --git a/graphics/py-ming/pkg-plist b/graphics/py-ming/pkg-plist
index 00506701e463..0b82d9107475 100644
--- a/graphics/py-ming/pkg-plist
+++ b/graphics/py-ming/pkg-plist
@@ -1,6 +1,7 @@
%%PYTHON_SITELIBDIR%%/_mingc.so
%%PYTHON_SITELIBDIR%%/ming.py
%%PYTHON_SITELIBDIR%%/ming.pyc
+%%PYTHON_SITELIBDIR%%/ming.pyo
%%PYTHON_SITELIBDIR%%/mingc.py
%%PYTHON_SITELIBDIR%%/mingc.pyc
-%%PYTHON_SITELIBDIR%%/mingc-0.4.3-py%%PYTHON_VER%%.egg-info
+%%PYTHON_SITELIBDIR%%/mingc.pyo