Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2013 17:50:18 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336745 - in head/games/iceicepenguin: . files
Message-ID:  <201312171750.rBHHoIq0074131@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Tue Dec 17 17:50:17 2013
New Revision: 336745
URL: http://svnweb.freebsd.org/changeset/ports/336745

Log:
  - Change desktop entry
  - Fix the usage of 'python' to get rid of the implicit lang/python dependency
  - Change iceicepenguin.in
  
  Approved by:	pawel / wg (mentors, implicit)

Modified:
  head/games/iceicepenguin/Makefile
  head/games/iceicepenguin/files/iceicepenguin.in

Modified: head/games/iceicepenguin/Makefile
==============================================================================
--- head/games/iceicepenguin/Makefile	Tue Dec 17 17:42:52 2013	(r336744)
+++ head/games/iceicepenguin/Makefile	Tue Dec 17 17:50:17 2013	(r336745)
@@ -31,10 +31,12 @@ ICON_SIZES=	32x32 48x48 64x64 72x72 96x9
 
 SUB_FILES=	${PORTNAME}
 
-DESKTOP_ENTRIES="Ice Ice Penguin" "${COMMENT}" "${PORTNAME}" \
-		"${PORTNAME}" "Game;ArcadeGame;" false
+DESKTOP_ENTRIES="Ice Ice Penguin" "" "${PORTNAME}" \
+		"${PORTNAME}" "Game;ArcadeGame;" ""
 
 do-install:
+	@${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \
+		${WRKDIR}/${PORTNAME}
 	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
 
 .for d in fonts gfx lvls menu sfx

Modified: head/games/iceicepenguin/files/iceicepenguin.in
==============================================================================
--- head/games/iceicepenguin/files/iceicepenguin.in	Tue Dec 17 17:42:52 2013	(r336744)
+++ head/games/iceicepenguin/files/iceicepenguin.in	Tue Dec 17 17:50:17 2013	(r336745)
@@ -4,4 +4,4 @@
 #
 
 cd "%%DATADIR%%"
-exec /usr/bin/env python ./iceicepengui.py "${@}"
+exec %%PYTHON_CMD%% ./iceicepengui.py "${@}"



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