diff --git a/games/zork/Makefile b/games/zork/Makefile new file mode 100644 index 00000000000..9ce310f78ee --- /dev/null +++ b/games/zork/Makefile @@ -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 diff --git a/games/zork/distinfo b/games/zork/distinfo new file mode 100644 index 00000000000..79ba2d5addb --- /dev/null +++ b/games/zork/distinfo @@ -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 diff --git a/games/zork/pkg/DESCR b/games/zork/pkg/DESCR new file mode 100644 index 00000000000..62272a932be --- /dev/null +++ b/games/zork/pkg/DESCR @@ -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. diff --git a/games/zork/pkg/PLIST b/games/zork/pkg/PLIST new file mode 100644 index 00000000000..774d7cb4115 --- /dev/null +++ b/games/zork/pkg/PLIST @@ -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 diff --git a/games/zork/pkg/README b/games/zork/pkg/README new file mode 100644 index 00000000000..24f03b4d629 --- /dev/null +++ b/games/zork/pkg/README @@ -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