From de7e81ecaa4210c83bfae72d605d22be023ec3f7 Mon Sep 17 00:00:00 2001 From: ijliao Date: Sun, 27 May 2001 09:57:35 +0000 Subject: upgrade to 1.5 PR: 27685 Submitted by: maintainer --- games/burgerspace/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'games/burgerspace/Makefile') 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 -- cgit v1.1