freebsd-ports/games/bzflag/Makefile
Nick Sayer a964287ef6 Revert last change. I now understand where the PORT prefixed variables
come from. Pass the pointy hat. But I cleaned out RELENG_3 support in
the patch before, so finish the job in Makefile.
2001-03-28 19:12:56 +00:00

41 lines
859 B
Makefile

# New ports collection makefile for: bzflag
# Date created: 2000/08/12
# Whom: makeport.pl
#
# $FreeBSD$
#
PORTNAME= bzflag
PORTVERSION= 1.7e.1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= bzflag
DISTNAME= ${PORTNAME}_1.7e1
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}"
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>