aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-08-07 07:49:49 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-08-07 07:49:49 +0000
commit3ab51f93e0f2f3e535f68c582246021edfb0055f (patch)
treef28732ef59daeafe28858a87dc9305f893ee160a /games
parentf4f1ebe62829e3a97c4af661010ecd2ca7e2e06d (diff)
downloadports-3ab51f93e0f2f3e535f68c582246021edfb0055f.tar.gz
ports-3ab51f93e0f2f3e535f68c582246021edfb0055f.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/abuse_sdl/Makefile22
-rw-r--r--games/abuse_sdl/distinfo2
2 files changed, 15 insertions, 9 deletions
diff --git a/games/abuse_sdl/Makefile b/games/abuse_sdl/Makefile
index d59e508923c4..7f413c6aaa07 100644
--- a/games/abuse_sdl/Makefile
+++ b/games/abuse_sdl/Makefile
@@ -6,20 +6,26 @@
#
PORTNAME= abuse_sdl
-PORTVERSION= 0.6.1
+PORTVERSION= 0.7.0
CATEGORIES= games
MASTER_SITES= http://www.labyrinth.net.au/~trandor/abuse/files/
-MAINTAINER= ports@freebsd.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= An SDL port of the Abuse game engine
-LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12:install
-
-USE_GMAKE= YES
-GNU_CONFIGURE= YES
-CONFIGURE_ENV= CFLAGS="${CFLAGS}" SDL_CONFIG="${LOCALBASE}/bin/sdl11-config"
-CONFIGURE_ARGS= --prefix="${PREFIX}"
+USE_BZIP2= yes
+USE_MESA= yes
+USE_SDL= yes
+USE_REINPLACE= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
+ LDFLAGS="-L${X11BASE}/lib"
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN6= abuse-sdl.6
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+
.include <bsd.port.mk>
diff --git a/games/abuse_sdl/distinfo b/games/abuse_sdl/distinfo
index e32faaed372c..500966712a5f 100644
--- a/games/abuse_sdl/distinfo
+++ b/games/abuse_sdl/distinfo
@@ -1 +1 @@
-MD5 (abuse_sdl-0.6.1.tar.gz) = 17c01243cc1b041462d851276b2a460d
+MD5 (abuse_sdl-0.7.0.tar.bz2) = 59ea4498886642aa975f04233cc92558