aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2013-12-04 10:26:55 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2013-12-04 10:26:55 +0000
commit6ef8020587c2d993a98ed808260414784d373359 (patch)
treeefb1ab95bf0dd172e0615a0dcdbb7f6c61827755 /games
parentc1e0b252809be07629eed82d34d2261139784a0c (diff)
downloadports-6ef8020587c2d993a98ed808260414784d373359.tar.gz
ports-6ef8020587c2d993a98ed808260414784d373359.zip
- Bump PORTREVISION
- Remove dependency for x11/xterm - Add files/holotz-castle.desktop and files/holotz-castle-solutions.desktop Approved by: pawel / wg (mentors, implicit)
Notes
Notes: svn path=/head/; revision=335615
Diffstat (limited to 'games')
-rw-r--r--games/holotz-castle/Makefile13
-rw-r--r--games/holotz-castle/files/holotz-castle-solutions.desktop10
-rw-r--r--games/holotz-castle/files/holotz-castle.desktop10
-rw-r--r--games/holotz-castle/pkg-plist4
4 files changed, 27 insertions, 10 deletions
diff --git a/games/holotz-castle/Makefile b/games/holotz-castle/Makefile
index 99e88165ae9e..119e88326810 100644
--- a/games/holotz-castle/Makefile
+++ b/games/holotz-castle/Makefile
@@ -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 96x96 128x128
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
diff --git a/games/holotz-castle/files/holotz-castle-solutions.desktop b/games/holotz-castle/files/holotz-castle-solutions.desktop
new file mode 100644
index 000000000000..9f354086beff
--- /dev/null
+++ b/games/holotz-castle/files/holotz-castle-solutions.desktop
@@ -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
diff --git a/games/holotz-castle/files/holotz-castle.desktop b/games/holotz-castle/files/holotz-castle.desktop
new file mode 100644
index 000000000000..dc1fb9f60ac3
--- /dev/null
+++ b/games/holotz-castle/files/holotz-castle.desktop
@@ -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
diff --git a/games/holotz-castle/pkg-plist b/games/holotz-castle/pkg-plist
index 9bb3f6b377e8..c040b482b100 100644
--- a/games/holotz-castle/pkg-plist
+++ b/games/holotz-castle/pkg-plist
@@ -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