pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/games/Zork-II
Module Name: pkgsrc
Committed By: jnemeth
Date: Mon Jun 29 15:27:21 UTC 2026
Added Files:
pkgsrc/games/Zork-II: DESCR Makefile PLIST distinfo options.mk
Log Message:
games/Zork-II: import Zork-II-1.0
Zork II: The Wizard of Frobozz
This is Zork, the famous text adventure game from 1977.
Through a number of subsidiaries, it is now owned by Microsoft and
they have chosen to re-release it under the MIT license.
This package is the second installment of the multi-part version,
which was released in 1981.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/games/Zork-II/DESCR \
pkgsrc/games/Zork-II/Makefile pkgsrc/games/Zork-II/PLIST \
pkgsrc/games/Zork-II/distinfo pkgsrc/games/Zork-II/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/games/Zork-II/DESCR
diff -u /dev/null pkgsrc/games/Zork-II/DESCR:1.1
--- /dev/null Mon Jun 29 15:27:21 2026
+++ pkgsrc/games/Zork-II/DESCR Mon Jun 29 15:27:21 2026
@@ -0,0 +1,9 @@
+Zork II: The Wizard of Frobozz
+
+This is Zork, the famous text adventure game from 1977.
+
+Through a number of subsidiaries, it is now owned by Microsoft and
+they have chosen to re-release it under the MIT license.
+
+This package is the second installment of the multi-part version,
+which was released in 1981.
Index: pkgsrc/games/Zork-II/Makefile
diff -u /dev/null pkgsrc/games/Zork-II/Makefile:1.1
--- /dev/null Mon Jun 29 15:27:21 2026
+++ pkgsrc/games/Zork-II/Makefile Mon Jun 29 15:27:21 2026
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2026/06/29 15:27:21 jnemeth Exp $
+
+DISTNAME= zork2
+PKGNAME= Zork-II-1.0 # fake version number as this will never change
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_GITHUB:=historicalsource/zork2/raw/refs/heads/master/COMPILED/}
+EXTRACT_SUFX= .z3
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://opensource.microsoft.com/blog/2025/11/20/preserving-code-that-shaped-generations-zork-i-ii-and-iii-go-open-source
+COMMENT= ZORK II: The Wizard of Frobozz
+LICENSE= mit
+
+WRKSRC= ${WRKDIR}
+INSTALLATION_DIRS+= games/zcode
+
+NO_CONFIGURE= yes
+NO_BUILD= yes
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/zork2.z3 ${DESTDIR}${PREFIX}/games/zcode
+
+.include "options.mk"
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/games/Zork-II/PLIST
diff -u /dev/null pkgsrc/games/Zork-II/PLIST:1.1
--- /dev/null Mon Jun 29 15:27:21 2026
+++ pkgsrc/games/Zork-II/PLIST Mon Jun 29 15:27:21 2026
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2026/06/29 15:27:21 jnemeth Exp $
+games/zcode/zork2.z3
Index: pkgsrc/games/Zork-II/distinfo
diff -u /dev/null pkgsrc/games/Zork-II/distinfo:1.1
--- /dev/null Mon Jun 29 15:27:21 2026
+++ pkgsrc/games/Zork-II/distinfo Mon Jun 29 15:27:21 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/06/29 15:27:21 jnemeth Exp $
+
+BLAKE2s (zork2.z3) = 9d64dc49b05829571163db7127814789033dfcc2ef06dcad204e2d1d8b01f7c8
+SHA512 (zork2.z3) = 3177a621719f124aec203c8d6397bf5d462526c0ac570f41933ea8dbdbb6105538d642da629d1fdf594d7335193c97861e42d97f2c419e9aac4c17c93d82aae9
+Size (zork2.z3) = 92524 bytes
Index: pkgsrc/games/Zork-II/options.mk
diff -u /dev/null pkgsrc/games/Zork-II/options.mk:1.1
--- /dev/null Mon Jun 29 15:27:21 2026
+++ pkgsrc/games/Zork-II/options.mk Mon Jun 29 15:27:21 2026
@@ -0,0 +1,20 @@
+# $NetBSD: options.mk,v 1.1 2026/06/29 15:27:21 jnemeth Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.zork
+PKG_OPTIONS_REQUIRED_GROUPS= z-machine
+PKG_OPTIONS_GROUP.z-machine= frotz xzip zoom
+PKG_SUGGESTED_OPTIONS= frotz
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mfrotz)
+DEPENDS+= frotz-[0-9]*:../../games/frotz
+.endif
+
+.if !empty(PKG_OPTIONS:Mxzip)
+DEPENDS+= xzip-[0-9]*:../../games/xzip
+.endif
+
+.if !empty(PKG_OPTIONS:Mzoom)
+DEPENDS+= zoom-[0-9]*:../../games/zoom
+.endif
Home |
Main Index |
Thread Index |
Old Index