summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2009-04-27 01:23:46 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2009-04-27 01:23:46 +0000
commit405ac3b5d59d4c825da8c528e4ade0ee2423fdad (patch)
treec109d79c26b4283f1a60d33a775a049b88c6343f /games
parent- Update to 0.14 (diff)
- Update to 1.0.15
- Remove obsolete dependency
Notes
Notes: svn path=/head/; revision=232822
Diffstat (limited to 'games')
-rw-r--r--games/slune/Makefile14
-rw-r--r--games/slune/distinfo6
-rw-r--r--games/slune/pkg-plist4
3 files changed, 18 insertions, 6 deletions
diff --git a/games/slune/Makefile b/games/slune/Makefile
index 3f3fe5abb0ab..960419b1c470 100644
--- a/games/slune/Makefile
+++ b/games/slune/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= slune
-PORTVERSION= 1.0.12
-PORTREVISION= 6
+PORTVERSION= 1.0.15
CATEGORIES= games python
MASTER_SITES= http://download.gna.org/slune/
DISTNAME= Slune-${PORTVERSION}
@@ -17,13 +16,13 @@ COMMENT= 3D game. includes racing, car-crashing, and lots of action
RUN_DEPENDS= soya_editor:${PORTSDIR}/graphics/py-soya3d \
${PYTHON_SITELIBDIR}/_openal.so:${PORTSDIR}/audio/py-openal \
- ${PYTHON_SITELIBDIR}/pysdl_mixer/sdl_mixer.so:${PORTSDIR}/audio/py-sdl_mixer \
${PYTHON_SITELIBDIR}/ogg/vorbis.so:${PORTSDIR}/audio/py-vorbis \
${PYTHON_SITELIBDIR}/py2play/level.py:${PORTSDIR}/net-p2p/py-py2play
LIB_DEPENDS= cal3d.12:${PORTSDIR}/graphics/cal3d \
GLEW.1:${PORTSDIR}/graphics/glew
USE_BZIP2= yes
+USE_DOS2UNIX= *.po *.mo
USE_GETTEXT= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
@@ -33,6 +32,15 @@ USE_SDL= sdl mixer
PYDISTUTILS_PKGNAME= Slune
PYDISTUTILS_EGGINFODIR= ${PREFIX}/share
+post-extract:
+.for FILE in slune.po.orig slune.po.rej
+ @${RM} ${WRKSRC}/locale/es/LC_MESSAGES/${FILE}
+.endfor
+
+.for FILE in slune.po-0 slune.sl.mo slune.sl.po slune2.mo slune2.po
+ @${RM} ${WRKSRC}/locale/sl/LC_MESSAGES/${FILE}
+.endfor
+
post-patch:
@${REINPLACE_CMD} -i "" -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.cfg
diff --git a/games/slune/distinfo b/games/slune/distinfo
index e176552ac0c1..3df69d49f1d2 100644
--- a/games/slune/distinfo
+++ b/games/slune/distinfo
@@ -1,3 +1,3 @@
-MD5 (Slune-1.0.12.tar.bz2) = 78a693270888839e8c535f5afa927785
-SHA256 (Slune-1.0.12.tar.bz2) = 4097ceabb4f6921a7509bf9c231937c26e4b4d8c3d2895eb177a67e1e9328d97
-SIZE (Slune-1.0.12.tar.bz2) = 9472582
+MD5 (Slune-1.0.15.tar.bz2) = 100cf5ccda0b7fe38065a8b83dde82ab
+SHA256 (Slune-1.0.15.tar.bz2) = a982f1af18937a3429cee82cff9315838f508dfb71116ba08519cdfa6ed4dfa4
+SIZE (Slune-1.0.15.tar.bz2) = 9549694
diff --git a/games/slune/pkg-plist b/games/slune/pkg-plist
index 20855f964a0f..5885289f496e 100644
--- a/games/slune/pkg-plist
+++ b/games/slune/pkg-plist
@@ -296,6 +296,7 @@ bin/slune
%%DATADIR%%/worlds/level-bowling-3.data
%%DATADIR%%/worlds/level-canion-race-1.data
%%DATADIR%%/worlds/level-canion-race-2.data
+%%DATADIR%%/worlds/level-canion-race-3.data
%%DATADIR%%/worlds/level-chapakalake-race-1.data
%%DATADIR%%/worlds/level-crashfunkel-duel.data
%%DATADIR%%/worlds/level-crashfunkel-race-1.data
@@ -403,6 +404,7 @@ bin/slune
%%DATADIR%%/locale/it/LC_MESSAGES/slune.po
%%DATADIR%%/locale/nb/LC_MESSAGES/slune.mo
%%DATADIR%%/locale/nb/LC_MESSAGES/slune.po
+%%DATADIR%%/locale/pt/LC_MESSAGES/slune.po
%%DATADIR%%/locale/sl/LC_MESSAGES/slune.mo
%%DATADIR%%/locale/sl/LC_MESSAGES/slune.po
%%DATADIR%%/locale/sv/LC_MESSAGES/slune.mo
@@ -426,6 +428,8 @@ bin/slune
@dirrm %%DATADIR%%/locale/it
@dirrm %%DATADIR%%/locale/nb/LC_MESSAGES
@dirrm %%DATADIR%%/locale/nb
+@dirrm %%DATADIR%%/locale/pt/LC_MESSAGES
+@dirrm %%DATADIR%%/locale/pt
@dirrm %%DATADIR%%/locale/sl/LC_MESSAGES
@dirrm %%DATADIR%%/locale/sl
@dirrm %%DATADIR%%/locale/sv/LC_MESSAGES