diff options
author | Neil Blakey-Milner <nbm@FreeBSD.org> | 2000-08-12 01:10:45 +0000 |
---|---|---|
committer | Neil Blakey-Milner <nbm@FreeBSD.org> | 2000-08-12 01:10:45 +0000 |
commit | 3c7d3681a28bdadd51def6348510727191f14598 (patch) | |
tree | 59603e804a458314042f21346e860f55b38dc6ed /games | |
parent | 5ab279640f9b6510d7a1687b4ebf34fbfa141e28 (diff) | |
download | ports-3c7d3681a28bdadd51def6348510727191f14598.tar.gz ports-3c7d3681a28bdadd51def6348510727191f14598.zip |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/bzflag/Makefile | 9 | ||||
-rw-r--r-- | games/bzflag/files/config-sys | 6 |
2 files changed, 12 insertions, 3 deletions
diff --git a/games/bzflag/Makefile b/games/bzflag/Makefile index 84c32c6ef865..d9209ce3f5cd 100644 --- a/games/bzflag/Makefile +++ b/games/bzflag/Makefile @@ -14,8 +14,15 @@ 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}" + MAN6= bzflag.6 bzfrelay.6 bzfls.6 bzfs.6 do-configure: @@ -24,5 +31,7 @@ do-configure: 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> diff --git a/games/bzflag/files/config-sys b/games/bzflag/files/config-sys index aa9c32405924..02253fd025f3 100644 --- a/games/bzflag/files/config-sys +++ b/games/bzflag/files/config-sys @@ -23,7 +23,7 @@ XF86VIDMODE_LIB = -lXxf86vm # # install locations # -INSTALL_DATA_DIR = /usr/local/share/bzflag/data +INSTALL_DATA_DIR = ${PORTPREFIX}/share/bzflag/data # # tools @@ -54,8 +54,8 @@ PCXXDEFS = -D_BSD_SOURCE -DHALF_RATE_AUDIO \ # PCOPTS = -Wall -W -ansi $(ACOPTS) PCXXOPTS = -Wall -W -fno-exceptions -fno-rtti $(ACXXOPTS) -COPT = -DNDEBUG -O2 -DAddrLen='socklen_t' -CXXOPT = -DNDEBUG -O2 -ffast-math -fomit-frame-pointer -fnonnull-objects \ +COPT = -DNDEBUG ${PORTCFLAGS} -DAddrLen='socklen_t' +CXXOPT = -DNDEBUG ${PORTCXXFLAGS} -ffast-math -fomit-frame-pointer -fnonnull-objects \ -fexpensive-optimizations -DAddrLen='socklen_t' CDEBUG = -DDEBUG -g CXXDEBUG = -DDEBUG -g |