aboutsummaryrefslogtreecommitdiffstats
path: root/games/bsp/Makefile
blob: ae6266957e1fdd1db833e3b29d8aa3c7ad44dd85 (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
# New ports collection makefile for:    bsp
# Date created:         22 April 2002
# Whom:             Christian Brueffer <chris@unixpages.org>
#
# $FreeBSD$
#

PORTNAME=   bsp
PORTVERSION=    5.2
CATEGORIES= games
MASTER_SITES=   http://games.moria.org.uk/doom/bsp/download/

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

USE_BZIP2=  yes
GNU_CONFIGURE=  yes

MAN6=       bsp.6

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

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/bsp ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/bsp.6 ${MANPREFIX}/man/man6
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>