Update games/stransball2 to version 1.5_10
[dports.git] / games / bsp / Makefile
1 # Created by: Christian Brueffer <chris@unixpages.org>
2 # $FreeBSD$
3
4 PORTNAME=       bsp
5 PORTVERSION=    5.2
6 CATEGORIES=     games
7 MASTER_SITES=   http://games.moria.org.uk/doom/bsp/download/
8
9 MAINTAINER=     ports@FreeBSD.org
10 COMMENT=        Node builder for Doom
11
12 LICENSE=        GPLv2
13 LICENSE_FILE=   ${WRKSRC}/COPYING
14
15 USES=           tar:bzip2
16 GNU_CONFIGURE=  yes
17
18 OPTIONS_DEFINE= DOCS
19
20 post-patch:
21         @${REINPLACE_CMD} -e 's|-O2 -fomit-frame-pointer|${CFLAGS} &|' \
22                 ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
23
24 do-install:
25         ${INSTALL_PROGRAM} ${WRKSRC}/bsp ${STAGEDIR}${PREFIX}/bin
26         ${INSTALL_MAN} ${WRKSRC}/bsp.6 ${STAGEDIR}${MANPREFIX}/man/man6
27         @${MKDIR} ${STAGEDIR}${DOCSDIR}
28         ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
29
30 .include <bsd.port.mk>