aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2013-12-18 01:50:17 +0800
committernemysis <nemysis@FreeBSD.org>2013-12-18 01:50:17 +0800
commit6b7eda360a07d86685c706526131018dcd435d99 (patch)
tree201d24a9f2e2889e7a8772b32adc03c218c01e4d /games
parent431f29cbb8cb8c32b7e0bc02eb7186a628516a19 (diff)
downloadfreebsd-ports-gnome-6b7eda360a07d86685c706526131018dcd435d99.tar.gz
freebsd-ports-gnome-6b7eda360a07d86685c706526131018dcd435d99.tar.zst
freebsd-ports-gnome-6b7eda360a07d86685c706526131018dcd435d99.zip
- 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)
Diffstat (limited to 'games')
-rw-r--r--games/iceicepenguin/Makefile6
-rw-r--r--games/iceicepenguin/files/iceicepenguin.in2
2 files changed, 5 insertions, 3 deletions
diff --git a/games/iceicepenguin/Makefile b/games/iceicepenguin/Makefile
index c4898d3c32d4..eef4180561ce 100644
--- a/games/iceicepenguin/Makefile
+++ b/games/iceicepenguin/Makefile
@@ -31,10 +31,12 @@ ICON_SIZES= 32x32 48x48 64x64 72x72 96x96
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
diff --git a/games/iceicepenguin/files/iceicepenguin.in b/games/iceicepenguin/files/iceicepenguin.in
index 98607a1d443c..943ada5fdbde 100644
--- a/games/iceicepenguin/files/iceicepenguin.in
+++ b/games/iceicepenguin/files/iceicepenguin.in
@@ -4,4 +4,4 @@
#
cd "%%DATADIR%%"
-exec /usr/bin/env python ./iceicepengui.py "${@}"
+exec %%PYTHON_CMD%% ./iceicepengui.py "${@}"