aboutsummaryrefslogtreecommitdiff
path: root/games/gnomesudoku
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-12-15 16:22:17 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-12-15 16:22:17 +0000
commit1e34739b64d384b87ee2c57027df596b464c79ab (patch)
tree528f950c491cb30f26166e5e23d4b77ad233a5ee /games/gnomesudoku
parent875909eef32afaae5809e1ed26797d44a2f7e2b1 (diff)
downloadports-1e34739b64d384b87ee2c57027df596b464c79ab.tar.gz
ports-1e34739b64d384b87ee2c57027df596b464c79ab.zip
Notes
Diffstat (limited to 'games/gnomesudoku')
-rw-r--r--games/gnomesudoku/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/gnomesudoku/Makefile b/games/gnomesudoku/Makefile
index d1e278835e99..ecc496dc5a2b 100644
--- a/games/gnomesudoku/Makefile
+++ b/games/gnomesudoku/Makefile
@@ -14,7 +14,7 @@ COMMENT= GNOME Sudoku game
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/py-numeric \
${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging
-USE_PYTHON= 2.5+
+USE_PYTHON= yes
USE_PYDISTUTILS=yes
USES= pathfix display
USE_GNOME= gnomeprefix pygnome2 pygnomedesktop
@@ -22,4 +22,10 @@ USE_GNOME= gnomeprefix pygnome2 pygnomedesktop
PYDISTUTILS_PKGNAME= gnome-sudoku
NO_STAGE= yes
+
+
+post-patch:
+ @${REINPLACE_CMD} \
+ -e 's,distutils\.command\.install ,setuptools\.command\.install ,' \
+ ${WRKSRC}/tools/gsudoku_distutils.py
.include <bsd.port.mk>