aboutsummaryrefslogtreecommitdiffstats
path: root/games/childsplay
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2013-11-26 04:18:52 +0800
committermva <mva@FreeBSD.org>2013-11-26 04:18:52 +0800
commit11b7b21a1c124f7df693df8a5307a52ca5d704ef (patch)
tree1bd9d5f9794340ca4dd25a9af5473f17cdd02a9c /games/childsplay
parentf52a703189dfe45b6f39497a0f7c7e1d8b64b3dc (diff)
downloadfreebsd-ports-gnome-11b7b21a1c124f7df693df8a5307a52ca5d704ef.tar.gz
freebsd-ports-gnome-11b7b21a1c124f7df693df8a5307a52ca5d704ef.tar.zst
freebsd-ports-gnome-11b7b21a1c124f7df693df8a5307a52ca5d704ef.zip
- Fix the usage of 'python' to get rid of the implicit lang/python
dependency - Reset maintainer Approved by: Bruno Schwander <bruno@tinkerbox.org>
Diffstat (limited to 'games/childsplay')
-rw-r--r--games/childsplay/Makefile9
-rw-r--r--games/childsplay/files/patch-Makefile2
2 files changed, 8 insertions, 3 deletions
diff --git a/games/childsplay/Makefile b/games/childsplay/Makefile
index 9473951099cf..4ba92860e82b 100644
--- a/games/childsplay/Makefile
+++ b/games/childsplay/Makefile
@@ -8,16 +8,21 @@ CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
EXTRACT_SUFX= .tgz
-MAINTAINER= bruno@tinkerbox.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Educative games for children
BUILD_DEPENDS= ${LOCALBASE}/include/${PYTHON_VERSION}/pygame/pygame.h:${PORTSDIR}/devel/py-game
RUN_DEPENDS= ${LOCALBASE}/include/${PYTHON_VERSION}/pygame/pygame.h:${PORTSDIR}/devel/py-game
LIB_DEPENDS= assetml.0:${PORTSDIR}/devel/libassetml
-USE_PYTHON= yes
+USES= shebangfix
+USE_PYTHON= 2
NO_BUILD= yes
+python_OLD_CMD= /usr/bin/env python
+python_CMD= /usr/bin/env python2
+SHEBANG_FILES= childsplay.py
+
# avoid asking for translation to your local language on install
MAKE_ENV= LANG=C
diff --git a/games/childsplay/files/patch-Makefile b/games/childsplay/files/patch-Makefile
index ec4ca1856e95..052d67592188 100644
--- a/games/childsplay/files/patch-Makefile
+++ b/games/childsplay/files/patch-Makefile
@@ -1,7 +1,7 @@
--- Makefile.orig Sat May 7 23:13:35 2005
+++ Makefile Sat May 7 23:15:11 2005
@@ -0,0 +1,7 @@
-+PYTHON = /usr/bin/env python
++PYTHON = /usr/bin/env python2
+
+install:
+ ./INSTALL.sh