From 11b7b21a1c124f7df693df8a5307a52ca5d704ef Mon Sep 17 00:00:00 2001 From: mva Date: Mon, 25 Nov 2013 20:18:52 +0000 Subject: - Fix the usage of 'python' to get rid of the implicit lang/python dependency - Reset maintainer Approved by: Bruno Schwander --- games/childsplay/Makefile | 9 +++++++-- games/childsplay/files/patch-Makefile | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'games') diff --git a/games/childsplay/Makefile b/games/childsplay/Makefile index 9473951099c..4ba92860e82 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 ec4ca1856e9..052d6759218 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 -- cgit