summaryrefslogtreecommitdiffstats
path: root/games/burgerspace/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-05-27 09:57:35 +0000
committerijliao <ijliao@FreeBSD.org>2001-05-27 09:57:35 +0000
commitde7e81ecaa4210c83bfae72d605d22be023ec3f7 (patch)
tree7fb58b8b3b0d4c7c409c575945a5c57f98e00ef0 /games/burgerspace/Makefile
parent563e487bc7c2e5cf0344806acd0274696cb71523 (diff)
downloadFreeBSD-ports-de7e81ecaa4210c83bfae72d605d22be023ec3f7.zip
FreeBSD-ports-de7e81ecaa4210c83bfae72d605d22be023ec3f7.tar.gz
upgrade to 1.5
PR: 27685 Submitted by: maintainer
Diffstat (limited to 'games/burgerspace/Makefile')
-rw-r--r--games/burgerspace/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/games/burgerspace/Makefile b/games/burgerspace/Makefile
index 6086cf1..776bc4b 100644
--- a/games/burgerspace/Makefile
+++ b/games/burgerspace/Makefile
@@ -6,22 +6,27 @@
#
PORTNAME= burgerspace
-PORTVERSION= 1.4
+PORTVERSION= 1.5
CATEGORIES= games
MASTER_SITES= http://sites.netscape.net/sarrazip/
MAINTAINER= mark@kyne.com.au
-LIB_DEPENDS= gengameng.2:${PORTSDIR}/devel/gengameng \
+LIB_DEPENDS= gengameng.3:${PORTSDIR}/devel/gengameng \
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
+SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lgnugetopt"
CONFIGURE_ARGS+= --with-gengameng-prefix="${X11BASE}"
MAN6= burgerspace.6
+pre-patch:
+ ${PERL} -pi -e "s|sdl-config|${SDL_CONFIG}|g; \
+ s|include/SDL/|include/SDL11/|g;" ${WRKSRC}/configure
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/burgerspace ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/burgerspace.6 ${PREFIX}/man/man6
OpenPOWER on IntegriCloud