aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2008-04-04 22:09:02 +0800
committerpav <pav@FreeBSD.org>2008-04-04 22:09:02 +0800
commit36537484662eeede727c2280ac87dbcff89c7859 (patch)
tree162ca80a71818fbe7dd41a8890db7632be9aad1c /games
parent958a011761f5db3e5044b3b60e21963cbdcffdfa (diff)
downloadfreebsd-ports-gnome-36537484662eeede727c2280ac87dbcff89c7859.tar.gz
freebsd-ports-gnome-36537484662eeede727c2280ac87dbcff89c7859.tar.zst
freebsd-ports-gnome-36537484662eeede727c2280ac87dbcff89c7859.zip
- Update to 0.8.0
PR: ports/120027 Submitted by: Martin Tournoij <carpetsmoker@xs4all.nl> (maintainer)
Diffstat (limited to 'games')
-rw-r--r--games/wrogue/Makefile22
-rw-r--r--games/wrogue/distinfo6
-rw-r--r--games/wrogue/pkg-plist147
3 files changed, 88 insertions, 87 deletions
diff --git a/games/wrogue/Makefile b/games/wrogue/Makefile
index 284d064c38cf..0fe37fdecbb9 100644
--- a/games/wrogue/Makefile
+++ b/games/wrogue/Makefile
@@ -2,13 +2,12 @@
# Date created: 2007-02-26
# Whom: Martin Tournoij <carpetsmoker@xs4all.nl>
#
-# $Carpetsmoker: ports/games/wrogue/Makefile,v 1.3 2007/09/09 13:32:49 carpetsmoker Exp $
+# $Carpetsmoker: ports/games/wrogue/Makefile,v 1.4 2008/01/27 04:50:01 carpetsmoker Exp $
# $FreeBSD$
#
PORTNAME= wrogue
-DISTVERSION= 0.7.7b
-PORTREVISION= 1
+PORTVERSION= 0.8.0
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= todoom
@@ -23,6 +22,7 @@ MAKEFILE= unix.mak
ALL_TARGET= release
BUILD_WRKSRC= ${WRKSRC}/src
INSTALL_WRKSRC= ${WRKDIR}
+PORTDOCS= changes.txt license.txt readme.txt scenario_guide.txt
post-patch:
@${REINPLACE_CMD} -e "s|-march=i586||; \
@@ -31,23 +31,17 @@ post-patch:
${WRKSRC}/src/unix.mak
@${REINPLACE_CMD} -e "s|\./data/|${DATADIR}/|" \
- ${WRKSRC}/src/platform/unix/pl_unix.c
+ ${WRKSRC}/src/platform/unix/platform_unix.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wrogue ${PREFIX}/bin
- ${MKDIR} ${DATADIR} ${DATADIR}/engine ${DATADIR}/scenario
-.for dir in engine/config engine/desc engine/graphics engine/help \
- engine/psybolts scenario/careers scenario/info scenario/npcs \
- scenario/objects scenario/race scenario/terrain scenario/user scenario/world
- ${MKDIR} ${DATADIR}/${dir}
- ${INSTALL_DATA} ${WRKSRC}/data/${dir}/* ${DATADIR}/${dir}
-.endfor
+ ${MKDIR} ${DATADIR}
+ cd ${WRKSRC}/data && ${FIND} . -type d -exec ${MKDIR} ${DATADIR}/{} \;
+ cd ${WRKSRC}/data && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
-.for doc in changes.txt license.txt sc_guide.txt
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
-.endfor
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/games/wrogue/distinfo b/games/wrogue/distinfo
index ae19e07b14a8..8301f12ee128 100644
--- a/games/wrogue/distinfo
+++ b/games/wrogue/distinfo
@@ -1,3 +1,3 @@
-MD5 (wrogue-0.7.7b.tar.bz2) = 928d1e7bcf4531f15b7473d9e29d0544
-SHA256 (wrogue-0.7.7b.tar.bz2) = 07153d3c7c75278d5642685aabff66e8a72e07c5a4462e68827fc630828dac08
-SIZE (wrogue-0.7.7b.tar.bz2) = 328556
+MD5 (wrogue-0.8.0.tar.bz2) = c03ac3b590ec668a84965007d08126a9
+SHA256 (wrogue-0.8.0.tar.bz2) = 3c2d7a16d9baaa0bc2a8edf7953420d99821192770d3edef030de18541627de0
+SIZE (wrogue-0.8.0.tar.bz2) = 308319
diff --git a/games/wrogue/pkg-plist b/games/wrogue/pkg-plist
index 34c4dc8720ea..0a6ddb274c09 100644
--- a/games/wrogue/pkg-plist
+++ b/games/wrogue/pkg-plist
@@ -1,72 +1,79 @@
bin/wrogue
-%%PORTDOCS%%%%DOCSDIR%%/changes.txt
-%%PORTDOCS%%%%DOCSDIR%%/license.txt
-%%PORTDOCS%%%%DOCSDIR%%/sc_guide.txt
-%%DATADIR%%/engine/config/keys.rdb
-%%DATADIR%%/engine/config/options.rdb
-%%DATADIR%%/engine/desc/charflag.rdb
-%%DATADIR%%/engine/desc/ob_attr.rdb
-%%DATADIR%%/engine/desc/perks.rdb
-%%DATADIR%%/engine/desc/powers.rdb
-%%DATADIR%%/engine/desc/tr_attr.rdb
-%%DATADIR%%/engine/graphics/back.bmp
-%%DATADIR%%/engine/graphics/cursor.bmp
-%%DATADIR%%/engine/graphics/icon.bmp
-%%DATADIR%%/engine/graphics/symbols.bmp
-%%DATADIR%%/engine/help/advance.txt
-%%DATADIR%%/engine/help/combat.txt
-%%DATADIR%%/engine/help/credits.txt
-%%DATADIR%%/engine/help/evoke.txt
-%%DATADIR%%/engine/help/macro.txt
-%%DATADIR%%/engine/help/modes.txt
-%%DATADIR%%/engine/help/morale.txt
-%%DATADIR%%/engine/help/movement.txt
-%%DATADIR%%/engine/help/parties.txt
-%%DATADIR%%/engine/help/rating.txt
-%%DATADIR%%/engine/help/stats.txt
-%%DATADIR%%/engine/help/tactics.txt
-%%DATADIR%%/engine/help/timing.txt
-%%DATADIR%%/engine/psybolts/psybolts.rdb
-%%DATADIR%%/scenario/careers/careers.rdb
-%%DATADIR%%/scenario/info/intro.txt
-%%DATADIR%%/scenario/info/scenario.rdb
-%%DATADIR%%/scenario/npcs/aliens.rdb
-%%DATADIR%%/scenario/npcs/beasts.rdb
-%%DATADIR%%/scenario/npcs/chaos.rdb
-%%DATADIR%%/scenario/npcs/deco.wca
-%%DATADIR%%/scenario/npcs/doomb.wca
-%%DATADIR%%/scenario/npcs/imperium.rdb
-%%DATADIR%%/scenario/npcs/rand_npc.wca
-%%DATADIR%%/scenario/npcs/rebels.rdb
-%%DATADIR%%/scenario/npcs/schweitz.wca
-%%DATADIR%%/scenario/objects/atad.rdb
-%%DATADIR%%/scenario/objects/bio.rdb
-%%DATADIR%%/scenario/objects/chaos.rdb
-%%DATADIR%%/scenario/objects/env.rdb
-%%DATADIR%%/scenario/objects/imperium.rdb
-%%DATADIR%%/scenario/objects/nimrod.rdb
-%%DATADIR%%/scenario/objects/ratkin.rdb
-%%DATADIR%%/scenario/race/female.nam
-%%DATADIR%%/scenario/race/male.nam
-%%DATADIR%%/scenario/race/race.rdb
-%%DATADIR%%/scenario/terrain/terrain.rdb
-%%DATADIR%%/scenario/user/keep.me
-%%DATADIR%%/scenario/world/h_cruor.wca
-%%DATADIR%%/scenario/world/world.rdb
-@dirrm %%DATADIR%%/scenario/world
-@dirrm %%DATADIR%%/scenario/user
-@dirrm %%DATADIR%%/scenario/terrain
-@dirrm %%DATADIR%%/scenario/race
-@dirrm %%DATADIR%%/scenario/objects
-@dirrm %%DATADIR%%/scenario/npcs
-@dirrm %%DATADIR%%/scenario/info
-@dirrm %%DATADIR%%/scenario/careers
-@dirrm %%DATADIR%%/scenario
-@dirrm %%DATADIR%%/engine/psybolts
-@dirrm %%DATADIR%%/engine/help
-@dirrm %%DATADIR%%/engine/graphics
-@dirrm %%DATADIR%%/engine/desc
-@dirrm %%DATADIR%%/engine/config
-@dirrm %%DATADIR%%/engine
+%%DATADIR%%/characters/scripts/bismarck.wca
+%%DATADIR%%/characters/scripts/fat_vince.wca
+%%DATADIR%%/characters/scripts/gregor.wca
+%%DATADIR%%/characters/scripts/guderian.wca
+%%DATADIR%%/characters/scripts/hive_lord.wca
+%%DATADIR%%/characters/scripts/institoris.wca
+%%DATADIR%%/characters/scripts/kurtz.wca
+%%DATADIR%%/characters/scripts/mammon.wca
+%%DATADIR%%/characters/scripts/mephisto.wca
+%%DATADIR%%/characters/scripts/random_recruitable.wca
+%%DATADIR%%/characters/scripts/schweitzer.wca
+%%DATADIR%%/characters/scripts/solomon.wca
+%%DATADIR%%/characters/scripts/travus.wca
+%%DATADIR%%/characters/devourers.rdb
+%%DATADIR%%/characters/dread_mines.rdb
+%%DATADIR%%/characters/hive_lords.rdb
+%%DATADIR%%/characters/hive_melkor.rdb
+%%DATADIR%%/characters/imperium.rdb
+%%DATADIR%%/characters/iron_gate.rdb
+%%DATADIR%%/dungeons/dread_mines.wca
+%%DATADIR%%/dungeons/hive_cruor.wca
+%%DATADIR%%/dungeons/hive_melkor.wca
+%%DATADIR%%/dungeons/iron_gate.wca
+%%DATADIR%%/dungeons/mephisto_fortress.wca
+%%DATADIR%%/galaxy/keep.me
+%%DATADIR%%/info/help/advance.txt
+%%DATADIR%%/info/help/character_attributes.rdb
+%%DATADIR%%/info/help/combat.txt
+%%DATADIR%%/info/help/evoke.txt
+%%DATADIR%%/info/help/macro.txt
+%%DATADIR%%/info/help/modes.txt
+%%DATADIR%%/info/help/morale.txt
+%%DATADIR%%/info/help/movement.txt
+%%DATADIR%%/info/help/object_attributes.rdb
+%%DATADIR%%/info/help/parties.txt
+%%DATADIR%%/info/help/perks.rdb
+%%DATADIR%%/info/help/powers.rdb
+%%DATADIR%%/info/help/stats.txt
+%%DATADIR%%/info/help/tactics.txt
+%%DATADIR%%/info/help/terrain_attributes.rdb
+%%DATADIR%%/info/help/timing.txt
+%%DATADIR%%/info/credits.txt
+%%DATADIR%%/info/intro.txt
+%%DATADIR%%/info/scenario.rdb
+%%DATADIR%%/objects/beasts.rdb
+%%DATADIR%%/objects/chaos.rdb
+%%DATADIR%%/objects/environment.rdb
+%%DATADIR%%/objects/imperium.rdb
+%%DATADIR%%/objects/plants.rdb
+%%DATADIR%%/objects/ratkin.rdb
+%%DATADIR%%/planets/proelium.rdb
+%%DATADIR%%/races/careers.rdb
+%%DATADIR%%/races/female.nam
+%%DATADIR%%/races/male.nam
+%%DATADIR%%/races/profile.rdb
+%%DATADIR%%/rules/factions.rdb
+%%DATADIR%%/rules/start.wca
+%%DATADIR%%/terrain/terrain.rdb
+%%DATADIR%%/ui/back.bmp
+%%DATADIR%%/ui/colours.rdb
+%%DATADIR%%/ui/cursor.bmp
+%%DATADIR%%/ui/font.bmp
+%%DATADIR%%/ui/gore.rdb
+%%DATADIR%%/ui/icon.bmp
+%%DATADIR%%/ui/keys.rdb
+@dirrm %%DATADIR%%/ui
+@dirrm %%DATADIR%%/terrain
+@dirrm %%DATADIR%%/rules
+@dirrm %%DATADIR%%/races
+@dirrm %%DATADIR%%/planets
+@dirrm %%DATADIR%%/objects
+@dirrm %%DATADIR%%/info/help
+@dirrm %%DATADIR%%/info
+@dirrm %%DATADIR%%/galaxy
+@dirrm %%DATADIR%%/dungeons
+@dirrm %%DATADIR%%/characters/scripts
+@dirrm %%DATADIR%%/characters
@dirrm %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%