git: ec77ae3d2bd1 - main - games/open-adventure: upgrade to version 1.21
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 May 2026 20:17:45 UTC
The branch main has been updated by se:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ec77ae3d2bd19b44054fb3f1f5238823415021b8
commit ec77ae3d2bd19b44054fb3f1f5238823415021b8
Author: Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2026-05-20 20:13:07 +0000
Commit: Stefan Eßer <se@FreeBSD.org>
CommitDate: 2026-05-20 20:13:07 +0000
games/open-adventure: upgrade to version 1.21
Changes relative to the previous port version 1.16:
* Saying Z’ZZZ at reservoir no longer causes the waters to part
and crash.
* Man-page has been brought up-to-date.
* Ensure that the KNIVES_VANISH message can’t issue twice.
* Make oldstyle correctly suppress line editing.
* Code-hardening and spell-checking of texts.
---
games/open-adventure/Makefile | 12 ++++++++----
games/open-adventure/distinfo | 6 +++---
games/open-adventure/files/patch-advent.adoc | 10 ++++++++++
3 files changed, 21 insertions(+), 7 deletions(-)
diff --git a/games/open-adventure/Makefile b/games/open-adventure/Makefile
index ab21fb9e9f49..32ffce7ef0f7 100644
--- a/games/open-adventure/Makefile
+++ b/games/open-adventure/Makefile
@@ -1,6 +1,5 @@
PORTNAME= open-adventure
-PORTVERSION= 1.16
-PORTREVISION= 2
+PORTVERSION= 1.21
CATEGORIES= games
MAINTAINER= se@FreeBSD.org
@@ -8,6 +7,7 @@ COMMENT= Modernized version of the original Colossal Cave Adventure game
WWW= http://www.catb.org/~esr/open-adventure/
LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} \
a2x:textproc/asciidoc
@@ -15,19 +15,23 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} \
USES= gmake libedit pkgconfig python:build
USE_GITLAB= yes
GL_ACCOUNT= esr
-GL_TAGNAME= ${PORTVERSION}
MAKE_ENV= CCFLAGS="${CFLAGS}"
ALL_TARGET= advent
PLIST_FILES= bin/advent \
+ share/applications/advent.desktop \
+ share/icons/advent/advent.svg \
share/man/man6/advent.6.gz
pre-build:
- cd ${WRKSRC}; ${PYTHON_CMD} make_dungeon.py; a2x -f manpage advent.adoc
+ cd ${WRKSRC}; ${PYTHON_CMD} make_dungeon.py && a2x -f manpage advent.adoc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/advent ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/advent.6 ${STAGEDIR}${PREFIX}/share/man/man6
+ ${INSTALL_DATA} ${WRKSRC}/advent.desktop ${STAGEDIR}${PREFIX}/share/applications
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/advent
+ ${INSTALL_DATA} ${WRKSRC}/advent.svg ${STAGEDIR}${PREFIX}/share/icons/advent
.include <bsd.port.mk>
diff --git a/games/open-adventure/distinfo b/games/open-adventure/distinfo
index 65cb1ef14036..b2375ec6a269 100644
--- a/games/open-adventure/distinfo
+++ b/games/open-adventure/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1689249973
-SHA256 (open-adventure-1.16.tar.bz2) = a151e3f918224e7f2495eeb2872bfe4f5dd95e8233ba2691c87c74303ad29747
-SIZE (open-adventure-1.16.tar.bz2) = 211155
+TIMESTAMP = 1779305101
+SHA256 (open-adventure-1.21.tar.bz2) = 8ddff48254f868999957bef5f9a1606140d8cacae4a4d87f676fd819876e57c6
+SIZE (open-adventure-1.21.tar.bz2) = 213935
diff --git a/games/open-adventure/files/patch-advent.adoc b/games/open-adventure/files/patch-advent.adoc
new file mode 100644
index 000000000000..4752515430dd
--- /dev/null
+++ b/games/open-adventure/files/patch-advent.adoc
@@ -0,0 +1,10 @@
+--- advent.adoc.orig 2026-03-22 14:43:05 UTC
++++ advent.adoc
+@@ -2,7 +2,6 @@
+ :doctype: manpage
+ // SPDX-FileCopyrightText: (C) Eric S. Raymond <esr@thyrsus.com>
+ // SPDX-License-Identifier: CC-BY-4.0
+-
+ // spellcheck: add advent logfile savefile roleplaying Gillogly PDP Ctrl-D
+ // spellcheck: add EOF autosave endianness wumpus zork nethack
+