Tweak games/blinken version 4.14.3
[dports.git] / games / chocolate-doom / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       chocolate-doom
4 PORTVERSION=    2.2.1
5 CATEGORIES=     games
6 MASTER_SITES=   http://www.chocolate-doom.org/downloads/${PORTVERSION}/
7
8 MAINTAINER=     jakub_lach@mailplus.pl
9 COMMENT=        Doom/Heretic/Hexen/Strife engine port compatible with the originals
10
11 LICENSE=        GPLv2
12
13 BUILD_DEPENDS=  python:lang/python
14
15 USES=           gmake
16 USE_SDL=        mixer net sdl
17 GNU_CONFIGURE=  yes
18
19 PORTDOCS=       CMDLINE.doom ChangeLog INSTALL.doom NEWS NOT-BUGS PHILOSOPHY \
20                 README README.Music
21
22 OPTIONS_DEFINE= DOCS
23
24 .include "${.CURDIR}/../doom-data/Makefile.include"
25
26 post-patch:
27         ${REINPLACE_CMD} -e 's|gamesdir = $${exec_prefix}/games|gamesdir = $${exec_prefix}/bin|' \
28                 ${WRKSRC}/src/Makefile.in
29         ${REINPLACE_CMD} -e 's|gamesdir = $$(prefix)/games|gamesdir = $$(prefix)/bin|' \
30                 ${WRKSRC}/src/setup/Makefile.in
31 post-install:
32           ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/chocolate-*
33
34 .include <bsd.port.mk>