summaryrefslogtreecommitdiff
path: root/games/burgerspace/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-05-27 09:57:35 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-05-27 09:57:35 +0000
commit1d8e5e4e80e9c9ab1113f85baf716a3366fc8f83 (patch)
tree70a35dad9b56a7ccebb5766c19e231e06823b9cd /games/burgerspace/Makefile
parentupgrade to 3.0 (diff)
upgrade to 1.5
PR: 27685 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=43119
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 6086cf1c3e6c..776bc4ba148a 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