diff options
author | dillo <dillo@pkgsrc.org> | 2005-11-01 14:56:14 +0000 |
---|---|---|
committer | dillo <dillo@pkgsrc.org> | 2005-11-01 14:56:14 +0000 |
commit | 33d748249d28961bdec7e85617fe6989f13922db (patch) | |
tree | 1cb74ae1a34353a37ea412c3cdae57595c1f43ab /games | |
parent | 34bb7c8ab1f1a272caf0ac3f47e24e287457e9c3 (diff) | |
download | pkgsrc-33d748249d28961bdec7e85617fe6989f13922db.tar.gz |
Initial import of gtklevel9 4.0, a GTK+ port of the Level 9 text
adventure interpreter.
Diffstat (limited to 'games')
-rw-r--r-- | games/gtklevel9/DESCR | 5 | ||||
-rw-r--r-- | games/gtklevel9/Makefile | 24 | ||||
-rw-r--r-- | games/gtklevel9/PLIST | 4 | ||||
-rw-r--r-- | games/gtklevel9/distinfo | 6 | ||||
-rw-r--r-- | games/gtklevel9/files/Makefile | 10 | ||||
-rw-r--r-- | games/gtklevel9/patches/patch-aa | 22 |
6 files changed, 71 insertions, 0 deletions
diff --git a/games/gtklevel9/DESCR b/games/gtklevel9/DESCR new file mode 100644 index 00000000000..c4ec7dbc814 --- /dev/null +++ b/games/gtklevel9/DESCR @@ -0,0 +1,5 @@ +An interpreter for the text adventures by Level 9. Supports versions +2-4 in many formats, including Spectrum snapshots. + +This port uses gtk for input/output and supports both line-drawing +and bitmap graphics. diff --git a/games/gtklevel9/Makefile b/games/gtklevel9/Makefile new file mode 100644 index 00000000000..612968b36f9 --- /dev/null +++ b/games/gtklevel9/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/11/01 14:56:14 dillo Exp $ + +DISTNAME= Level9_4.0_Source +PKGNAME= gtklevel9-4.0 +CATEGORIES= games +MASTER_SITES= http://www.ifarchive.org/if-archive/level9/interpreters/level9/ +EXTRACT_SUFX= .zip + +MAINTAINER= dillo@NetBSD.org +HOMEPAGE= http://www.ifarchive.org/if-archive/level9/interpreters/level9/ +COMMENT= GTK+ port of the Level 9 text adventure interpreter + +WRKSRC= ${WRKDIR}/Gtk + +INSTALLATION_DIRS= bin +BUILD_TARGET= gtklevel9 + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/level9 + ${INSTALL_DATA} ${WRKDIR}/level9.txt ${PREFIX}/share/doc/level9 + ${INSTALL_PROGRAM} ${WRKSRC}/level9 ${PREFIX}/bin + +.include "../../x11/gtk2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/games/gtklevel9/PLIST b/games/gtklevel9/PLIST new file mode 100644 index 00000000000..f9d92774515 --- /dev/null +++ b/games/gtklevel9/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/01 14:56:14 dillo Exp $ +bin/level9 +share/doc/level9/level9.txt +@dirrm share/doc/level9 diff --git a/games/gtklevel9/distinfo b/games/gtklevel9/distinfo new file mode 100644 index 00000000000..c616c6e6f44 --- /dev/null +++ b/games/gtklevel9/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/11/01 14:56:14 dillo Exp $ + +SHA1 (Level9_4.0_Source.zip) = 7bbd0a675aa66067745b2d850d07eaa2b08fd452 +RMD160 (Level9_4.0_Source.zip) = 224b2b3414da53e8dd7c3a253468b078c09a0e4f +Size (Level9_4.0_Source.zip) = 294428 bytes +SHA1 (patch-aa) = 304bcbbac41d95e93ead470bbb2d67234c0a2f76 diff --git a/games/gtklevel9/files/Makefile b/games/gtklevel9/files/Makefile new file mode 100644 index 00000000000..68de56ceff3 --- /dev/null +++ b/games/gtklevel9/files/Makefile @@ -0,0 +1,10 @@ +all: level9 + +level9: level9.o unix-curses.o + ${CC} ${LDFLAGS} -o level9 level9.o unix-curses.o -lncurses + +unix-curses.o: unix-curses.c ../level9.h + ${CC} -I.. ${CFLAGS} -c unix-curses.c + +level9.o: ../level9.c ../level9.h + ${CC} -I.. ${CFLAGS} -c ../level9.c diff --git a/games/gtklevel9/patches/patch-aa b/games/gtklevel9/patches/patch-aa new file mode 100644 index 00000000000..f0f6acae3dd --- /dev/null +++ b/games/gtklevel9/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/11/01 14:56:14 dillo Exp $ + +--- Makefile.orig 2005-07-26 12:03:48.000000000 +0200 ++++ Makefile +@@ -18,7 +18,7 @@ + ######################################################################## + + # OPTIMIZE_CFLAGS = -g +-OPTIMIZE_CFLAGS = -O2 -DG_DISABLE_ASSERT ++OPTIMIZE_CFLAGS = -DG_DISABLE_ASSERT + + # EXTRA_CFLAGS = -DGTK_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED + EXTRA_CFLAGS = +@@ -27,7 +27,7 @@ LEVEL9 = .. + + ####################################################################### + +-CC = gcc ++#CC = gcc + + OBJS = level9.o main.o config.o gui.o text.o graphics.o util.o + |