diff --git a/games/ggz-client-libs/Makefile b/games/ggz-client-libs/Makefile index 22aba341aaeb..7eee6f6f79a7 100644 --- a/games/ggz-client-libs/Makefile +++ b/games/ggz-client-libs/Makefile @@ -7,28 +7,28 @@ # PORTNAME= ggz-client-libs -PORTVERSION= 0.0.12 -PORTREVISION= 2 +PORTVERSION= 0.0.13 CATEGORIES= games MASTER_SITES= http://mirrors.dotsrc.org/ggzgamingzone/ggz/%SUBDIR%/ \ http://ftp.ggzgamingzone.org/pub/ggz/%SUBDIR%/ MASTER_SITE_SUBDIR= ${PORTVERSION} +DIST_SUBDIR= ggz MAINTAINER= yinjieh@csie.nctu.edu.tw COMMENT= The GGZ Gaming Zone - Core Client Libraries -LIB_DEPENDS= ggz.3:${PORTSDIR}/games/libggz \ +LIB_DEPENDS= ggz.4:${PORTSDIR}/games/libggz \ expat.6:${PORTSDIR}/textproc/expat2 USE_GNOME= gnometarget USE_GETOPT_LONG= yes USE_GETTEXT= yes -USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --disable-debug INSTALLS_SHLIB= yes +MAN1= ggzwrap.1 MAN3= ggzcore_h.3 ggzmod_h.3 MAN5= ggz.modules.5 MAN6= ggz-config.6 ggz-wrapper.6 @@ -36,9 +36,23 @@ MAN6= ggz-config.6 ggz-wrapper.6 CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.else +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.endif + post-patch: @${REINPLACE_CMD} -e 's|LIBGGZ_INCLUDES=.*$$|LIBGGZ_INCLUDES=|g ; \ s|LIBGGZ_LDFLAGS=.*$$|LIBGGZ_LDFLAGS=|g ; \ s|libggz.la|libggz.so|g' ${WRKSRC}/configure -.include +.include + +.if ${OSVERSION} < 500000 +IGNORE= depends on libggz which does not build on 4.x +.endif + +.include diff --git a/games/ggz-client-libs/distinfo b/games/ggz-client-libs/distinfo index e6bb3fb8b2d7..a20fde1be46e 100644 --- a/games/ggz-client-libs/distinfo +++ b/games/ggz-client-libs/distinfo @@ -1,3 +1,3 @@ -MD5 (ggz-client-libs-0.0.12.tar.gz) = 2e48aa94a7f12fd57774516ea603f06c -SHA256 (ggz-client-libs-0.0.12.tar.gz) = 356ebb63ced8fc7262b4f89d54f2ed8f893208c424ebd44592696b9a819b4f2e -SIZE (ggz-client-libs-0.0.12.tar.gz) = 572291 +MD5 (ggz/ggz-client-libs-0.0.13.tar.gz) = 9e8e5734ac73fa687cdf2ae8ce716767 +SHA256 (ggz/ggz-client-libs-0.0.13.tar.gz) = 7b6572aa5c64951d5d850f73debf1bb60cf59a92ef743aa19977c307c79d35fd +SIZE (ggz/ggz-client-libs-0.0.13.tar.gz) = 586977 diff --git a/games/ggz-client-libs/pkg-descr b/games/ggz-client-libs/pkg-descr index 76f7f5b2ddcf..87025ab0e667 100644 --- a/games/ggz-client-libs/pkg-descr +++ b/games/ggz-client-libs/pkg-descr @@ -1,6 +1,22 @@ +=========================================== +The GGZ Gaming Zone - Core Client Libraries +=========================================== + GGZ Gaming Zone core client libraries provides the common procedures and utilities required to run the GGZ client and games. The routines are shared by other modules in order to ease coding and promote compatibility and stability. +This version of the client libraries (0.0.13) should provide +compatibility with version 0.0.13 clients and servers. + +The core client libraries is only one part of the GGZ Gaming Zone +client setup. The following additional packages are required: + * libggz - provides commonly used functions and low-level + communications between client modules and the GGZ servers + * gtk-client/kde-client - one or more of the GGZ clients will be + required in order to login to a server, chat and launch games + * gtk-games/kde-games/sdl-games - one or more games or game packs + are required in order to launch and play games + WWW: http://www.ggzgamingzone.org/ diff --git a/games/ggz-client-libs/pkg-plist b/games/ggz-client-libs/pkg-plist index acdd18aab3fb..3f0b33d66e93 100644 --- a/games/ggz-client-libs/pkg-plist +++ b/games/ggz-client-libs/pkg-plist @@ -4,6 +4,7 @@ etc/xdg/menus/applications-merged/ggz.merge.menu etc/xdg/menus/ggz.menu include/ggzcore.h include/ggzmod.h +lib/ggz/ggzwrap lib/libggzcore.a lib/libggzcore.la lib/libggzcore.so @@ -14,7 +15,9 @@ lib/libggzmod.so lib/libggzmod.so.4 share/desktop-directories/ggz-games.directory share/desktop-directories/ggz.directory -share/locale/de/LC_MESSAGES/ggz-config.mo +%%NLS%%share/locale/de/LC_MESSAGES/ggz-config.mo +%%NLS%%share/locale/de/LC_MESSAGES/ggzcore.mo +@dirrm lib/ggz @dirrmtry share/desktop-directories @dirrmtry etc/xdg/menus/applications-merged @dirrmtry etc/xdg/menus