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

PORTNAME=   bsp
PORTVERSION=    5.1
CATEGORIES= games
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= doombsp

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

GNU_CONFIGURE=  yes
USE_REINPLACE=  yes

post-patch:
    ${REINPLACE_CMD} -e "s,-O2 -fomit-frame-pointer -ffast-math,${CFLAGS}," \
        ${WRKSRC}/configure

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

.include <bsd.port.mk>