aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2017-10-20 14:52:03 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2018-02-04 05:47:08 +0800
commit6b1677c1f7a61f9ccb059455ac433039bb67e377 (patch)
tree780f879457d3c6763ecaeb22b455a815e38f57e8 /games
parentba8db522ce77f98eeabaf927ee86b7702e4eceb0 (diff)
downloadfreebsd-ports-gnome-6b1677c1f7a61f9ccb059455ac433039bb67e377.tar.gz
freebsd-ports-gnome-6b1677c1f7a61f9ccb059455ac433039bb67e377.tar.zst
freebsd-ports-gnome-6b1677c1f7a61f9ccb059455ac433039bb67e377.zip
New port of the "Colossal Cave Adventure", based on the last version
released by the initial authors (Crowther & Woods). Also known as the 430-point adventure. Approved by: antoine (mentor)
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/open-adventure/Makefile39
-rw-r--r--games/open-adventure/distinfo3
-rw-r--r--games/open-adventure/pkg-descr8
4 files changed, 51 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 5d14ddc33d5b..0092bc29f296 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -680,6 +680,7 @@
SUBDIR += oneko-sakura
SUBDIR += oolite
SUBDIR += oonsoo
+ SUBDIR += open-adventure
SUBDIR += openalchemist
SUBDIR += openarena
SUBDIR += openarena-data
diff --git a/games/open-adventure/Makefile b/games/open-adventure/Makefile
new file mode 100644
index 000000000000..1deeac54c5a5
--- /dev/null
+++ b/games/open-adventure/Makefile
@@ -0,0 +1,39 @@
+# Created by: Stefan Esser <se@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= open-adventure
+PORTVERSION= 1.4
+CATEGORIES= games
+MASTER_SITES= https://gitlab.com/${GL_ACCOUNT}/${GL_PROJECT}/repository/archive${EXTRACT_SUFX}?ref=${GL_COMMIT};/
+
+MAINTAINER= se@FreeBSD.org
+COMMENT= Modernized version of the original Colossal Cave Adventure game
+
+LICENSE= BSD2CLAUSE
+
+BUILD_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/yaml/__init__.py:devel/py-yaml \
+ a2x:textproc/asciidoc
+
+ALL_TARGET= advent
+MAKE_ENV= CCFLAGS="${CFLAGS}"
+
+USES= gmake pkgconfig libedit python:build
+#USE_GITLAB= yes # When USE_GITLAB has become available, MASTER_SITES and WRKSRC should be obsolete
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${GL_COMMIT}-${GL_COMMIT}
+
+GL_ACCOUNT= esr
+GL_PROJECT= ${PORTNAME}
+GL_COMMIT= d51238481a6a752adc8ad4d8893209d13bb7ea91
+
+PLIST_FILES= bin/advent man/man6/advent.6.gz
+
+pre-build:
+ cd ${WRKSRC}; ${PYTHON_CMD} make_dungeon.py; a2x -f manpage advent.adoc
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/advent ${STAGEDIR}${PREFIX}/bin
+ #${MKDIR} ${STAGEDIR}${MANPREFIX}/man/man6
+ ${INSTALL_MAN} ${WRKSRC}/advent.6 ${STAGEDIR}${MANPREFIX}/man/man6
+
+.include <bsd.port.mk>
diff --git a/games/open-adventure/distinfo b/games/open-adventure/distinfo
new file mode 100644
index 000000000000..1d061f4123a3
--- /dev/null
+++ b/games/open-adventure/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1508308584
+SHA256 (open-adventure-1.4.tar.gz) = 1ad9246f6b34c6dc5affff908932eaf8d76e62d60a5b871edaedd1ab4f588eed
+SIZE (open-adventure-1.4.tar.gz) = 421941
diff --git a/games/open-adventure/pkg-descr b/games/open-adventure/pkg-descr
new file mode 100644
index 000000000000..13e2e7149341
--- /dev/null
+++ b/games/open-adventure/pkg-descr
@@ -0,0 +1,8 @@
+The original Colossal Cave Adventure from 1976 was the origin of all text
+adventures, dungeon-crawl (computer) games, and computer-hosted role-playing
+games.
+
+This is the last version released by Crowther & Woods, its original authors,
+in 1995. It has been known as "adventure 2.5" and "430-point adventure".
+
+WWW: http://www.catb.org/~esr/open-adventure/