freebsd-ports/games/chocolate-doom/Makefile
Antoine Brodin 6747cb9b4e Remove dependency on the python metaport
PR:		225752
Submitted by:	Yasuhiro KIMURA
2018-02-21 16:24:53 +00:00

35 lines
941 B
Makefile

# $FreeBSD$
PORTNAME= chocolate-doom
PORTVERSION= 2.3.0
CATEGORIES= games
MASTER_SITES= http://www.chocolate-doom.org/downloads/${PORTVERSION}/
MAINTAINER= jakub_lach@mailplus.pl
COMMENT= Doom/Heretic/Hexen/Strife engine port compatible with the originals
LICENSE= GPLv2
LIB_DEPENDS= libpng.so:graphics/png
USES= gmake python:build
USE_SDL= mixer net sdl
GNU_CONFIGURE= yes
BINARY_ALIAS= python=${PYTHON_CMD}
PORTDOCS= CMDLINE.doom ChangeLog INSTALL.doom NEWS.md NOT-BUGS.md PHILOSOPHY.md \
README.md README.Music.md
OPTIONS_DEFINE= DOCS
.include "${.CURDIR}/../doom-data/Makefile.include"
post-patch:
${REINPLACE_CMD} -e 's|gamesdir = $${exec_prefix}/games|gamesdir = $${exec_prefix}/bin|' \
${WRKSRC}/src/Makefile.in
${REINPLACE_CMD} -e 's|gamesdir = $$(prefix)/games|gamesdir = $$(prefix)/bin|' \
${WRKSRC}/src/setup/Makefile.in
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/chocolate-*
.include <bsd.port.mk>