2000-08-12 00:28:05 +00:00
|
|
|
# New ports collection makefile for: bzflag
|
|
|
|
# Date created: 2000/08/12
|
|
|
|
# Whom: makeport.pl
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= bzflag
|
|
|
|
PORTVERSION= 1.7d.9
|
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= bzflag
|
|
|
|
EXTRACT_SUFX= .src.tar.gz
|
|
|
|
|
|
|
|
MAINTAINER= nbm@FreeBSD.org
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/bzflag
|
|
|
|
|
2000-08-12 01:10:45 +00:00
|
|
|
USE_XLIB= yes
|
2000-11-03 23:48:03 +00:00
|
|
|
USE_MESA= yes
|
2000-08-12 01:10:45 +00:00
|
|
|
|
|
|
|
MAKE_ENV= PORTCFLAGS="${CFLAGS}" PORTCXXFLAGS="${CXXFLAGS}" \
|
2000-08-18 15:04:09 +00:00
|
|
|
PORTPREFIX="${PREFIX}" OSVERSION="${OSVERSION}"
|
2000-08-12 01:10:45 +00:00
|
|
|
|
2000-08-12 00:28:05 +00:00
|
|
|
MAN6= bzflag.6 bzfrelay.6 bzfls.6 bzfs.6
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@${CP} ${FILESDIR}/config-sys ${WRKSRC}/
|
|
|
|
|
2000-08-12 22:01:39 +00:00
|
|
|
post-build:
|
|
|
|
@(cd ${WRKSRC}/man && ${MAKE} targets)
|
|
|
|
|
2000-08-12 00:28:05 +00:00
|
|
|
do-install:
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${PREFIX}/bin/
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/man/*.6 ${PREFIX}/man/man6/
|
2000-08-12 01:10:45 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/bzflag/data
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/data/* ${PREFIX}/share/bzflag/data/
|
2000-08-12 00:28:05 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|