svn commit: r335615 - in head/games/holotz-castle: . files
Rusmir Dusko
nemysis at FreeBSD.org
Wed Dec 4 10:26:57 UTC 2013
Author: nemysis
Date: Wed Dec 4 10:26:55 2013
New Revision: 335615
URL: http://svnweb.freebsd.org/changeset/ports/335615
Log:
- Bump PORTREVISION
- Remove dependency for x11/xterm
- Add files/holotz-castle.desktop and files/holotz-castle-solutions.desktop
Approved by: pawel / wg (mentors, implicit)
Added:
head/games/holotz-castle/files/holotz-castle-solutions.desktop (contents, props changed)
head/games/holotz-castle/files/holotz-castle.desktop (contents, props changed)
Modified:
head/games/holotz-castle/Makefile
head/games/holotz-castle/pkg-plist
Modified: head/games/holotz-castle/Makefile
==============================================================================
--- head/games/holotz-castle/Makefile Wed Dec 4 10:25:32 2013 (r335614)
+++ head/games/holotz-castle/Makefile Wed Dec 4 10:26:55 2013 (r335615)
@@ -3,7 +3,7 @@
PORTNAME= holotz-castle
PORTVERSION= 1.3.14
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/
DISTFILES= ${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX} \
@@ -30,20 +30,13 @@ ICON_SIZES= 32x32 48x48 64x64 72x72 96x9
SUB_FILES= pkg-message ${PORTNAME}-solutions
-DESKTOP_ENTRIES="Holotz's Castle" "${COMMENT}" ${PORTNAME} \
- "${PORTNAME}" "Game;LogicGame;" false
-
-DESKTOP_ENTRIES+="Holotz's Castle Solutions" "${COMMENT}" ${PORTNAME} \
- "xterm -e ${PORTNAME}-solutions" "Game;LogicGame;" false
-
OPTIONS_DEFINE= SOLUTIONS
OPTIONS_DEFAULT=SOLUTIONS
SOLUTIONS_DESC= Solutions for Holotz's Castle
OPTIONS_SUB= yes
-SOLUTIONS_RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer \
- xterm:${PORTSDIR}/x11/xterm
+SOLUTIONS_RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
.include <bsd.port.options.mk>
@@ -60,10 +53,12 @@ post-install:
.endfor
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps
+ ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
(cd ${WRKSRC}/man && ${INSTALL_MAN} *.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/)
.if ${PORT_OPTIONS:MSOLUTIONS}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-solutions ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}-solutions.desktop ${STAGEDIR}${DESKTOPDIR}
@${MKDIR} ${STAGEDIR}${DATADIR}/solutions
@(cd ${WRKDIR} ; ${INSTALL_DATA} *.avi ${STAGEDIR}${DATADIR}/solutions)
.endif
Added: head/games/holotz-castle/files/holotz-castle-solutions.desktop
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/holotz-castle/files/holotz-castle-solutions.desktop Wed Dec 4 10:26:55 2013 (r335615)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=Holotz's Castle Solution
+GenericName=Holotz's Castle game
+Comment=Platform game with high doses of mystery
+Icon=holotz-castle
+Exec=holotz-castle-solutions
+Categories=Game;LogicGame;
+Terminal=true
Added: head/games/holotz-castle/files/holotz-castle.desktop
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/holotz-castle/files/holotz-castle.desktop Wed Dec 4 10:26:55 2013 (r335615)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=Holotz's Castle
+GenericName=Holotz's Castle game
+Comment=Platform game with high doses of mystery
+Icon=holotz-castle
+Exec=holotz-castle
+Categories=Game;LogicGame;
+Terminal=true
Modified: head/games/holotz-castle/pkg-plist
==============================================================================
--- head/games/holotz-castle/pkg-plist Wed Dec 4 10:25:32 2013 (r335614)
+++ head/games/holotz-castle/pkg-plist Wed Dec 4 10:26:55 2013 (r335615)
@@ -1,8 +1,10 @@
bin/holotz-castle
bin/holotz-castle-editor
+%%SOLUTIONS%%bin/holotz-castle-solutions
man/man6/holotz-castle-editor.6.gz
man/man6/holotz-castle.6.gz
-%%SOLUTIONS%%bin/holotz-castle-solutions
+%%SOLUTIONS%%share/applications/holotz-castle-solutions.desktop
+share/applications/holotz-castle.desktop
%%DATADIR%%/editor/EnemyMenu/0.tga
%%DATADIR%%/editor/EnemyMenu/0_hi.tga
%%DATADIR%%/editor/EnemyMenu/1.tga
More information about the svn-ports-head
mailing list