aboutsummaryrefslogtreecommitdiffstats
path: root/games/bsp/Makefile
blob: 0f7e4db984288870fe8874a8c74436d1de4a8686 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Christian Brueffer <chris@unixpages.org>
# $FreeBSD$

PORTNAME=   bsp
PORTVERSION=    5.2
CATEGORIES= games
MASTER_SITES=   http://games.moria.org.uk/doom/bsp/download/ \
        http://files.kyle-evans.net/freebsd/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Node builder for Doom

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       tar:bzip2
GNU_CONFIGURE=  yes

OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} -e 's|-O2 -fomit-frame-pointer|${CFLAGS} &|' \
        ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/bsp ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/bsp.6 ${STAGEDIR}${MANPREFIX}/man/man6

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>