eae3c12a0b
Approved by: portmgr (blanket)
37 lines
1 KiB
Makefile
37 lines
1 KiB
Makefile
PORTNAME= chocolate-doom
|
|
PORTVERSION= 3.0.1
|
|
PORTREVISION= 2
|
|
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
|
|
WWW= https://chocolate-doom.org
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libpng.so:graphics/png
|
|
|
|
USES= gmake pkgconfig python:build sdl
|
|
USE_SDL= mixer2 net2 sdl2
|
|
GNU_CONFIGURE= yes
|
|
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
|
|
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
|
|
USE_RC_SUBR= chocolate-server
|
|
|
|
.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>
|