summaryrefslogtreecommitdiff
path: root/games/level9
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2003-08-24 23:04:09 +0000
committerdillo <dillo@pkgsrc.org>2003-08-24 23:04:09 +0000
commit1ac5d359aaa6adbd519a88a225dc04414cbff505 (patch)
treef6558e7d1b3b609e051bf9ab58adf7f8958dca11 /games/level9
parent86bf1a69a571b5d90795af34682435aa6639a7be (diff)
downloadpkgsrc-1ac5d359aaa6adbd519a88a225dc04414cbff505.tar.gz
Initial import of level9-3.0, an interpreter for Level 9's text adventures.
Diffstat (limited to 'games/level9')
-rw-r--r--games/level9/DESCR4
-rw-r--r--games/level9/Makefile28
-rw-r--r--games/level9/PLIST4
-rw-r--r--games/level9/distinfo4
-rw-r--r--games/level9/files/Makefile10
5 files changed, 50 insertions, 0 deletions
diff --git a/games/level9/DESCR b/games/level9/DESCR
new file mode 100644
index 00000000000..d3e631fb470
--- /dev/null
+++ b/games/level9/DESCR
@@ -0,0 +1,4 @@
+An interpreter for the text adventures by Level 9. Supports versions
+2-4 in many formats, including Spectrum snapshots.
+
+This port uses curses for input/output.
diff --git a/games/level9/Makefile b/games/level9/Makefile
new file mode 100644
index 00000000000..17421676c6a
--- /dev/null
+++ b/games/level9/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/08/24 23:04:09 dillo Exp $
+#
+
+DISTNAME= Level9_3.0_Source
+PKGNAME= level9-3.0
+WRKSRC= ${WRKDIR}/Unix
+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= Curses port of the Level 9 text adventure interpreter
+
+USE_BUILDLINK2= yes
+# uses halfkey (present since 1.6M), but still doesn't work
+USE_NCURSES= yes
+
+post-extract:
+ ${CP} ${FILESDIR}/Makefile ${WRKSRC}
+
+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 "../../devel/ncurses/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/level9/PLIST b/games/level9/PLIST
new file mode 100644
index 00000000000..f3f75801d2b
--- /dev/null
+++ b/games/level9/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/08/24 23:04:09 dillo Exp $
+bin/level9
+share/doc/level9/level9.txt
+@dirrm share/doc/level9
diff --git a/games/level9/distinfo b/games/level9/distinfo
new file mode 100644
index 00000000000..9f26dc0bbf9
--- /dev/null
+++ b/games/level9/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/08/24 23:04:09 dillo Exp $
+
+SHA1 (Level9_3.0_Source.zip) = 57d946b9c10fab8c287e69885e88db70c1bec454
+Size (Level9_3.0_Source.zip) = 211620 bytes
diff --git a/games/level9/files/Makefile b/games/level9/files/Makefile
new file mode 100644
index 00000000000..68de56ceff3
--- /dev/null
+++ b/games/level9/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