2003-05-12 04:23:45 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.2 2003/05/12 08:23:46 jolan Exp $
|
2003-02-02 23:09:56 -05:00
|
|
|
|
|
|
|
COMMENT= "graphical multiplayer 3-d tank war game"
|
|
|
|
DISTNAME= bzflag-1.7g0
|
|
|
|
CATEGORIES= games x11
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bzflag/}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.bzflag.org/
|
|
|
|
|
2003-05-12 04:23:45 -04:00
|
|
|
MAINTAINER= Jolan Luff <jolan@openbsd.org>
|
2003-02-02 23:09:56 -05:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MODULES= gcc3
|
|
|
|
MODGCC3_ARCHES= sparc64
|
|
|
|
MODGCC3_LANGS= C++
|
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
CFLAGS+= -pthread
|
|
|
|
MAKE_ENV= PORTCFLAGS="${CFLAGS}" PORTCXXFLAGS="${CXXFLAGS}" \
|
|
|
|
PORTPREFIX="${PREFIX}"
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
cp -f ${FILESDIR}/config-sys ${WRKSRC}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/*.6 ${PREFIX}/man/man6
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/bzflag/data
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/data/* ${PREFIX}/share/bzflag/data
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|