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