freebsd-ports/games/bzflag/Makefile
Neil Blakey-Milner cc3a266bd3 Get bzflag to compile on 3.x. (sys/soundcard.h to machine/soundcard.h,
socklen_t to int for 3.x, and no -fno-exceptions for 3.x g++)

Bothered by:	Barry Irwin <bvi@rucus.ru.ac.za>
Bothered by:	Matthew West <mwest@uct.ac.za>
2000-08-18 15:04:09 +00:00

41 lines
890 B
Makefile

# 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
LIB_DEPENDS= GL.14:${PORTSDIR}/graphics/Mesa3
WRKSRC= ${WRKDIR}/bzflag
USE_XLIB= 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>