aboutsummaryrefslogtreecommitdiffstats
path: root/games/abuse_sdl/Makefile
blob: 224bb07ee06ad04eac95df7762132dbe0f02a992 (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
# New ports collection makefile for:    abuse_sdl
# Date created:             11 May 2002
# Whom:                 des
#
# $FreeBSD$
#

PORTNAME=   abuse_sdl
PORTVERSION=    0.7.0
PORTREVISION=   5
CATEGORIES= games
MASTER_SITES=   http://abuse.zoy.org/raw-attachment/wiki/Downloads/
DISTNAME=   abuse-sdl-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    An SDL port of the Abuse game engine

USE_GL=     gl
USE_SDL=    sdl
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

MAN6=       abuse-sdl.6

post-patch:
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure

.include <bsd.port.mk>