Import games/dungeon.
Dungeon, also known as Zork(tm), is a text mode adventure/role-playing game. Originally developed for the PDP-10 and later ported to Fortran and the PDP-11, this version is a translation to C. ok benoit@
This commit is contained in:
parent
c087a26d48
commit
5e04ad1f22
43
games/dungeon/Makefile
Normal file
43
games/dungeon/Makefile
Normal file
@ -0,0 +1,43 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2011/12/06 13:10:38 pascal Exp $
|
||||
|
||||
COMMENT = text adventure game
|
||||
|
||||
DISTNAME = dungeon-2.7s
|
||||
|
||||
CATEGORIES = games
|
||||
|
||||
MAINTAINER = Pascal Stumpf <Pascal.Stumpf@cubes.de>
|
||||
|
||||
# Commercial use prohibited.
|
||||
PERMIT_PACKAGE_CDROM = no commercial use
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =no commercial use
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
WANTLIB = c termcap
|
||||
|
||||
MASTER_SITES = ftp://ftp.ifarchive.org/if-archive/games/source/ \
|
||||
http://mirror.ifarchive.org/if-archive/games/source/ \
|
||||
ftp://ftp.funet.fi/pub/misc/if-archive/games/source/ \
|
||||
http://www.vaxdungeon.com/vax-dungeon/Archive/dungeon/ \
|
||||
http://ifarchive.flavorplex.com/if-archive/games/source/
|
||||
DISTFILES = dungn27s.zip
|
||||
|
||||
ALL_TARGET = dungeon
|
||||
|
||||
WRKDIST = ${WRKDIR}
|
||||
|
||||
post-extract:
|
||||
find ${WRKSRC} -type f | xargs perl -pi -e 's/\015//g; s/\032//g'
|
||||
(cd ${WRKSRC}; for f in `awk '{ print $$1 }' MANIFEST | tail +3`; do \
|
||||
mv `echo $$f | tr a-z A-Z` $$f; done)
|
||||
|
||||
pre-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/dungeon
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/dungeon.6 ${PREFIX}/man/man6
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dungeon
|
||||
${INSTALL_DATA} ${WRKSRC}/History ${PREFIX}/share/doc/dungeon
|
||||
|
||||
.include <bsd.port.mk>
|
5
games/dungeon/distinfo
Normal file
5
games/dungeon/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (dungn27s.zip) = s4z5IT6FvOyl8ySDs30IUg==
|
||||
RMD160 (dungn27s.zip) = ZLytMHoWmi6S9quwgQ11IcHUY6Y=
|
||||
SHA1 (dungn27s.zip) = i2a580vV5JpThNyB7Pkt8V4zDS4=
|
||||
SHA256 (dungn27s.zip) = jF6FFZbIPzSfTF+bOOhOmKjnLSn2IKLVaAnpthn6BdM=
|
||||
SIZE (dungn27s.zip) = 261107
|
25
games/dungeon/patches/patch-Makefile
Normal file
25
games/dungeon/patches/patch-Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2011/12/06 13:10:38 pascal Exp $
|
||||
--- Makefile.orig Thu Dec 1 20:01:45 2011
|
||||
+++ Makefile Thu Dec 1 20:07:14 2011
|
||||
@@ -1,10 +1,10 @@
|
||||
# Makefile for dungeon
|
||||
|
||||
# Where to install the program
|
||||
-BINDIR = /usr/games
|
||||
+BINDIR = ${PREFIX}/bin
|
||||
|
||||
# Where to install the data file
|
||||
-LIBDIR = /usr/games/lib
|
||||
+LIBDIR = ${PREFIX}/share/dungeon
|
||||
|
||||
# The dungeon program provides a ``more'' facility which tries to
|
||||
# figure out how many rows the terminal has. Several mechanisms are
|
||||
@@ -42,7 +42,7 @@ TERMFLAG =
|
||||
# GDTFLAG = -DALLOW_GDT
|
||||
|
||||
# Compilation flags
|
||||
-CFLAGS = -O
|
||||
+#CFLAGS = -O
|
||||
# On SCO Unix Development System 3.2.2a, the const type qualifier does
|
||||
# not work correctly when using cc. The following line will cause it
|
||||
# to not be used and should be uncommented.
|
3
games/dungeon/pkg/DESCR
Normal file
3
games/dungeon/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
Dungeon, also known as Zork(tm), is a text mode adventure/role-playing
|
||||
game. Originally developed for the PDP-10 and later ported to Fortran
|
||||
and the PDP-11, this version is a translation to C.
|
7
games/dungeon/pkg/PLIST
Normal file
7
games/dungeon/pkg/PLIST
Normal file
@ -0,0 +1,7 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/12/06 13:10:38 pascal Exp $
|
||||
@bin bin/dungeon
|
||||
@man man/man6/dungeon.6
|
||||
share/doc/dungeon/
|
||||
share/doc/dungeon/History
|
||||
share/dungeon/
|
||||
share/dungeon/dtextc.dat
|
Loading…
Reference in New Issue
Block a user