ad7e602830
PR: ports/34303 Submitted by: EliteNecrosan@hotmail.com
42 lines
948 B
Makefile
42 lines
948 B
Makefile
# New ports collection makefile for: bzflag
|
|
# Date created: 2000/08/12
|
|
# Whom: makeport.pl
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bzflag
|
|
PORTVERSION= 1.7e.4
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= bzflag
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/e./e/}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= nsayer@FreeBSD.org
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
USE_XLIB= yes
|
|
USE_MESA= yes
|
|
|
|
MAKE_ENV= PORTCFLAGS="${CFLAGS}" PORTCXXFLAGS="${CXXFLAGS}" \
|
|
PORTPREFIX="${PREFIX}" PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
|
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
|
|
|
|
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>
|