summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2013-03-22 05:29:06 +0000
committerBeech Rintoul <beech@FreeBSD.org>2013-03-22 05:29:06 +0000
commit0e4072ab534dc89c482277e9a39229cac991bab1 (patch)
tree4bd6cffd9fc51590145942cc868da3e105455070 /games
parentDrop support for old versions (diff)
- Update to 1.3.14
- Pass maintainership to submitter PR: ports/177125 Submitted by: nemysis <nemysis@gmx.ch>
Notes
Notes: svn path=/head/; revision=314891
Diffstat (limited to 'games')
-rw-r--r--games/holotz-castle/Makefile40
-rw-r--r--games/holotz-castle/distinfo6
-rw-r--r--games/holotz-castle/files/pkg-message.in9
-rw-r--r--games/holotz-castle/pkg-plist27
4 files changed, 74 insertions, 8 deletions
diff --git a/games/holotz-castle/Makefile b/games/holotz-castle/Makefile
index a59b4f5f7c81..e42d5cc8afcd 100644
--- a/games/holotz-castle/Makefile
+++ b/games/holotz-castle/Makefile
@@ -2,14 +2,19 @@
# $FreeBSD$
PORTNAME= holotz-castle
-PORTVERSION= 1.3.13
-PORTREVISION= 7
+PORTVERSION= 1.3.14
CATEGORIES= games
-MASTER_SITES= http://www.mainreactor.net/holotzcastle/download/
-DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+MASTER_SITES= http://www.mainreactor.net/holotzcastle/download/ \
+ SF/nemysisfreebsdp/:icons
+DISTFILES= ${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX} \
+ ${PORTNAME}_icons${EXTRACT_SUFX}:icons
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A platform game with high doses of mystery
+MAINTAINER= nemysis@gmx.ch
+COMMENT= Platform game with high doses of mystery
+
+LICENSE= GPLv2
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
MAKE_ARGS= HC_BASE=${PREFIX}/share/${PORTNAME}/ HC_BIN_DIR=${PREFIX}/bin/
MAKE_JOBS_UNSAFE= yes
@@ -18,4 +23,27 @@ USE_GL= gl
USE_SDL= image mixer sdl ttf
USE_GMAKE= yes
+MAN6= ${PORTNAME}.6 ${PORTNAME}-editor.6
+
+INSTALLS_ICONS= yes
+ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128
+
+SUB_FILES= pkg-message
+
+DESKTOP_ENTRIES="Holotz's Castle" "${COMMENT}" ${PORTNAME} \
+ "${PORTNAME}" "Game;LogicGame;" false
+
+post-install:
+.for s in ${ICON_SIZES}
+ ${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps
+ ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \
+ ${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
+.endfor
+ ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps
+ (cd ${WRKSRC}/man && ${INSTALL_MAN} ${MAN6} ${MAN6PREFIX}/man/man6)
+
+ @${ECHO_CMD}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_CMD}
+
.include <bsd.port.mk>
diff --git a/games/holotz-castle/distinfo b/games/holotz-castle/distinfo
index 96d406736ef2..92d528b9889e 100644
--- a/games/holotz-castle/distinfo
+++ b/games/holotz-castle/distinfo
@@ -1,2 +1,4 @@
-SHA256 (holotz-castle-1.3.13-src.tar.gz) = 4648577d31985c9ff49c3a0bfd249f5142b6459196e7a19ab7766c2afbcbffca
-SIZE (holotz-castle-1.3.13-src.tar.gz) = 3685094
+SHA256 (holotz-castle-1.3.14-src.tar.gz) = 42903559a9821b39eac6eba7730be0fcba12c9ad861ba2691f372c54371039b1
+SIZE (holotz-castle-1.3.14-src.tar.gz) = 3691364
+SHA256 (holotz-castle_icons.tar.gz) = 5ca3aee3d7abddbb8baff9961460497c0a2ec8418570c755f2df581f5605960b
+SIZE (holotz-castle_icons.tar.gz) = 35328
diff --git a/games/holotz-castle/files/pkg-message.in b/games/holotz-castle/files/pkg-message.in
new file mode 100644
index 000000000000..b9343ab3700f
--- /dev/null
+++ b/games/holotz-castle/files/pkg-message.in
@@ -0,0 +1,9 @@
+===============================================================================
+
+Holotz's Castle has been installed.
+
+You can download the solutions to some Levels from here
+
+http://www.mainreactor.net/holotzcastle/en/holotzcastle_en.html#SOLUTIONS
+
+===============================================================================
diff --git a/games/holotz-castle/pkg-plist b/games/holotz-castle/pkg-plist
index d87c18b6b929..ed4c4d02b866 100644
--- a/games/holotz-castle/pkg-plist
+++ b/games/holotz-castle/pkg-plist
@@ -58,6 +58,7 @@ bin/holotz-castle-editor
%%DATADIR%%/game/help/nl/help.txt
%%DATADIR%%/game/help/pt/help.txt
%%DATADIR%%/game/help/ru/help.txt
+%%DATADIR%%/game/help/sr/help.txt
%%DATADIR%%/game/help/sv/help.txt
%%DATADIR%%/game/help/sv/help_org.txt
%%DATADIR%%/game/help/ua/help.txt
@@ -74,6 +75,7 @@ bin/holotz-castle-editor
%%DATADIR%%/game/intro/nl/intro.txt
%%DATADIR%%/game/intro/pt/intro.txt
%%DATADIR%%/game/intro/ru/intro.txt
+%%DATADIR%%/game/intro/sr/intro.txt
%%DATADIR%%/game/intro/sv/intro.txt
%%DATADIR%%/game/intro/ua/intro.txt
%%DATADIR%%/game/languages.txt
@@ -89,6 +91,7 @@ bin/holotz-castle-editor
%%DATADIR%%/game/menu/nl/menu.txt
%%DATADIR%%/game/menu/pt/menu.txt
%%DATADIR%%/game/menu/ru/menu.txt
+%%DATADIR%%/game/menu/sr/menu.txt
%%DATADIR%%/game/menu/sv/menu.txt
%%DATADIR%%/game/menu/ua/menu.txt
%%DATADIR%%/game/messages/cs/messages.txt
@@ -101,6 +104,7 @@ bin/holotz-castle-editor
%%DATADIR%%/game/messages/nl/messages.txt
%%DATADIR%%/game/messages/pt/messages.txt
%%DATADIR%%/game/messages/ru/messages.txt
+%%DATADIR%%/game/messages/sr/messages.txt
%%DATADIR%%/game/messages/sv/messages.txt
%%DATADIR%%/game/messages/ua/messages.txt
%%DATADIR%%/game/playlist.txt
@@ -269,6 +273,17 @@ bin/holotz-castle-editor
%%DATADIR%%/game/stories/holotzcastle/script/ru/level030.hcs
%%DATADIR%%/game/stories/holotzcastle/script/ru/level032.hcs
%%DATADIR%%/game/stories/holotzcastle/script/ru/level033.hcs
+%%DATADIR%%/game/stories/holotzcastle/script/sr/level001.hcs
+%%DATADIR%%/game/stories/holotzcastle/script/sr/level002.hcs
+%%DATADIR%%/game/stories/holotzcastle/script/sr/level007.hcs
+%%DATADIR%%/game/stories/holotzcastle/script/sr/level014.hcs
+%%DATADIR%%/game/stories/holotzcastle/script/sr/level016.hcs
+%%DATADIR%%/game/stories/holotzcastle/script/sr/level019.hcs
+%%DATADIR%%/game/stories/holotzcastle/script/sr/level020.hcs
+%%DATADIR%%/game/stories/holotzcastle/script/sr/level025.hcs
+%%DATADIR%%/game/stories/holotzcastle/script/sr/level030.hcs
+%%DATADIR%%/game/stories/holotzcastle/script/sr/level032.hcs
+%%DATADIR%%/game/stories/holotzcastle/script/sr/level033.hcs
%%DATADIR%%/game/stories/holotzcastle/script/sv/level001.hcs
%%DATADIR%%/game/stories/holotzcastle/script/sv/level002.hcs
%%DATADIR%%/game/stories/holotzcastle/script/sv/level007.hcs
@@ -1309,6 +1324,13 @@ bin/holotz-castle-editor
%%DATADIR%%/game/theme/dungeons/rope/2/edge.tga
%%DATADIR%%/game/theme/dungeons/rope/2/middle.tga
%%DATADIR%%/game/theme/dungeons/rope/2/top.tga
+share/icons/hicolor/128x128/apps/holotz-castle.png
+share/icons/hicolor/32x32/apps/holotz-castle.png
+share/icons/hicolor/48x48/apps/holotz-castle.png
+share/icons/hicolor/64x64/apps/holotz-castle.png
+share/icons/hicolor/72x72/apps/holotz-castle.png
+share/icons/hicolor/96x96/apps/holotz-castle.png
+share/pixmaps/holotz-castle.png
@dirrm %%DATADIR%%/game/theme/dungeons/rope/2
@dirrm %%DATADIR%%/game/theme/dungeons/rope/1
@dirrm %%DATADIR%%/game/theme/dungeons/rope
@@ -1487,6 +1509,7 @@ bin/holotz-castle-editor
@dirrm %%DATADIR%%/game/stories/milanb
@dirrm %%DATADIR%%/game/stories/holotzcastle/script/ua
@dirrm %%DATADIR%%/game/stories/holotzcastle/script/sv
+@dirrm %%DATADIR%%/game/stories/holotzcastle/script/sr
@dirrm %%DATADIR%%/game/stories/holotzcastle/script/ru
@dirrm %%DATADIR%%/game/stories/holotzcastle/script/pt
@dirrm %%DATADIR%%/game/stories/holotzcastle/script/nl
@@ -1504,6 +1527,7 @@ bin/holotz-castle-editor
@dirrm %%DATADIR%%/game/savedata
@dirrm %%DATADIR%%/game/messages/ua
@dirrm %%DATADIR%%/game/messages/sv
+@dirrm %%DATADIR%%/game/messages/sr
@dirrm %%DATADIR%%/game/messages/ru
@dirrm %%DATADIR%%/game/messages/pt
@dirrm %%DATADIR%%/game/messages/nl
@@ -1517,6 +1541,7 @@ bin/holotz-castle-editor
@dirrm %%DATADIR%%/game/messages
@dirrm %%DATADIR%%/game/menu/ua
@dirrm %%DATADIR%%/game/menu/sv
+@dirrm %%DATADIR%%/game/menu/sr
@dirrm %%DATADIR%%/game/menu/ru
@dirrm %%DATADIR%%/game/menu/pt
@dirrm %%DATADIR%%/game/menu/nl
@@ -1531,6 +1556,7 @@ bin/holotz-castle-editor
@dirrm %%DATADIR%%/game/main
@dirrm %%DATADIR%%/game/intro/ua
@dirrm %%DATADIR%%/game/intro/sv
+@dirrm %%DATADIR%%/game/intro/sr
@dirrm %%DATADIR%%/game/intro/ru
@dirrm %%DATADIR%%/game/intro/pt
@dirrm %%DATADIR%%/game/intro/nl
@@ -1545,6 +1571,7 @@ bin/holotz-castle-editor
@dirrm %%DATADIR%%/game/icon
@dirrm %%DATADIR%%/game/help/ua
@dirrm %%DATADIR%%/game/help/sv
+@dirrm %%DATADIR%%/game/help/sr
@dirrm %%DATADIR%%/game/help/ru
@dirrm %%DATADIR%%/game/help/pt
@dirrm %%DATADIR%%/game/help/nl