1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

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)
This commit is contained in:
Stefan Eßer 2017-10-20 06:52:03 +00:00
parent f1f3eba77e
commit d22425e337
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=452503
4 changed files with 51 additions and 0 deletions

View File

@ -680,6 +680,7 @@
SUBDIR += oneko-sakura
SUBDIR += oolite
SUBDIR += oonsoo
SUBDIR += open-adventure
SUBDIR += openalchemist
SUBDIR += openarena
SUBDIR += openarena-data

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1508308584
SHA256 (open-adventure-1.4.tar.gz) = 1ad9246f6b34c6dc5affff908932eaf8d76e62d60a5b871edaedd1ab4f588eed
SIZE (open-adventure-1.4.tar.gz) = 421941

View File

@ -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/