summaryrefslogtreecommitdiff
path: root/games/barrage/Makefile
blob: c3cc105b169c9876d38ceecf6c4ad2623e6d633b (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:  	barrage
# Date created:       	23 April 2003
# Whom:  	Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$
#

PORTNAME=	barrage
PORTVERSION=	1.0.2
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	lgames
DISTNAME=	${PORTNAME}-${PORTVERSION}

MAINTAINER=	az@FreeBSD.org
COMMENT=	Destroy as many targets as possible

USE_GMAKE=	yes
USE_GETOPT_LONG=yes
USE_SDL=	sdl mixer
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-profile-path=/var/games

CONFIGURE_ENV=	CPPFLAGS="-I${X11BASE}/include"

post-patch:
	@${REINPLACE_CMD} -e 's|applications|applnk/Applications|g' \
		${WRKSRC}/Makefile.in

post-install:
	${CHMOD} 0755 ${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>