2000-08-12 02:28:05 +02:00
|
|
|
# New ports collection makefile for: bzflag
|
|
|
|
# Date created: 2000/08/12
|
|
|
|
# Whom: makeport.pl
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= bzflag
|
2002-07-18 06:57:36 +02:00
|
|
|
PORTVERSION= 1.7e.6
|
2000-08-12 02:28:05 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= bzflag
|
2002-01-26 18:42:17 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/e./e/}
|
2001-04-21 08:28:31 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
2000-08-12 02:28:05 +02:00
|
|
|
|
2001-03-26 18:51:54 +02:00
|
|
|
MAINTAINER= nsayer@FreeBSD.org
|
2000-08-12 02:28:05 +02:00
|
|
|
|
2002-09-19 04:49:49 +02:00
|
|
|
BROKEN= "Does not build"
|
|
|
|
|
2000-08-12 03:10:45 +02:00
|
|
|
USE_XLIB= yes
|
2000-11-04 00:48:03 +01:00
|
|
|
USE_MESA= yes
|
2000-08-12 03:10:45 +02:00
|
|
|
|
|
|
|
MAKE_ENV= PORTCFLAGS="${CFLAGS}" PORTCXXFLAGS="${CXXFLAGS}" \
|
2001-08-15 09:09:40 +02:00
|
|
|
PORTPREFIX="${PREFIX}" PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
|
|
|
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
|
2000-08-12 03:10:45 +02:00
|
|
|
|
2000-08-12 02:28:05 +02:00
|
|
|
MAN6= bzflag.6 bzfrelay.6 bzfls.6 bzfs.6
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@${CP} ${FILESDIR}/config-sys ${WRKSRC}/
|
|
|
|
|
2000-08-13 00:01:39 +02:00
|
|
|
post-build:
|
|
|
|
@(cd ${WRKSRC}/man && ${MAKE} targets)
|
|
|
|
|
2000-08-12 02:28:05 +02:00
|
|
|
do-install:
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${PREFIX}/bin/
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/man/*.6 ${PREFIX}/man/man6/
|
2000-08-12 03:10:45 +02:00
|
|
|
@${MKDIR} ${PREFIX}/share/bzflag/data
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/data/* ${PREFIX}/share/bzflag/data/
|
2000-08-12 02:28:05 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|