aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-02-21 14:10:26 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-02-21 14:10:26 +0000
commit5a99600b60dfee98e5938fcdfdb684537b377a29 (patch)
treec136edc7a7f86e15a702ab850861f1095852ef6b /graphics
parentd917feac539376bad9d2a8ff046e95bb65faced1 (diff)
downloadports-5a99600b60dfee98e5938fcdfdb684537b377a29.tar.gz
ports-5a99600b60dfee98e5938fcdfdb684537b377a29.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-ming/Makefile6
-rw-r--r--graphics/py-ming/files/patch-Makefile.in11
2 files changed, 1 insertions, 16 deletions
diff --git a/graphics/py-ming/Makefile b/graphics/py-ming/Makefile
index d1e9b8332cc4..e529ea326c98 100644
--- a/graphics/py-ming/Makefile
+++ b/graphics/py-ming/Makefile
@@ -19,7 +19,7 @@ INSTALL_WRKSRC= ${WRKSRC}/py_ext
PATCH_WRKSRC= ${WRKSRC}/py_ext
PATCHDIR= ${.CURDIR}/files
PLIST= ${.CURDIR}/pkg-plist
-USE_PYTHON= yes
+USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
MASTERDIR= ${.CURDIR}/../../graphics/ming
@@ -27,8 +27,4 @@ SLAVEPORT= py
PYDISTUTILS_PKGNAME= mingc
PYDISTUTILS_PKGVERSION= ${PORTVERSION}
-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/files/patch-Makefile.in b/graphics/py-ming/files/patch-Makefile.in
deleted file mode 100644
index 060ecad54405..000000000000
--- a/graphics/py-ming/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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)
-
- test.swf:
- $(PYTHON) shape.py