diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-10-11 14:25:41 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-10-11 14:25:41 +0000 |
commit | b347321bd2e1bd329fbcc353cfbfdf6789f8a3ec (patch) | |
tree | a9357c19e4a722fbc70b6cc6b5cc7ad7e8c792d8 /games/zaz | |
parent | 64afd0e34ac00d6c317dd45a08018240491546ce (diff) | |
download | ports-b347321bd2e1bd329fbcc353cfbfdf6789f8a3ec.tar.gz ports-b347321bd2e1bd329fbcc353cfbfdf6789f8a3ec.zip |
Notes
Diffstat (limited to 'games/zaz')
-rw-r--r-- | games/zaz/Makefile | 7 | ||||
-rw-r--r-- | games/zaz/distinfo | 6 | ||||
-rw-r--r-- | games/zaz/files/patch-src-lineeditor.cpp | 21 | ||||
-rw-r--r-- | games/zaz/pkg-plist | 11 |
4 files changed, 38 insertions, 7 deletions
diff --git a/games/zaz/Makefile b/games/zaz/Makefile index fb327328e92a..c6714a0473e6 100644 --- a/games/zaz/Makefile +++ b/games/zaz/Makefile @@ -6,7 +6,7 @@ # PORTNAME= zaz -PORTVERSION= 0.2.9 +PORTVERSION= 0.3.0 CATEGORIES= games MASTER_SITES= SF/${PORTNAME} @@ -18,15 +18,14 @@ LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \ vorbis.4:${PORTSDIR}/audio/libvorbis \ ftgl.2:${PORTSDIR}/graphics/ftgl -NO_CDROM= Includes music under non-commercial license (CC-BY-NC-SA) - GNU_CONFIGURE= yes USE_SDL= sdl image USE_GL= gl glu MAKE_JOBS_SAFE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 -I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" + LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" +CONFIGURE_ARGS= --with-icondir="${PREFIX}/share/pixmaps" PORTDOCS= * diff --git a/games/zaz/distinfo b/games/zaz/distinfo index a3df48dc9409..6907d93b160b 100644 --- a/games/zaz/distinfo +++ b/games/zaz/distinfo @@ -1,3 +1,3 @@ -MD5 (zaz-0.2.9.tar.gz) = 74dca44e4d1d9956d551f17759e80a38 -SHA256 (zaz-0.2.9.tar.gz) = 465f7233886f3d8d0dd4559eca518976aa04532d20a1b6ea4de6b1794fec9af4 -SIZE (zaz-0.2.9.tar.gz) = 38494499 +MD5 (zaz-0.3.0.tar.gz) = d0e625ee9b8d4823955686048ac69d0a +SHA256 (zaz-0.3.0.tar.gz) = bd6b4c568f17740bbd6ef552b8355094e49ed873a0bf9e1bb74db1e6f80fa31d +SIZE (zaz-0.3.0.tar.gz) = 49571511 diff --git a/games/zaz/files/patch-src-lineeditor.cpp b/games/zaz/files/patch-src-lineeditor.cpp new file mode 100644 index 000000000000..fb3b03d9a9f4 --- /dev/null +++ b/games/zaz/files/patch-src-lineeditor.cpp @@ -0,0 +1,21 @@ +--- src/lineeditor.cpp.orig 2009-09-27 04:09:24.000000000 +0400 ++++ src/lineeditor.cpp 2009-10-10 03:52:38.000000000 +0400 +@@ -39,7 +39,8 @@ + { + SDL_EnableUNICODE(SDL_DISABLE); + #ifndef WIN32 +- iconv_close(convdesc); ++ if (convdesc != (iconv_t)(-1)) ++ iconv_close(convdesc); + #endif + } + +@@ -161,7 +162,7 @@ + Uint16 uni = *i; + size_t in_left = 2; + size_t out_left = 2; +- char *in_ptr = (char *)&uni; ++ const char *in_ptr = (char *)&uni; + char uc[3]; + char *out_ptr = uc; + diff --git a/games/zaz/pkg-plist b/games/zaz/pkg-plist index 699d8f21b861..ea815117c43b 100644 --- a/games/zaz/pkg-plist +++ b/games/zaz/pkg-plist @@ -1,7 +1,9 @@ bin/zaz share/applications/zaz.desktop +%%NLS%%share/locale/de/LC_MESSAGES/zaz.mo %%NLS%%share/locale/es/LC_MESSAGES/zaz.mo %%NLS%%share/locale/pl/LC_MESSAGES/zaz.mo +%%NLS%%share/locale/ru/LC_MESSAGES/zaz.mo share/pixmaps/zaz.xpm %%DATADIR%%/FreeMonoBold.ttf %%DATADIR%%/FreeSans.ttf @@ -31,6 +33,13 @@ share/pixmaps/zaz.xpm %%DATADIR%%/level10.lvl %%DATADIR%%/level10.png %%DATADIR%%/level10_thumb.png +%%DATADIR%%/level11.lvl +%%DATADIR%%/level11.png +%%DATADIR%%/level11_thumb.png +%%DATADIR%%/level12.lvl +%%DATADIR%%/level12.png +%%DATADIR%%/level12_overlay.png +%%DATADIR%%/level12_thumb.png %%DATADIR%%/level1_thumb.png %%DATADIR%%/level2.lvl %%DATADIR%%/level2.png @@ -55,7 +64,9 @@ share/pixmaps/zaz.xpm %%DATADIR%%/level8_thumb.png %%DATADIR%%/level9.lvl %%DATADIR%%/level9.png +%%DATADIR%%/level9_overlay.png %%DATADIR%%/level9_thumb.png +%%DATADIR%%/levels.list %%DATADIR%%/logo.png %%DATADIR%%/menu.lvl %%DATADIR%%/mus1.ogg |