summaryrefslogtreecommitdiffstats
path: root/games/bzflag/Makefile
blob: 806bf2448d67a496e81596357c71ed70f0be207f (plain)
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
34
35
36
37
38
39
40
# New ports collection makefile for: bzflag
# Date created:		2000/08/12
# Whom:			makeport.pl
#
# $FreeBSD$
#

PORTNAME=	bzflag
PORTVERSION=	1.7e.1
DISTNAME=	${PORTNAME}_1.7e1
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	bzflag
EXTRACT_SUFX=	.tar.gz

MAINTAINER=	nsayer@FreeBSD.org

WRKSRC=		${WRKDIR}/bzflag

USE_XLIB=	yes
USE_MESA=	yes

MAKE_ENV=	PORTCFLAGS="${CFLAGS}" PORTCXXFLAGS="${CXXFLAGS}" \
		PORTPREFIX="${PREFIX}" OSVERSION="${OSVERSION}"

MAN6=	bzflag.6 bzfrelay.6 bzfls.6 bzfs.6

do-configure:
	@${CP} ${FILESDIR}/config-sys ${WRKSRC}/

post-build:
	@(cd ${WRKSRC}/man && ${MAKE} targets)

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${PREFIX}/bin/
	@${INSTALL_MAN}	${WRKSRC}/man/*.6 ${PREFIX}/man/man6/
	@${MKDIR} ${PREFIX}/share/bzflag/data
	@${INSTALL_DATA} ${WRKSRC}/data/* ${PREFIX}/share/bzflag/data/

.include <bsd.port.mk>
OpenPOWER on IntegriCloud