aboutsummaryrefslogtreecommitdiff
path: root/games/chanta
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2006-09-20 11:21:59 +0000
committerStanislav Sedov <stas@FreeBSD.org>2006-09-20 11:21:59 +0000
commit0d2725682b8325a08b11592d11062997bb9dc7f2 (patch)
tree46ab0c86563bfc2fbab1ecc5f9dadffb47afe737 /games/chanta
parent750f1f56ed3264341b911b1182fc2f3f4dd609c2 (diff)
downloadports-0d2725682b8325a08b11592d11062997bb9dc7f2.tar.gz
ports-0d2725682b8325a08b11592d11062997bb9dc7f2.zip
Notes
Diffstat (limited to 'games/chanta')
-rw-r--r--games/chanta/Makefile7
-rw-r--r--games/chanta/files/patch-configure6
2 files changed, 5 insertions, 8 deletions
diff --git a/games/chanta/Makefile b/games/chanta/Makefile
index c2d0cbbfd42d..3504ea35bb0a 100644
--- a/games/chanta/Makefile
+++ b/games/chanta/Makefile
@@ -7,6 +7,7 @@
PORTNAME= chanta
PORTVERSION= 0.15
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.losersjuegos.com.ar/juegos/chanta/descargas/
@@ -24,12 +25,8 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CHANTADIRS= data ima
-post-extract:
- @${FIND} -E ${WRKSRC}/src/ -type f -iregex ".*\.(cpp|h)" \
- -print0 | ${XARGS} -0 ${REINPLACE_CMD} -e 's/<SDL/<SDL11/'
-
post-configure:
- @${REINPLACE_CMD} -e 's|-lSDL |`sdl11-config --libs` |g' ${WRKSRC}/src/${MAKEFILE}
+ @${REINPLACE_CMD} -e 's|-lSDL |`sdl-config --libs` |g' ${WRKSRC}/src/${MAKEFILE}
@${REINPLACE_CMD} -e 's|^CXXFLAGS|^CXXFLAGS?|g' ${WRKSRC}/src/${MAKEFILE}
do-install:
diff --git a/games/chanta/files/patch-configure b/games/chanta/files/patch-configure
index 15b0d999b59e..3ba9c082eb1e 100644
--- a/games/chanta/files/patch-configure
+++ b/games/chanta/files/patch-configure
@@ -5,7 +5,7 @@
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lSDL $LIBS"
-+LIBS="`sdl11-config --libs` $LIBS"
++LIBS="`sdl-config --libs` $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -14,7 +14,7 @@
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lSDL_mixer $LIBS"
-+LIBS="-lSDL_mixer `sdl11-config --libs` $LIBS"
++LIBS="-lSDL_mixer `sdl-config --libs` $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -23,7 +23,7 @@
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lSDL_image $LIBS"
-+LIBS="-lSDL_image `sdl11-config --libs` $LIBS"
++LIBS="-lSDL_image `sdl-config --libs` $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF