diff options
author | hubertf <hubertf> | 2001-10-17 21:51:15 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2001-10-17 21:51:15 +0000 |
commit | 90219bf87a345fad0b769de3ae7868b191d0e6fe (patch) | |
tree | 9f2fc57d7c0ad208cc6f3d98a85dde1c62f009d7 /games/iso-pernangband | |
parent | 565f7b19c970aa3744aacd38e870b7ca2de949c3 (diff) | |
download | pkgsrc-90219bf87a345fad0b769de3ae7868b191d0e6fe.tar.gz |
Iso-Angband is an isometric (pseudo 3D) view for PernAngband
Submitted by collver@linuxfreemail.com in PR 14273
Diffstat (limited to 'games/iso-pernangband')
-rw-r--r-- | games/iso-pernangband/Makefile | 49 | ||||
-rw-r--r-- | games/iso-pernangband/distinfo | 5 | ||||
-rw-r--r-- | games/iso-pernangband/patches/patch-aa | 22 | ||||
-rw-r--r-- | games/iso-pernangband/pkg/DESCR | 1 | ||||
-rw-r--r-- | games/iso-pernangband/pkg/PLIST | 252 |
5 files changed, 329 insertions, 0 deletions
diff --git a/games/iso-pernangband/Makefile b/games/iso-pernangband/Makefile new file mode 100644 index 00000000000..cb90630134c --- /dev/null +++ b/games/iso-pernangband/Makefile @@ -0,0 +1,49 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/10/17 21:51:15 hubertf Exp $ +# + +DISTNAME= iso-pern_src-0_2_6 +PKGNAME= iso-pernangband-0.2.6 +WRKSRC= ${WRKDIR}/iso-pern_src/src +CATEGORIES= games +MASTER_SITES= http://www.simugraph.com/simutrans/data/ + +MAINTAINER= collver@linuxfreemail.com +HOMEPAGE= http://www.isoband.cjb.net +COMMENT= isometric (pseudo 3D) view for Angband + +USE_BUILDLINK_ONLY= yes +USE_GMAKE= yes +USE_X11= yes + +post-patch: + ${CP} ${WRKSRC}/simugraph/simgraph.c ${WRKSRC}/simugraph/simgraph.c.orig + ${SED} -e "s,\./,${PREFIX}/share/iso-pernangband/," \ + -e "s,\([a-z0-9]*\.pak\),${PREFIX}/share/iso-pernangband/\1," \ + <${WRKSRC}/simugraph/simgraph.c.orig \ + >${WRKSRC}/simugraph/simgraph.c + + # change keymap to match isometric view, much more convenient + ${CP} ${WRKSRC}/../lib/user/pref-sdl.prf \ + ${WRKSRC}/../lib/user/pref-sdl.prf.orig + ${SED} -e 's,1$,2,' -e 's,2$,3,' -e 's,3$,6,' -e 's,4$,1,' \ + -e 's,6$,9,' -e 's,7$,4,' -e 's,8$,7,' -e 's,9$,8,' \ + <${WRKSRC}/../lib/user/pref-sdl.prf.orig \ + >${WRKSRC}/../lib/user/pref-sdl.prf + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/iso-pernangband + ${CP} -R ${WRKSRC}/../lib/* ${PREFIX}/share/iso-pernangband + ${INSTALL_DATA} \ + ${WRKSRC}/../daten.pak \ + ${WRKSRC}/../daten2.pak \ + ${WRKSRC}/../draw.fnt \ + ${PREFIX}/share/iso-pernangband + ${CHOWN} -R bin:games ${PREFIX}/share/iso-pernangband + ${CHMOD} -R 0664 ${PREFIX}/share/iso-pernangband + ${FIND} ${PREFIX}/share/iso-pernangband -type d | ${XARGS} ${CHMOD} 0775 + ${INSTALL} -c -s -o bin -g games -m 2755 \ + ${WRKSRC}/testing \ + ${PREFIX}/bin/iso-pernangband + +.include "../../devel/SDL/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/games/iso-pernangband/distinfo b/games/iso-pernangband/distinfo new file mode 100644 index 00000000000..5fd9ac48773 --- /dev/null +++ b/games/iso-pernangband/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/10/17 21:51:15 hubertf Exp $ + +SHA1 (iso-pern_src-0_2_6.tar.gz) = f71a815e4942dbf59dc6611abf5b538c8a8d1519 +Size (iso-pern_src-0_2_6.tar.gz) = 2432783 bytes +SHA1 (patch-aa) = 39dcd646fc56d2cfd8a178b52013f8d46c43bbb1 diff --git a/games/iso-pernangband/patches/patch-aa b/games/iso-pernangband/patches/patch-aa new file mode 100644 index 00000000000..159029e2a66 --- /dev/null +++ b/games/iso-pernangband/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/10/17 21:51:15 hubertf Exp $ + +--- Makefile.orig Sun May 20 07:01:06 2001 ++++ Makefile +@@ -132,14 +132,14 @@ + ## Variation -- Only support "main-x11.c" (not "main-gcu.c") + ## + # CFLAGS = -Wall -O1 -pipe -g -D"USE_ISOV_X11" -D"USE_TRANSPARENCY" +-CFLAGS = -Wall -O1 -pipe -g -D"USE_SDL" -D"USE_ISOV" -D"USE_TRANSPARENCY" ++CFLAGS = -Wall -O1 -pipe -g -D"USE_SDL" -D"USE_ISOV" -D"USE_TRANSPARENCY" -DDEFAULT_PATH="\"${PREFIX}/share/iso-pernangband\"" + + # Hajo: + # the -fpermissive is neccesary because angband.h is not Ansi C++ + # compliant but I don't want to change angband.h +-CXXFLAGS = -Wall -O1 -fpermissive -pipe -g -I./simugraph -D"USE_ISOV_X11" -D"USE_TRANSPARENCY" ++CXXFLAGS = -Wall -O1 -pipe -g -I./simugraph -D"USE_ISOV_X11" -D"USE_TRANSPARENCY" + # LIBS = -lX11 -lXext -L/usr/X11R6/lib +-LIBS = -lX11 -lXext -lSDL -lpthread -L/usr/X11R6/lib ++LIBS = -lX11 -lXext -lSDL -lXxf86dga -lXxf86vm -lpthread -L/usr/X11R6/lib + + + ## diff --git a/games/iso-pernangband/pkg/DESCR b/games/iso-pernangband/pkg/DESCR new file mode 100644 index 00000000000..f338cf025f3 --- /dev/null +++ b/games/iso-pernangband/pkg/DESCR @@ -0,0 +1 @@ +Iso-Angband is an isometric (pseudo 3D) view for PernAngband. diff --git a/games/iso-pernangband/pkg/PLIST b/games/iso-pernangband/pkg/PLIST new file mode 100644 index 00000000000..153439977cb --- /dev/null +++ b/games/iso-pernangband/pkg/PLIST @@ -0,0 +1,252 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/10/17 21:51:15 hubertf Exp $ +bin/iso-pernangband +share/iso-pernangband/apex/scores.raw +share/iso-pernangband/bone/bone004.001 +share/iso-pernangband/bone/bone004.002 +share/iso-pernangband/bone/bone004.003 +share/iso-pernangband/bone/bone004.004 +share/iso-pernangband/bone/bone004.005 +share/iso-pernangband/bone/bone004.006 +share/iso-pernangband/bone/bone004.008 +share/iso-pernangband/bone/bone004.009 +share/iso-pernangband/bone/bone001.012 +share/iso-pernangband/data/delete.me +share/iso-pernangband/daten.pak +share/iso-pernangband/daten2.pak +share/iso-pernangband/draw.fnt +share/iso-pernangband/dngn/dun18.0 +share/iso-pernangband/dngn/dun18.1 +share/iso-pernangband/dngn/dun18.2 +share/iso-pernangband/dngn/dun18.3 +share/iso-pernangband/dngn/dun18.4 +share/iso-pernangband/dngn/dun18.5 +share/iso-pernangband/dngn/dun18.6 +share/iso-pernangband/dngn/dun18.7 +share/iso-pernangband/dngn/dun18.8 +share/iso-pernangband/dngn/dun22.10 +share/iso-pernangband/dngn/dun24.0 +share/iso-pernangband/edit/a_info.txt +share/iso-pernangband/edit/ba_info.txt +share/iso-pernangband/edit/d_info.txt +share/iso-pernangband/edit/e_info.txt +share/iso-pernangband/edit/f_info.txt +share/iso-pernangband/edit/k_info.txt +share/iso-pernangband/edit/misc.txt +share/iso-pernangband/edit/numenor.txt +share/iso-pernangband/edit/ow_info.txt +share/iso-pernangband/edit/q0000001.txt +share/iso-pernangband/edit/q0000019.txt +share/iso-pernangband/edit/q0000020.txt +share/iso-pernangband/edit/q0000021.txt +share/iso-pernangband/edit/q0000022.txt +share/iso-pernangband/edit/q00000ms.txt +share/iso-pernangband/edit/q0000inn.txt +share/iso-pernangband/edit/q000sorc.txt +share/iso-pernangband/edit/q005army.txt +share/iso-pernangband/edit/q00water.txt +share/iso-pernangband/edit/q_info.txt +share/iso-pernangband/edit/q_lor1.txt +share/iso-pernangband/edit/q_lor2.txt +share/iso-pernangband/edit/q_morgot.txt +share/iso-pernangband/edit/q_pref.txt +share/iso-pernangband/edit/q_random.txt +share/iso-pernangband/edit/q_sauron.txt +share/iso-pernangband/edit/q_shelob.txt +share/iso-pernangband/edit/q_thread.txt +share/iso-pernangband/edit/q_warg.txt +share/iso-pernangband/edit/r_info.txt +share/iso-pernangband/edit/re_info.txt +share/iso-pernangband/edit/st_info.txt +share/iso-pernangband/edit/t0000001.txt~ +share/iso-pernangband/edit/t0000001.txt +share/iso-pernangband/edit/t0000003.txt +share/iso-pernangband/edit/t_basic.txt +share/iso-pernangband/edit/t_gondol.txt +share/iso-pernangband/edit/t_info.txt +share/iso-pernangband/edit/t_lorien.txt +share/iso-pernangband/edit/t_pref.txt +share/iso-pernangband/edit/tr_info.txt +share/iso-pernangband/edit/v_info.txt +share/iso-pernangband/edit/volcano.txt +share/iso-pernangband/edit/w_info.txt +share/iso-pernangband/edit/wf_info.txt +share/iso-pernangband/file/a_cursed.txt +share/iso-pernangband/file/a_high.txt +share/iso-pernangband/file/a_low.txt +share/iso-pernangband/file/a_med.txt +share/iso-pernangband/file/bravado.txt +share/iso-pernangband/file/book-0.txt +share/iso-pernangband/file/book-1.txt +share/iso-pernangband/file/book-2.txt +share/iso-pernangband/file/book-4.txt +share/iso-pernangband/file/book-6.txt +share/iso-pernangband/file/book-7.txt +share/iso-pernangband/file/book-8.txt +share/iso-pernangband/file/book-9.txt +share/iso-pernangband/file/book-10.txt +share/iso-pernangband/file/book-11.txt +share/iso-pernangband/file/book-12.txt +share/iso-pernangband/file/book-13.txt +share/iso-pernangband/file/book-14.txt +share/iso-pernangband/file/book-15.txt +share/iso-pernangband/file/book-16.txt +share/iso-pernangband/file/book-17.txt +share/iso-pernangband/file/book-18.txt +share/iso-pernangband/file/book-19.txt +share/iso-pernangband/file/book-20.txt +share/iso-pernangband/file/book-101.txt +share/iso-pernangband/file/book-102.txt +share/iso-pernangband/file/book-103.txt +share/iso-pernangband/file/book-104.txt +share/iso-pernangband/file/book-105.txt +share/iso-pernangband/file/book-106.txt +share/iso-pernangband/file/book-107.txt +share/iso-pernangband/file/book-200.txt +share/iso-pernangband/file/book-201.txt +share/iso-pernangband/file/book-202.txt +share/iso-pernangband/file/book-203.txt +share/iso-pernangband/file/chainswd.txt +share/iso-pernangband/file/crime.txt +share/iso-pernangband/file/dam_huge.txt +share/iso-pernangband/file/dam_lots.txt +share/iso-pernangband/file/dam_med.txt +share/iso-pernangband/file/dam_none.txt +share/iso-pernangband/file/dam_xxx.txt +share/iso-pernangband/file/dead.txt +share/iso-pernangband/file/death.txt +share/iso-pernangband/file/elvish.txt +share/iso-pernangband/file/error.txt +share/iso-pernangband/file/mondeath.txt +share/iso-pernangband/file/monfear.txt +share/iso-pernangband/file/monspeak.txt +share/iso-pernangband/file/news.txt +share/iso-pernangband/file/news.txt~ +share/iso-pernangband/file/rart_f.txt +share/iso-pernangband/file/rart_s.txt +share/iso-pernangband/file/readme! +share/iso-pernangband/file/rumors.txt +share/iso-pernangband/file/sample.txt +share/iso-pernangband/file/sfail.txt +share/iso-pernangband/file/silly.txt +share/iso-pernangband/file/smeagol.txt +share/iso-pernangband/file/smeagolr.txt +share/iso-pernangband/file/speakpet.txt +share/iso-pernangband/file/timenorm.txt +share/iso-pernangband/file/timefun.txt +share/iso-pernangband/file/w_cursed.txt +share/iso-pernangband/file/w_high.txt +share/iso-pernangband/file/w_low.txt +share/iso-pernangband/file/w_med.txt +share/iso-pernangband/help/#version.txt# +share/iso-pernangband/help/TANG.txt +share/iso-pernangband/help/arena.txt +share/iso-pernangband/help/attack.txt +share/iso-pernangband/help/birth.txt +share/iso-pernangband/help/bldg.txt +share/iso-pernangband/help/command.txt +share/iso-pernangband/help/dungeon.txt +share/iso-pernangband/help/fatespoil.txt +share/iso-pernangband/help/gambling.txt +share/iso-pernangband/help/general.txt +share/iso-pernangband/help/gods.txt +share/iso-pernangband/help/godspoil.txt +share/iso-pernangband/help/help.hlp +share/iso-pernangband/help/magic.txt +share/iso-pernangband/help/option.txt +share/iso-pernangband/help/spoiler.hlp +share/iso-pernangband/help/version.txt +share/iso-pernangband/info/delete.me +share/iso-pernangband/pref/delete.me +share/iso-pernangband/save/delete.me +share/iso-pernangband/user/Bombardi.nte +share/iso-pernangband/user/Onalic.nte +share/iso-pernangband/user/Hajo.nte +share/iso-pernangband/user/Tonk.nte +share/iso-pernangband/user/Vuiurk.nte +share/iso-pernangband/user/Wanwan.nte +share/iso-pernangband/user/colors.prf +share/iso-pernangband/user/dump.txt +share/iso-pernangband/user/font.prf +share/iso-pernangband/user/font-ami.prf +share/iso-pernangband/user/font-dos.prf +share/iso-pernangband/user/font-ibm.prf +share/iso-pernangband/user/font-mac.prf +share/iso-pernangband/user/font-win.prf +share/iso-pernangband/user/font-x11.prf +share/iso-pernangband/user/font-xxx.prf +share/iso-pernangband/user/graf.prf +share/iso-pernangband/user/graf-ami.prf +share/iso-pernangband/user/graf-dos.prf +share/iso-pernangband/user/graf-ibm.prf +share/iso-pernangband/user/graf-mac.prf +share/iso-pernangband/user/graf-new.prf +share/iso-pernangband/user/graf-win.prf +share/iso-pernangband/user/graf-x11.prf +share/iso-pernangband/user/graf-xxx.prf +share/iso-pernangband/user/graf-iso.prf +share/iso-pernangband/user/graf-x11.prf~ +share/iso-pernangband/user/graf-iso.prf~ +share/iso-pernangband/user/graf-new.prf~ +share/iso-pernangband/user/graf-iso.prf.bak +share/iso-pernangband/user/pref.prf +share/iso-pernangband/user/pref-acn.prf +share/iso-pernangband/user/pref-ami.prf +share/iso-pernangband/user/pref-emx.prf +share/iso-pernangband/user/pref-gcu.prf +share/iso-pernangband/user/pref-mac.prf +share/iso-pernangband/user/pref-win.prf +share/iso-pernangband/user/pref-x11.prf +share/iso-pernangband/user/user.prf +share/iso-pernangband/user/user-dos.prf +share/iso-pernangband/user/xtra-gcu.prf +share/iso-pernangband/user/xtra-new.prf +share/iso-pernangband/user/xtra-xxx.prf +share/iso-pernangband/user/graf.prf~ +share/iso-pernangband/user/pref.prf~ +share/iso-pernangband/user/pref-sdl.prf +share/iso-pernangband/user/pref-sdl.prf.orig +share/iso-pernangband/user/graf-sdl.prf +share/iso-pernangband/user/graf-sdl.prf~ +share/iso-pernangband/xtra/ANGBAND.FNT +share/iso-pernangband/xtra/sound/DELETE.ME +share/iso-pernangband/xtra/sound/Sound.cfg +share/iso-pernangband/xtra/sound/readme.txt +share/iso-pernangband/xtra/music/DELETE.ME +share/iso-pernangband/xtra/font/8x16kana-jisx0201.1976.hex +share/iso-pernangband/xtra/font/12x24-blah-jis.hex +share/iso-pernangband/xtra/graf/16x16.gif +share/iso-pernangband/xtra/font/18x25-b&h-lucidatypewriter.hex +share/iso-pernangband/xtra/font/3x5.hex +share/iso-pernangband/xtra/graf/8X8.gif +share/iso-pernangband/xtra/graf/backgrnd.gif +share/iso-pernangband/xtra/font/comic20x24.hex +share/iso-pernangband/xtra/font/def8x16.hex +share/iso-pernangband/xtra/font/jmk8x12-modd-bold-r-semicond.hex +share/iso-pernangband/xtra/font/marumoji-8x14.hex +share/iso-pernangband/xtra/font/misc5x7.hex +share/iso-pernangband/xtra/font/misc6x13.hex +share/iso-pernangband/xtra/font/nethack10x19-10.hex +share/iso-pernangband/xtra/font/symbadobe.hex +share/iso-pernangband/xtra/font/xm4x6.fnt +share/iso-pernangband/xtra/font/xm8x13.fnt +share/iso-pernangband/xtra/font/xm8x13b.fnt +share/iso-pernangband/xtra/font/xm8x16.fnt +share/iso-pernangband/xtra/font/vga8x16.hex +share/iso-pernangband/xtra/font/vga11x19.hex +@unexec rm -r %D/share/iso-pernangband/apex +@unexec rm -r %D/share/iso-pernangband/bone +@unexec rm -r %D/share/iso-pernangband/data +@unexec rm -r %D/share/iso-pernangband/save +@dirrm share/iso-pernangband/dngn +@dirrm share/iso-pernangband/edit +@dirrm share/iso-pernangband/file +@dirrm share/iso-pernangband/help +@dirrm share/iso-pernangband/info +@dirrm share/iso-pernangband/pref +@dirrm share/iso-pernangband/user +@dirrm share/iso-pernangband/xtra/font +@dirrm share/iso-pernangband/xtra/graf +@dirrm share/iso-pernangband/xtra/music +@dirrm share/iso-pernangband/xtra/sound +@dirrm share/iso-pernangband/xtra +@dirrm share/iso-pernangband |