aboutsummaryrefslogtreecommitdiff
path: root/games/bsp/Makefile
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-09-08 22:52:36 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-09-08 22:52:36 +0000
commit955e1cb1fe00d80b0cb724ba4954d18b53a0a910 (patch)
tree376ecbbfa4b2c78fbb675c3f593a63e77f04e81a /games/bsp/Makefile
parent45a231d71e11c21c1bdf84c4e007ac27d9b6b368 (diff)
downloadports-955e1cb1fe00d80b0cb724ba4954d18b53a0a910.tar.gz
ports-955e1cb1fe00d80b0cb724ba4954d18b53a0a910.zip
Notes
Diffstat (limited to 'games/bsp/Makefile')
-rw-r--r--games/bsp/Makefile23
1 files changed, 16 insertions, 7 deletions
diff --git a/games/bsp/Makefile b/games/bsp/Makefile
index 2c49068eead6..d372a01e0349 100644
--- a/games/bsp/Makefile
+++ b/games/bsp/Makefile
@@ -6,25 +6,34 @@
#
PORTNAME= bsp
-PORTVERSION= 5.1
+PORTVERSION= 5.2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= doombsp
+MASTER_SITES= http://games.moria.org.uk/doom/bsp/download/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= alepulver@FreeBSD.org
COMMENT= Node builder for Doom
+USE_BZIP2= yes
GNU_CONFIGURE= yes
+MAN6= bsp.6
+
post-patch:
- ${REINPLACE_CMD} -e "s,-O2 -fomit-frame-pointer -ffast-math,${CFLAGS}," \
- ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-O2 -fomit-frame-pointer|${CFLAGS} &|' \
+ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bsp ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/bsp.6 ${MANPREFIX}/man/man6
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+IGNORE= does not build
+.endif
+
+.include <bsd.port.post.mk>