aboutsummaryrefslogtreecommitdiffstats
path: root/games/wrogue
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-02-27 15:15:24 +0800
committermiwi <miwi@FreeBSD.org>2007-02-27 15:15:24 +0800
commit6c96ef29ba1777368694efb17f07d4c93b8c7ffc (patch)
tree2a0047a805efef7724fd53cff9e0a6b7ac2ce1e4 /games/wrogue
parenta02c7910de4417aa3c0599ccc8b69aaf4506dd0a (diff)
downloadfreebsd-ports-gnome-6c96ef29ba1777368694efb17f07d4c93b8c7ffc.tar.gz
freebsd-ports-gnome-6c96ef29ba1777368694efb17f07d4c93b8c7ffc.tar.zst
freebsd-ports-gnome-6c96ef29ba1777368694efb17f07d4c93b8c7ffc.zip
Warp Rogue is a gothic science fantasy roguelike game. It features
RPG-like game mechanics, recruitable NPCs, and a consistent theme. WWW: http://todoom.sourceforge.net/ PR: ports/109582 Submitted by: Martin Tournoij <carpetsmoker at xs4all.nl>
Diffstat (limited to 'games/wrogue')
-rw-r--r--games/wrogue/Makefile39
-rw-r--r--games/wrogue/distinfo3
-rw-r--r--games/wrogue/files/unix.mak.in56
-rw-r--r--games/wrogue/pkg-descr4
-rw-r--r--games/wrogue/pkg-plist53
5 files changed, 155 insertions, 0 deletions
diff --git a/games/wrogue/Makefile b/games/wrogue/Makefile
new file mode 100644
index 000000000000..2f2d915d6f88
--- /dev/null
+++ b/games/wrogue/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: warp-rogue
+# Date created: 2007-02-26
+# Whom: Martin Tournoij <carpetsmoker@xs4all.nl>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wrogue
+PORTVERSION= 0.7.4
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= todoom
+
+MAINTAINER= carpetsmoker@xs4all.nl
+COMMENT= A gothic science fantasy roguelike game
+
+USE_BZIP2= yes
+USE_SDL= yes
+USE_GMAKE= yes
+MAKEFILE= unix.mak
+ALL_TARGET= release
+BUILD_WRKSRC= ${WRKSRC}/src
+INSTALL_WRKSRC= ${WRKDIR}
+
+SUB_FILES= unix.mak
+SUB_LIST= WRKSRC=${WRKSRC}
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|-march=i586||; \
+ s|gcc|${CC}|; \
+ s|CFLAGS=|CFLAGS+=|" \
+ ${WRKSRC}/src/unix.mak
+
+ @${REINPLACE_CMD} -e "s|\./data/|${DATADIR}/|" \
+ ${WRKSRC}/src/unix/be_unix.c
+
+.include <bsd.port.post.mk>
diff --git a/games/wrogue/distinfo b/games/wrogue/distinfo
new file mode 100644
index 000000000000..36e252be1a82
--- /dev/null
+++ b/games/wrogue/distinfo
@@ -0,0 +1,3 @@
+MD5 (wrogue-0.7.4.tar.bz2) = b4a401a41265f21bb005905b5e711d53
+SHA256 (wrogue-0.7.4.tar.bz2) = 6e95e6558c09b2f284f7f2757d4af953d175176079ea96648d8ff83edec00beb
+SIZE (wrogue-0.7.4.tar.bz2) = 327933
diff --git a/games/wrogue/files/unix.mak.in b/games/wrogue/files/unix.mak.in
new file mode 100644
index 000000000000..1ec96ea4c461
--- /dev/null
+++ b/games/wrogue/files/unix.mak.in
@@ -0,0 +1,56 @@
+INSTALL_DATA=/usr/bin/install -o root -g wheel -m 444
+INSTALL_PROGRAM=/usr/bin/install -o root -g wheel -m 555
+WRKSRC=%%WRKSRC%%
+DATADIR=%%DATADIR%%
+PREFIX=%%PREFIX%%
+
+install:
+ mkdir -p ${DATADIR} ${DATADIR}/charact ${DATADIR}/config ${DATADIR}/graphics \
+ ${DATADIR}/terrain ${DATADIR}/objects ${DATADIR}/text ${DATADIR}/user
+
+ ${INSTALL_PROGRAM} ${WRKSRC}/wrogue ${PREFIX}/bin/wrogue
+
+ ${INSTALL_DATA} ${WRKSRC}/data/charact/a_career.rdb ${DATADIR}/charact/a_career.rdb
+ ${INSTALL_DATA} ${WRKSRC}/data/charact/aliens.rdb ${DATADIR}/charact/aliens.rdb
+ ${INSTALL_DATA} ${WRKSRC}/data/charact/b_career.rdb ${DATADIR}/charact/b_career.rdb
+ ${INSTALL_DATA} ${WRKSRC}/data/charact/beasts.rdb ${DATADIR}/charact/beasts.rdb
+ ${INSTALL_DATA} ${WRKSRC}/data/charact/chaos.rdb ${DATADIR}/charact/chaos.rdb
+ ${INSTALL_DATA} ${WRKSRC}/data/charact/human_f.nam ${DATADIR}/charact/human_f.nam
+ ${INSTALL_DATA} ${WRKSRC}/data/charact/human_m.nam ${DATADIR}/charact/human_m.nam
+ ${INSTALL_DATA} ${WRKSRC}/data/charact/imperium.rdb ${DATADIR}/charact/imperium.rdb
+ ${INSTALL_DATA} ${WRKSRC}/data/charact/rebels.rdb ${DATADIR}/charact/rebels.rdb
+ ${INSTALL_DATA} ${WRKSRC}/data/charact/spawn.rdb ${DATADIR}/charact/spawn.rdb
+ ${INSTALL_DATA} ${WRKSRC}/data/config/keys.rdb ${DATADIR}/config/keys.rdb
+ ${INSTALL_DATA} ${WRKSRC}/data/config/options.rdb ${DATADIR}/config/options.rdb
+ ${INSTALL_DATA} ${WRKSRC}/data/graphics/back.bmp ${DATADIR}/graphics/back.bmp
+ ${INSTALL_DATA} ${WRKSRC}/data/graphics/cursor.bmp ${DATADIR}/graphics/cursor.bmp
+ ${INSTALL_DATA} ${WRKSRC}/data/graphics/icon.bmp ${DATADIR}/graphics/icon.bmp
+ ${INSTALL_DATA} ${WRKSRC}/data/graphics/logo.bmp ${DATADIR}/graphics/logo.bmp
+ ${INSTALL_DATA} ${WRKSRC}/data/graphics/symbols.bmp ${DATADIR}/graphics/symbols.bmp
+ ${INSTALL_DATA} ${WRKSRC}/data/objects/armours.rdb ${DATADIR}/objects/armours.rdb
+ ${INSTALL_DATA} ${WRKSRC}/data/objects/ccw.rdb ${DATADIR}/objects/ccw.rdb
+ ${INSTALL_DATA} ${WRKSRC}/data/objects/drugs.rdb ${DATADIR}/objects/drugs.rdb
+ ${INSTALL_DATA} ${WRKSRC}/data/objects/env.rdb ${DATADIR}/objects/env.rdb
+ ${INSTALL_DATA} ${WRKSRC}/data/objects/misc.rdb ${DATADIR}/objects/misc.rdb
+ ${INSTALL_DATA} ${WRKSRC}/data/objects/psybolts.rdb ${DATADIR}/objects/psybolts.rdb
+ ${INSTALL_DATA} ${WRKSRC}/data/objects/rcw.rdb ${DATADIR}/objects/rcw.rdb
+ ${INSTALL_DATA} ${WRKSRC}/data/terrain/terrain.rdb ${DATADIR}/terrain/terrain.rdb
+ ${INSTALL_DATA} ${WRKSRC}/data/text/advance.txt ${DATADIR}/text/advance.txt
+ ${INSTALL_DATA} ${WRKSRC}/data/text/combat.txt ${DATADIR}/text/combat.txt
+ ${INSTALL_DATA} ${WRKSRC}/data/text/credits.txt ${DATADIR}/text/credits.txt
+ ${INSTALL_DATA} ${WRKSRC}/data/text/evoke.txt ${DATADIR}/text/evoke.txt
+ ${INSTALL_DATA} ${WRKSRC}/data/text/hints.txt ${DATADIR}/text/hints.txt
+ ${INSTALL_DATA} ${WRKSRC}/data/text/intro.txt ${DATADIR}/text/intro.txt
+ ${INSTALL_DATA} ${WRKSRC}/data/text/macro.txt ${DATADIR}/text/macro.txt
+ ${INSTALL_DATA} ${WRKSRC}/data/text/modes.txt ${DATADIR}/text/modes.txt
+ ${INSTALL_DATA} ${WRKSRC}/data/text/movement.txt ${DATADIR}/text/movement.txt
+ ${INSTALL_DATA} ${WRKSRC}/data/text/objects.txt ${DATADIR}/text/objects.txt
+ ${INSTALL_DATA} ${WRKSRC}/data/text/parties.txt ${DATADIR}/text/parties.txt
+ ${INSTALL_DATA} ${WRKSRC}/data/text/perks.txt ${DATADIR}/text/perks.txt
+ ${INSTALL_DATA} ${WRKSRC}/data/text/powers.txt ${DATADIR}/text/powers.txt
+ ${INSTALL_DATA} ${WRKSRC}/data/text/stats.txt ${DATADIR}/text/stats.txt
+ ${INSTALL_DATA} ${WRKSRC}/data/text/status.txt ${DATADIR}/text/status.txt
+ ${INSTALL_DATA} ${WRKSRC}/data/text/tactics.txt ${DATADIR}/text/tactics.txt
+ ${INSTALL_DATA} ${WRKSRC}/data/text/terrain.txt ${DATADIR}/text/terrain.txt
+ ${INSTALL_DATA} ${WRKSRC}/data/text/timing.txt ${DATADIR}/text/timing.txt
+ ${INSTALL_DATA} ${WRKSRC}/data/user/keep.me ${DATADIR}/user/keep.me
diff --git a/games/wrogue/pkg-descr b/games/wrogue/pkg-descr
new file mode 100644
index 000000000000..a65ac563fce8
--- /dev/null
+++ b/games/wrogue/pkg-descr
@@ -0,0 +1,4 @@
+Warp Rogue is a gothic science fantasy roguelike game. It features
+RPG-like game mechanics, recruitable NPCs, and a consistent theme.
+
+WWW: http://todoom.sourceforge.net/
diff --git a/games/wrogue/pkg-plist b/games/wrogue/pkg-plist
new file mode 100644
index 000000000000..d68462508fa8
--- /dev/null
+++ b/games/wrogue/pkg-plist
@@ -0,0 +1,53 @@
+bin/wrogue
+%%DATADIR%%/charact/a_career.rdb
+%%DATADIR%%/charact/aliens.rdb
+%%DATADIR%%/charact/b_career.rdb
+%%DATADIR%%/charact/beasts.rdb
+%%DATADIR%%/charact/chaos.rdb
+%%DATADIR%%/charact/human_f.nam
+%%DATADIR%%/charact/human_m.nam
+%%DATADIR%%/charact/imperium.rdb
+%%DATADIR%%/charact/rebels.rdb
+%%DATADIR%%/charact/spawn.rdb
+%%DATADIR%%/config/keys.rdb
+%%DATADIR%%/config/options.rdb
+%%DATADIR%%/graphics/back.bmp
+%%DATADIR%%/graphics/cursor.bmp
+%%DATADIR%%/graphics/icon.bmp
+%%DATADIR%%/graphics/logo.bmp
+%%DATADIR%%/graphics/symbols.bmp
+%%DATADIR%%/objects/armours.rdb
+%%DATADIR%%/objects/ccw.rdb
+%%DATADIR%%/objects/drugs.rdb
+%%DATADIR%%/objects/env.rdb
+%%DATADIR%%/objects/misc.rdb
+%%DATADIR%%/objects/psybolts.rdb
+%%DATADIR%%/objects/rcw.rdb
+%%DATADIR%%/terrain/terrain.rdb
+%%DATADIR%%/text/advance.txt
+%%DATADIR%%/text/combat.txt
+%%DATADIR%%/text/credits.txt
+%%DATADIR%%/text/evoke.txt
+%%DATADIR%%/text/hints.txt
+%%DATADIR%%/text/intro.txt
+%%DATADIR%%/text/macro.txt
+%%DATADIR%%/text/modes.txt
+%%DATADIR%%/text/movement.txt
+%%DATADIR%%/text/objects.txt
+%%DATADIR%%/text/parties.txt
+%%DATADIR%%/text/perks.txt
+%%DATADIR%%/text/powers.txt
+%%DATADIR%%/text/stats.txt
+%%DATADIR%%/text/status.txt
+%%DATADIR%%/text/tactics.txt
+%%DATADIR%%/text/terrain.txt
+%%DATADIR%%/text/timing.txt
+%%DATADIR%%/user/keep.me
+@dirrm %%DATADIR%%/charact
+@dirrm %%DATADIR%%/config
+@dirrm %%DATADIR%%/graphics
+@dirrm %%DATADIR%%/objects
+@dirrm %%DATADIR%%/terrain
+@dirrm %%DATADIR%%/text
+@dirrm %%DATADIR%%/user
+@dirrm %%DATADIR%%