Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2013 20:18:53 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334895 - in head/games/childsplay: . files
Message-ID:  <201311252018.rAPKIrbE019044@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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
 

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311252018.rAPKIrbE019044>