svn commit: r334895 - in head/games/childsplay: . files

Marcus von Appen mva at FreeBSD.org
Mon Nov 25 20:18:53 UTC 2013


Author: mva
Date: Mon Nov 25 20:18:52 2013
New Revision: 334895
URL: http://svnweb.freebsd.org/changeset/ports/334895

Log:
  - Fix the usage of 'python' to get rid of the implicit lang/python
    dependency
  - Reset maintainer
  
  Approved by:	Bruno Schwander <bruno at tinkerbox.org>

Modified:
  head/games/childsplay/Makefile   (contents, props changed)
  head/games/childsplay/files/patch-Makefile   (contents, props changed)

Modified: head/games/childsplay/Makefile
==============================================================================
--- head/games/childsplay/Makefile	Mon Nov 25 20:06:35 2013	(r334894)
+++ head/games/childsplay/Makefile	Mon Nov 25 20:18:52 2013	(r334895)
@@ -8,16 +8,21 @@ CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
 EXTRACT_SUFX=	.tgz
 
-MAINTAINER=	bruno at tinkerbox.org
+MAINTAINER=	ports at 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
 

Modified: head/games/childsplay/files/patch-Makefile
==============================================================================
--- head/games/childsplay/files/patch-Makefile	Mon Nov 25 20:06:35 2013	(r334894)
+++ head/games/childsplay/files/patch-Makefile	Mon Nov 25 20:18:52 2013	(r334895)
@@ -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


More information about the svn-ports-all mailing list