diff options
author | nemysis <nemysis@FreeBSD.org> | 2013-12-04 18:26:55 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2013-12-04 18:26:55 +0800 |
commit | 2f517bf4110b34b7ccbd4e8638a082a364b3d078 (patch) | |
tree | efb1ab95bf0dd172e0615a0dcdbb7f6c61827755 /games | |
parent | 9383c4d8be6f0619237d28cd3536925b0926dd83 (diff) | |
download | freebsd-ports-gnome-2f517bf4110b34b7ccbd4e8638a082a364b3d078.tar.gz freebsd-ports-gnome-2f517bf4110b34b7ccbd4e8638a082a364b3d078.tar.zst freebsd-ports-gnome-2f517bf4110b34b7ccbd4e8638a082a364b3d078.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)
Diffstat (limited to 'games')
-rw-r--r-- | games/holotz-castle/Makefile | 13 | ||||
-rw-r--r-- | games/holotz-castle/files/holotz-castle-solutions.desktop | 10 | ||||
-rw-r--r-- | games/holotz-castle/files/holotz-castle.desktop | 10 | ||||
-rw-r--r-- | games/holotz-castle/pkg-plist | 4 |
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 |