freebsd-ports/games/open-adventure/Makefile
Stefan Eßer 862b4409cc Respect PY_FLAVOR and fetch from Gitlab
PR:		229577
Submitted by:	timor
Approved by:	antoine (implicit)
2020-01-22 22:12:51 +00:00

34 lines
856 B
Makefile

# Created by: Stefan Esser <se@FreeBSD.org>
# $FreeBSD$
PORTNAME= open-adventure
PORTVERSION= 1.4
CATEGORIES= games
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@${PY_FLAVOR} \
a2x:textproc/asciidoc
USES= gmake pkgconfig libedit python:build
USE_GITLAB= yes
GL_ACCOUNT= esr
GL_PROJECT= ${PORTNAME}
GL_COMMIT= d51238481a6a752adc8ad4d8893209d13bb7ea91
ALL_TARGET= advent
MAKE_ENV= CCFLAGS="${CFLAGS}"
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
${INSTALL_MAN} ${WRKSRC}/advent.6 ${STAGEDIR}${MANPREFIX}/man/man6
.include <bsd.port.mk>