aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2006-02-07 13:21:18 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2006-02-07 13:21:18 +0000
commita20733af4435f458f88ac9305185e098232882e0 (patch)
treea8574e1fb7bf7931fcd4e10ad6917f6f0a61ab08 /games
parent99090d00ed87d0f75ea7551748861e6386743c6b (diff)
downloadports-a20733af4435f458f88ac9305185e098232882e0.tar.gz
ports-a20733af4435f458f88ac9305185e098232882e0.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/xmoto/Makefile9
-rw-r--r--games/xmoto/distinfo6
2 files changed, 6 insertions, 9 deletions
diff --git a/games/xmoto/Makefile b/games/xmoto/Makefile
index f589bd112c14..e57fe8f6c37d 100644
--- a/games/xmoto/Makefile
+++ b/games/xmoto/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xmoto
-PORTVERSION= 0.1.10
+PORTVERSION= 0.1.11
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -24,8 +24,8 @@ BUILD_DEPENDS= ${X11BASE}/lib/libode.a:${PORTSDIR}/devel/ode
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GL= yes
-USE_REINPLACE= yes
USE_SDL= sdl mixer
+USE_DOS2UNIX= src/*.cpp src/*.h
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
@@ -36,15 +36,12 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PORTDOCS= README ChangeLog
-post-extract:
- @${FIND} ${WRKSRC}/src -name "*.cpp" -o -name "*.h" | \
- ${XARGS} ${REINPLACE_CMD} -e "s|$$(${PRINTF} '\r')||g"
-
post-patch:
@${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/src/VCommon.h
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/image/tim_memory_crt.cpp
@${REINPLACE_CMD} -e 's|-lSDL |`${SDL_CONFIG} --libs` |' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|endian.h|sys/endian.h|' ${WRKSRC}/src/VCommon.h
+ @${REINPLACE_CMD} -e '/LIBS/ s|\(-lSDL_mixer\)|\1 `${SDL_CONFIG} --libs`|' ${WRKSRC}/configure
.if !defined(NOPORTDOCS)
post-install:
diff --git a/games/xmoto/distinfo b/games/xmoto/distinfo
index b3c804db14ee..534c44e0299f 100644
--- a/games/xmoto/distinfo
+++ b/games/xmoto/distinfo
@@ -1,3 +1,3 @@
-MD5 (xmoto-0.1.10-src.tar.gz) = bd91f049fc60e5036112090f8d89ecea
-SHA256 (xmoto-0.1.10-src.tar.gz) = 794870e45736402fd95090e436fe9eed863b8f5036b6b4290a1bd470fcc0a6a7
-SIZE (xmoto-0.1.10-src.tar.gz) = 2776333
+MD5 (xmoto-0.1.11-src.tar.gz) = bf61a7e7d48deee2d88fd345c758d779
+SHA256 (xmoto-0.1.11-src.tar.gz) = f06eda16317705c38a554b98bdd1eb1728d026c910ed84ea2880590aca881012
+SIZE (xmoto-0.1.11-src.tar.gz) = 2829959