1
0
mirror of https://github.com/openbsd/ports.git synced 2025-12-06 15:59:03 +00:00

Import the MIT-licensed release of zork.

Zork is a classic textual adventure game developed by Infocom. This package
provides the microcomputer version of Zork, which consists of the three
games Zork I: The Great Underground Empire, Zork II: The Wizard of Frobozz,
and Zork III: The Dungeon Master.

ok phessler@
This commit is contained in:
bentley
2025-11-30 11:47:13 +00:00
parent 7405922f5d
commit 913a1a8c0c
5 changed files with 55 additions and 0 deletions

25
games/zork/Makefile Normal file
View File

@@ -0,0 +1,25 @@
COMMENT = game of adventure, danger, and low cunning
DISTNAME = zork-0
DIST_TUPLE += github historicalsource zork1 97b7b3d68c075dd9af7da499c3e9690ada3471fd zork1
DIST_TUPLE += github historicalsource zork2 3da9661098809788a99cef00f00c865c6c204f96 zork2
DIST_TUPLE += github historicalsource zork3 3ec9ed412b5f3cafe65d83c727d07db1fe4a86a8 zork3
CATEGORIES = games
# MIT
PERMIT_PACKAGE = Yes
NO_BUILD = Yes
NO_TEST = Yes
PKG_ARCH = *
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/zork
${INSTALL_DATA} ${WRKSRC}/zork*/COMPILED/*.z3 ${PREFIX}/share/zork
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/zork
${INSTALL_DATA} ${WRKSRC}/zork1/LICENSE ${PREFIX}/share/doc/zork
.include <bsd.port.mk>

6
games/zork/distinfo Normal file
View File

@@ -0,0 +1,6 @@
SHA256 (historicalsource-zork1-97b7b3d68c075dd9af7da499c3e9690ada3471fd.tar.gz) = Bq566O2mAitswSLuICxWkVxjEqf6yslXhe3xHuLFiU0=
SHA256 (historicalsource-zork2-3da9661098809788a99cef00f00c865c6c204f96.tar.gz) = HPjPidVOyJJ+mpCG/eBV0k2ixwvkEG53CgQRnlKw5nI=
SHA256 (historicalsource-zork3-3ec9ed412b5f3cafe65d83c727d07db1fe4a86a8.tar.gz) = 9JRRe2lCrK4icrYyK6ZIufGhx6nuSWwczmcXhs+Uh10=
SIZE (historicalsource-zork1-97b7b3d68c075dd9af7da499c3e9690ada3471fd.tar.gz) = 245586
SIZE (historicalsource-zork2-3da9661098809788a99cef00f00c865c6c204f96.tar.gz) = 355809
SIZE (historicalsource-zork3-3ec9ed412b5f3cafe65d83c727d07db1fe4a86a8.tar.gz) = 491782

4
games/zork/pkg/DESCR Normal file
View File

@@ -0,0 +1,4 @@
Zork is a classic textual adventure game developed by Infocom. This package
provides the microcomputer version of Zork, which consists of the three
games Zork I: The Great Underground Empire, Zork II: The Wizard of Frobozz,
and Zork III: The Dungeon Master.

7
games/zork/pkg/PLIST Normal file
View File

@@ -0,0 +1,7 @@
share/doc/pkg-readmes/${PKGSTEM}
share/doc/zork/
share/doc/zork/LICENSE
share/zork/
share/zork/zork1.z3
share/zork/zork2.z3
share/zork/zork3.z3

13
games/zork/pkg/README Normal file
View File

@@ -0,0 +1,13 @@
+-------------------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-------------------------------------------------------------------------------
Running .z3 files
=================
Zork 1, 2, and 3 are provided in compiled .z3 format in ${PREFIX}/share.
They can be run with an appropriate interpreter installed from another
package, such as frotz(6)/dfrotz(6)/sfrotz(6) from the "frotz" package,
or gargoyle(6) from the "garglk" package:
frotz ${PREFIX}/share/zork/zork1.z3