pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games/Zork-I



Module Name:    pkgsrc
Committed By:   jnemeth
Date:           Mon Jun 29 15:26:07 UTC 2026

Added Files:
        pkgsrc/games/Zork-I: DESCR Makefile PLIST distinfo options.mk

Log Message:
games/Zork-I: import Zork-I-1.0

Zork I: The Great Underground Empire

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 first installment of the multi-part version,
which was released in 1980.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/games/Zork-I/DESCR pkgsrc/games/Zork-I/Makefile \
    pkgsrc/games/Zork-I/PLIST pkgsrc/games/Zork-I/distinfo \
    pkgsrc/games/Zork-I/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-I/DESCR
diff -u /dev/null pkgsrc/games/Zork-I/DESCR:1.1
--- /dev/null   Mon Jun 29 15:26:07 2026
+++ pkgsrc/games/Zork-I/DESCR   Mon Jun 29 15:26:07 2026
@@ -0,0 +1,9 @@
+Zork I: The Great Underground Empire
+
+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 first installment of the multi-part version,
+which was released in 1980.
Index: pkgsrc/games/Zork-I/Makefile
diff -u /dev/null pkgsrc/games/Zork-I/Makefile:1.1
--- /dev/null   Mon Jun 29 15:26:07 2026
+++ pkgsrc/games/Zork-I/Makefile        Mon Jun 29 15:26:07 2026
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2026/06/29 15:26:07 jnemeth Exp $
+
+DISTNAME=      zork1
+PKGNAME=       Zork-I-1.0      # fake version number as this will never change
+CATEGORIES=    games
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=historicalsource/zork1/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 I: The Great Underground Empire
+LICENSE=       mit
+
+WRKSRC=                ${WRKDIR}
+INSTALLATION_DIRS+=    games/zcode
+
+NO_CONFIGURE=  yes
+NO_BUILD=      yes
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/zork1.z3 ${DESTDIR}${PREFIX}/games/zcode
+
+.include "options.mk"
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/games/Zork-I/PLIST
diff -u /dev/null pkgsrc/games/Zork-I/PLIST:1.1
--- /dev/null   Mon Jun 29 15:26:07 2026
+++ pkgsrc/games/Zork-I/PLIST   Mon Jun 29 15:26:07 2026
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2026/06/29 15:26:07 jnemeth Exp $
+games/zcode/zork1.z3
Index: pkgsrc/games/Zork-I/distinfo
diff -u /dev/null pkgsrc/games/Zork-I/distinfo:1.1
--- /dev/null   Mon Jun 29 15:26:07 2026
+++ pkgsrc/games/Zork-I/distinfo        Mon Jun 29 15:26:07 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/06/29 15:26:07 jnemeth Exp $
+
+BLAKE2s (zork1.z3) = ab279a03d89a08c52beb1814f2bb0edd8106983a7184731435e2034f985227d4
+SHA512 (zork1.z3) = 34730ee578c36270230f795de451f8cd186143d072598266f4adc8baea083ef19ba8662f2eb77dd8a71deb30fdb7ae80d13ebb7cb7059f43d5052971ea2ff0f1
+Size (zork1.z3) = 86838 bytes
Index: pkgsrc/games/Zork-I/options.mk
diff -u /dev/null pkgsrc/games/Zork-I/options.mk:1.1
--- /dev/null   Mon Jun 29 15:26:07 2026
+++ pkgsrc/games/Zork-I/options.mk      Mon Jun 29 15:26:07 2026
@@ -0,0 +1,20 @@
+# $NetBSD: options.mk,v 1.1 2026/06/29 15:26:07 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