aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-04-07 23:49:51 +0800
committerrafan <rafan@FreeBSD.org>2007-04-07 23:49:51 +0800
commit00f6d46ea8a3b6891212ac3262acfbb2b534761d (patch)
treea3b045f9dade7cb8d242c620593455cf57005c88 /games
parent094608d84e1224d3ae69cd59ee31eb423a36691c (diff)
downloadfreebsd-ports-graphics-00f6d46ea8a3b6891212ac3262acfbb2b534761d.tar.gz
freebsd-ports-graphics-00f6d46ea8a3b6891212ac3262acfbb2b534761d.tar.zst
freebsd-ports-graphics-00f6d46ea8a3b6891212ac3262acfbb2b534761d.zip
- Update ggz ports to 0.0.14
- Introduce bsd.ggz.mk to simplify all ggz ports - Remove 4.x support Approved by: Ying-Chieh Chen (maintainer)
Diffstat (limited to 'games')
-rw-r--r--games/ggz-client-libs/Makefile30
-rw-r--r--games/ggz-client-libs/distinfo6
-rw-r--r--games/ggz-client-libs/pkg-plist5
-rw-r--r--games/ggz-gtk-client/Makefile20
-rw-r--r--games/ggz-gtk-client/distinfo6
-rw-r--r--games/ggz-gtk-client/pkg-plist34
-rw-r--r--games/ggz-gtk-games/Makefile16
-rw-r--r--games/ggz-gtk-games/distinfo6
-rw-r--r--games/ggz-kde-client/Makefile15
-rw-r--r--games/ggz-kde-client/distinfo6
-rw-r--r--games/ggz-kde-client/pkg-plist1
-rw-r--r--games/ggz-sdl-games/Makefile14
-rw-r--r--games/ggz-sdl-games/distinfo6
-rw-r--r--games/ggz-txt-client/Makefile18
-rw-r--r--games/ggz-txt-client/distinfo6
-rw-r--r--games/libggz/Makefile15
-rw-r--r--games/libggz/bsd.ggz.mk29
-rw-r--r--games/libggz/distinfo6
-rw-r--r--games/libggz/pkg-plist3
19 files changed, 110 insertions, 132 deletions
diff --git a/games/ggz-client-libs/Makefile b/games/ggz-client-libs/Makefile
index 2c063c3958e..cf03f41d747 100644
--- a/games/ggz-client-libs/Makefile
+++ b/games/ggz-client-libs/Makefile
@@ -7,32 +7,29 @@
#
PORTNAME= ggz-client-libs
-PORTVERSION= 0.0.13
+PORTVERSION= ${GGZ_VERSION}
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.4:${PORTSDIR}/games/libggz \
- expat.6:${PORTSDIR}/textproc/expat2
+LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
USE_AUTOTOOLS= libtool:15
USE_GNOME= gnometarget
USE_GETOPT_LONG= yes
-USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_ARGS= --disable-debug
-INSTALLS_SHLIB= yes
+CONFIGURE_ARGS= --disable-debug --with-libggz-dir="${LOCALBASE}" \
+ --mandir="${MANPREFIX}/man"
+USE_LDCONFIG= yes
+USE_GGZ= core
MAN1= ggzwrap.1
MAN3= ggzcore_h.3 ggzmod_h.3
MAN5= ggz.modules.5
-MAN6= ggz-config.6 ggz-wrapper.6
+MAN6= ggz.6 ggz-config.6 ggz-wrapper.6
+MAN7= ggz.7
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
@@ -46,14 +43,9 @@ 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
+ @${REINPLACE_CMD} -e 's|libggz.la|libggz.so|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|' ${WRKSRC}/ggz-wrapper/ggz
.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-IGNORE= depends on libggz which does not build on 4.x
-.endif
-
+.include "${PORTSDIR}/games/libggz/bsd.ggz.mk"
.include <bsd.port.post.mk>
diff --git a/games/ggz-client-libs/distinfo b/games/ggz-client-libs/distinfo
index a20fde1be46..7861c192db8 100644
--- a/games/ggz-client-libs/distinfo
+++ b/games/ggz-client-libs/distinfo
@@ -1,3 +1,3 @@
-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
+MD5 (ggz/ggz-client-libs-0.0.14.tar.gz) = efe325665fc745efe34d59dd9dea4284
+SHA256 (ggz/ggz-client-libs-0.0.14.tar.gz) = a2ad93d5158bbe687275cc3ded1379bd2ae6f0463e4fe785cda0fdcf01af8a04
+SIZE (ggz/ggz-client-libs-0.0.14.tar.gz) = 578903
diff --git a/games/ggz-client-libs/pkg-plist b/games/ggz-client-libs/pkg-plist
index 3f0b33d66e9..e85e5d81b2c 100644
--- a/games/ggz-client-libs/pkg-plist
+++ b/games/ggz-client-libs/pkg-plist
@@ -1,3 +1,4 @@
+bin/ggz
bin/ggz-config
bin/ggz-wrapper
etc/xdg/menus/applications-merged/ggz.merge.menu
@@ -8,11 +9,11 @@ lib/ggz/ggzwrap
lib/libggzcore.a
lib/libggzcore.la
lib/libggzcore.so
-lib/libggzcore.so.8
+lib/libggzcore.so.9
lib/libggzmod.a
lib/libggzmod.la
lib/libggzmod.so
-lib/libggzmod.so.4
+lib/libggzmod.so.5
share/desktop-directories/ggz-games.directory
share/desktop-directories/ggz.directory
%%NLS%%share/locale/de/LC_MESSAGES/ggz-config.mo
diff --git a/games/ggz-gtk-client/Makefile b/games/ggz-gtk-client/Makefile
index 8ebc4ee9295..33e856e59d5 100644
--- a/games/ggz-gtk-client/Makefile
+++ b/games/ggz-gtk-client/Makefile
@@ -7,26 +7,19 @@
#
PORTNAME= ggz-gtk-client
-PORTVERSION= 0.0.13
+PORTVERSION= ${GGZ_VERSION}
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 - GTK+ Frontend
-LIB_DEPENDS= ggzcore.8:${PORTSDIR}/games/ggz-client-libs
-
USE_AUTOTOOLS= libtool:15
-USE_GCC= 3.3+
USE_GNOME= gnometarget gtk20
USE_GETOPT_LONG= yes
-USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_ARGS= --disable-debug
+CONFIGURE_ARGS= --disable-debug --mandir="${MANPREFIX}/man"
+USE_GGZ= client
MAN6= ggz-gtk.6
@@ -42,10 +35,5 @@ PLIST_SUB+= NLS=""
.endif
.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-IGNORE= depends on libggz which does not build on 4.x
-.endif
-
+.include "${PORTSDIR}/games/libggz/bsd.ggz.mk"
.include <bsd.port.post.mk>
-
diff --git a/games/ggz-gtk-client/distinfo b/games/ggz-gtk-client/distinfo
index 9260b020184..2590a95a945 100644
--- a/games/ggz-gtk-client/distinfo
+++ b/games/ggz-gtk-client/distinfo
@@ -1,3 +1,3 @@
-MD5 (ggz/ggz-gtk-client-0.0.13.tar.gz) = 5607b66d6a75e3de9706342a0aebff03
-SHA256 (ggz/ggz-gtk-client-0.0.13.tar.gz) = c947392a28ce3011c7b9e3de883ee7c4fdfbfb42569c141a04246275a05c9413
-SIZE (ggz/ggz-gtk-client-0.0.13.tar.gz) = 724743
+MD5 (ggz/ggz-gtk-client-0.0.14.tar.gz) = 7b8992f4eaf96c41923c31a946bc73fb
+SHA256 (ggz/ggz-gtk-client-0.0.14.tar.gz) = 790f7db17e252e02c07f68cbdda3de071945e284582edd1c5b21891e568c6cff
+SIZE (ggz/ggz-gtk-client-0.0.14.tar.gz) = 778470
diff --git a/games/ggz-gtk-client/pkg-plist b/games/ggz-gtk-client/pkg-plist
index 5521daec84f..453204144c9 100644
--- a/games/ggz-gtk-client/pkg-plist
+++ b/games/ggz-gtk-client/pkg-plist
@@ -1,31 +1,33 @@
bin/ggz-gtk
include/ggz-embed.h
include/ggz-gtk.h
-lib/libggz-gtk.so.0
+lib/libggz-gtk.so.1
lib/libggz-gtk.so
lib/libggz-gtk.la
lib/libggz-gtk.a
share/applications/ggz-gtk.desktop
-share/ggz/ggz-gtk/about_bg.png
-share/ggz/ggz-gtk/ggz_gtk_admin.svg
-share/ggz/ggz-gtk/ggz_gtk_guest.svg
-share/ggz/ggz-gtk/ggz_gtk_registered.svg
-share/ggz/ggz-gtk/ggz_gtk_bot.svg
-share/ggz/ggz-gtk/ggz_gtk_lag0.svg
-share/ggz/ggz-gtk/ggz_gtk_lag1.svg
-share/ggz/ggz-gtk/ggz_gtk_lag2.svg
-share/ggz/ggz-gtk/ggz_gtk_lag3.svg
-share/ggz/ggz-gtk/ggz_gtk_lag4.svg
-share/ggz/ggz-gtk/ggz_gtk_lag5.svg
-share/ggz/ggz-gtk/help/ggz-gtk-handbook.html
-share/ggz/ggz-gtk/help/ggz-gtk-login.png
-share/ggz/ggz-gtk/help/ggz-gtk-chat.png
-share/ggz/ggz-gtk/help/ggz-gtk-launch.png
+share/ggz/ggz-gtk-client/about_bg.png
+share/ggz/ggz-gtk-client/ggz_gtk_admin.svg
+share/ggz/ggz-gtk-client/ggz_gtk_bot.svg
+share/ggz/ggz-gtk-client/ggz_gtk_guest.svg
+share/ggz/ggz-gtk-client/ggz_gtk_lag0.svg
+share/ggz/ggz-gtk-client/ggz_gtk_lag1.svg
+share/ggz/ggz-gtk-client/ggz_gtk_lag2.svg
+share/ggz/ggz-gtk-client/ggz_gtk_lag3.svg
+share/ggz/ggz-gtk-client/ggz_gtk_lag4.svg
+share/ggz/ggz-gtk-client/ggz_gtk_lag5.svg
+share/ggz/ggz-gtk-client/ggz_gtk_registered.svg
+share/ggz/help/ggz-gtk-chat.png
+share/ggz/help/ggz-gtk-handbook.html
+share/ggz/help/ggz-gtk-launch.png
+share/ggz/help/ggz-gtk-login.png
%%NLS%%share/locale/de/LC_MESSAGES/ggz-gtk.mo
%%NLS%%share/locale/es/LC_MESSAGES/ggz-gtk.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/ggz-gtk.mo
%%NLS%%share/locale/sv/LC_MESSAGES/ggz-gtk.mo
+@dirrm share/ggz/help
@dirrm share/ggz/ggz-gtk/help
+@dirrm share/ggz/ggz-gtk-client
@dirrm share/ggz/ggz-gtk
@dirrmtry share/applications
@dirrmtry share/ggz
diff --git a/games/ggz-gtk-games/Makefile b/games/ggz-gtk-games/Makefile
index e25b8753908..ecc07a71e1c 100644
--- a/games/ggz-gtk-games/Makefile
+++ b/games/ggz-gtk-games/Makefile
@@ -7,26 +7,20 @@
#
PORTNAME= ggz-gtk-games
-PORTVERSION= 0.0.13
+PORTVERSION= ${GGZ_VERSION}
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 - GTK+ Games
-LIB_DEPENDS= ggzcore.8:${PORTSDIR}/games/ggz-client-libs
RUN_DEPENDS= ${LOCALBASE}/bin/ggz-gtk:${PORTSDIR}/games/ggz-gtk-client
-USE_GCC= 3.3+
USE_GNOME= gnometarget gtk20
USE_GETOPT_LONG= yes
-USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --disable-debug
+USE_GGZ= client
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
@@ -40,9 +34,5 @@ PLIST_SUB+= NLS=""
.endif
.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-IGNORE= depends on libggz which does not build on 4.x
-.endif
-
+.include "${PORTSDIR}/games/libggz/bsd.ggz.mk"
.include <bsd.port.post.mk>
diff --git a/games/ggz-gtk-games/distinfo b/games/ggz-gtk-games/distinfo
index c7db61fd6eb..eaeb628504f 100644
--- a/games/ggz-gtk-games/distinfo
+++ b/games/ggz-gtk-games/distinfo
@@ -1,3 +1,3 @@
-MD5 (ggz/ggz-gtk-games-0.0.13.tar.gz) = 7c055af049f523f0956b012e4b54b7c5
-SHA256 (ggz/ggz-gtk-games-0.0.13.tar.gz) = 08ec15eb3c9ebd7dd71da33c20ef419992da777799bf485d95ad6e0c22f63562
-SIZE (ggz/ggz-gtk-games-0.0.13.tar.gz) = 1615436
+MD5 (ggz/ggz-gtk-games-0.0.14.tar.gz) = a819d569b69c592ce44500af6b133790
+SHA256 (ggz/ggz-gtk-games-0.0.14.tar.gz) = f12bee6d99b726fed095910dfa8043c4dc36814720c0ff9ac8aed0c4905ac5df
+SIZE (ggz/ggz-gtk-games-0.0.14.tar.gz) = 1693534
diff --git a/games/ggz-kde-client/Makefile b/games/ggz-kde-client/Makefile
index 9fff9ab919b..74c127ae83f 100644
--- a/games/ggz-kde-client/Makefile
+++ b/games/ggz-kde-client/Makefile
@@ -6,22 +6,17 @@
#
PORTNAME= ggz-kde-client
-PORTVERSION= 0.0.13
+PORTVERSION= ${GGZ_VERSION}
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 - KDE Client
-LIB_DEPENDS= ggzcore.8:${PORTSDIR}/games/ggz-client-libs
-
GNU_CONFIGURE= yes
-USE_GCC= 3.3+
+CONFIGURE_ARGS= --mandir="${MANPREFIX}/man"
USE_GMAKE= yes
USE_KDELIBS_VER= 3
+USE_GGZ= client
MAN6= compcal.6 ggzap.6 keepalivecontrol.6 \
kggz.6 kgrubby.6 shadowbridge.6
@@ -29,4 +24,6 @@ MAN6= compcal.6 ggzap.6 keepalivecontrol.6 \
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}| ; s|echo aout|echo elf|' ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/games/libggz/bsd.ggz.mk"
+.include <bsd.port.post.mk>
diff --git a/games/ggz-kde-client/distinfo b/games/ggz-kde-client/distinfo
index 82370201f55..c9257649411 100644
--- a/games/ggz-kde-client/distinfo
+++ b/games/ggz-kde-client/distinfo
@@ -1,3 +1,3 @@
-MD5 (ggz/ggz-kde-client-0.0.13.tar.gz) = ea112d9773be8d0025de6c7c18ceee66
-SHA256 (ggz/ggz-kde-client-0.0.13.tar.gz) = c8da2b970825dc9474c49a03a09d83499f1f38cfb56e2e9614c20d30160d381e
-SIZE (ggz/ggz-kde-client-0.0.13.tar.gz) = 1746272
+MD5 (ggz/ggz-kde-client-0.0.14.tar.gz) = de2da96a92cd3a1467760fa2dcdde079
+SHA256 (ggz/ggz-kde-client-0.0.14.tar.gz) = ae8d2c3e49109c910765bbe74121dfb6854acd25c9d27ab7463b479c106d1be7
+SIZE (ggz/ggz-kde-client-0.0.14.tar.gz) = 1757688
diff --git a/games/ggz-kde-client/pkg-plist b/games/ggz-kde-client/pkg-plist
index 8acee3ca80f..fcd2ab78634 100644
--- a/games/ggz-kde-client/pkg-plist
+++ b/games/ggz-kde-client/pkg-plist
@@ -90,6 +90,7 @@ share/apps/kggz/images/icons/players/bot.png
share/apps/kggz/images/icons/players/botgrubby.png
share/apps/kggz/images/icons/players/buddy.png
share/apps/kggz/images/icons/players/guest.png
+share/apps/kggz/images/icons/players/host.png
share/apps/kggz/images/icons/players/lag0.png
share/apps/kggz/images/icons/players/lag1.png
share/apps/kggz/images/icons/players/lag2.png
diff --git a/games/ggz-sdl-games/Makefile b/games/ggz-sdl-games/Makefile
index b1eaa044f2c..f5acad19428 100644
--- a/games/ggz-sdl-games/Makefile
+++ b/games/ggz-sdl-games/Makefile
@@ -7,26 +7,22 @@
#
PORTNAME= ggz-sdl-games
-PORTVERSION= 0.0.13
-PORTREVISION= 1
+PORTVERSION= ${GGZ_VERSION}
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 - SDL-based games
-LIB_DEPENDS= ggzcore.8:${PORTSDIR}/games/ggz-client-libs
-
USE_GETOPT_LONG= yes
USE_SDL= image mixer sdl ttf
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --disable-debug
+USE_GGZ= client
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/games/libggz/bsd.ggz.mk"
+.include <bsd.port.post.mk>
diff --git a/games/ggz-sdl-games/distinfo b/games/ggz-sdl-games/distinfo
index cf326934176..60bf87af8c0 100644
--- a/games/ggz-sdl-games/distinfo
+++ b/games/ggz-sdl-games/distinfo
@@ -1,3 +1,3 @@
-MD5 (ggz/ggz-sdl-games-0.0.13.tar.gz) = 051b7455e14c765445e5cf4e196eea48
-SHA256 (ggz/ggz-sdl-games-0.0.13.tar.gz) = f6d7ca48b4926931f1d9f8fec6f9f542a6e079e1e701d678bacb75f0468ba86d
-SIZE (ggz/ggz-sdl-games-0.0.13.tar.gz) = 240778
+MD5 (ggz/ggz-sdl-games-0.0.14.tar.gz) = a53f7b3609fb8a2312fa758440e2fed8
+SHA256 (ggz/ggz-sdl-games-0.0.14.tar.gz) = f6c94ad7fc81d21ddda93324cd3658de38f9197c79807574835135f8ef8ca321
+SIZE (ggz/ggz-sdl-games-0.0.14.tar.gz) = 249568
diff --git a/games/ggz-txt-client/Makefile b/games/ggz-txt-client/Makefile
index f474bf9142d..efe21e5e8a2 100644
--- a/games/ggz-txt-client/Makefile
+++ b/games/ggz-txt-client/Makefile
@@ -7,24 +7,18 @@
#
PORTNAME= ggz-txt-client
-PORTVERSION= 0.0.13
+PORTVERSION= ${GGZ_VERSION}
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 - Console (Text) Frontend
-LIB_DEPENDS= ggzcore.8:${PORTSDIR}/games/ggz-client-libs
-
USE_GNOME= gnometarget
USE_GETOPT_LONG= yes
-USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_ARGS= --disable-debug
+CONFIGURE_ARGS= --disable-debug --mandir="${MANPREFIX}/man"
+USE_GGZ= client
MAN6= ggz-txt.6
@@ -40,9 +34,5 @@ PLIST_SUB+= NLS=""
.endif
.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-IGNORE= depends on libggz which does not build on 4.x
-.endif
-
+.include "${PORTSDIR}/games/libggz/bsd.ggz.mk"
.include <bsd.port.post.mk>
diff --git a/games/ggz-txt-client/distinfo b/games/ggz-txt-client/distinfo
index a92abf4730a..d0c9b6e956d 100644
--- a/games/ggz-txt-client/distinfo
+++ b/games/ggz-txt-client/distinfo
@@ -1,3 +1,3 @@
-MD5 (ggz/ggz-txt-client-0.0.13.tar.gz) = 7eb25d2612c06f5324d1b1bfda631fc2
-SHA256 (ggz/ggz-txt-client-0.0.13.tar.gz) = c8db34bbe64bf46cf23428629554d2f867efaa61b6f1eafc0c5f146462368470
-SIZE (ggz/ggz-txt-client-0.0.13.tar.gz) = 145746
+MD5 (ggz/ggz-txt-client-0.0.14.tar.gz) = b11a7f52f9ef054ad72af5df8f0a171d
+SHA256 (ggz/ggz-txt-client-0.0.14.tar.gz) = 4e96214448fea4edfa91a3cd70f57f9ae9b09b99696c1873427802311d7046e0
+SIZE (ggz/ggz-txt-client-0.0.14.tar.gz) = 156380
diff --git a/games/libggz/Makefile b/games/libggz/Makefile
index fe8d77036f0..625f2e61a7f 100644
--- a/games/libggz/Makefile
+++ b/games/libggz/Makefile
@@ -7,13 +7,8 @@
#
PORTNAME= libggz
-PORTVERSION= 0.0.13
-PORTREVISION= 2
+PORTVERSION= ${GGZ_VERSION}
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 - Base Library
@@ -22,7 +17,7 @@ USE_AUTOTOOLS= libtool:15
USE_GNOME= gnomehack gnometarget
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_ARGS= --disable-debug
+CONFIGURE_ARGS= --disable-debug --mandir="${MANPREFIX}/man"
USE_LDCONFIG= yes
MAN3= ggz.h.3
@@ -39,9 +34,5 @@ CONFIGURE_ARGS+= --with-tls=OpenSSL
.endif
.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= does not compile
-.endif
-
+.include "${PORTSDIR}/games/libggz/bsd.ggz.mk"
.include <bsd.port.post.mk>
diff --git a/games/libggz/bsd.ggz.mk b/games/libggz/bsd.ggz.mk
new file mode 100644
index 00000000000..068f1d4ce59
--- /dev/null
+++ b/games/libggz/bsd.ggz.mk
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+# common settings
+
+GGZ_VERSION= 0.0.14
+
+MASTER_SITES= \
+ http://mirrors.dotsrc.org/ggzgamingzone/ggz/%SUBDIR%/ \
+ http://ftp.ggzgamingzone.org/pub/ggz/%SUBDIR%/
+MASTER_SITE_SUBDIR= ${PORTVERSION}
+DIST_SUBDIR= ggz
+
+# components section
+
+_USE_GGZ_ALL= core client
+
+core_LIB_DEPENDS= ggz.5:${PORTSDIR}/games/libggz
+
+client_LIB_DEPENDS= ggzcore.9:${PORTSDIR}/games/ggz-client-libs
+
+.for component in ${USE_GGZ}
+LIB_DEPENDS+= ${${component}_LIB_DEPENDS}
+. endfor
+
+.for component in ${USE_GGZ}
+. if ${_USE_GGZ_ALL:M${component}}==""
+IGNORE= cannot install: Unknown component ${component}
+. endif
+.endfor
diff --git a/games/libggz/distinfo b/games/libggz/distinfo
index 77e0c478a45..d35e1ae9c6b 100644
--- a/games/libggz/distinfo
+++ b/games/libggz/distinfo
@@ -1,3 +1,3 @@
-MD5 (ggz/libggz-0.0.13.tar.gz) = 911ca2b19273f5b7516e5b737bbc884c
-SHA256 (ggz/libggz-0.0.13.tar.gz) = 3b57c20681893521c648b411c8d95d09f19b24059c40daac441abbbcf98b6758
-SIZE (ggz/libggz-0.0.13.tar.gz) = 441386
+MD5 (ggz/libggz-0.0.14.tar.gz) = dfd0039042e1bc6c899faaa63d56dad1
+SHA256 (ggz/libggz-0.0.14.tar.gz) = d66834894dbc6b55c1da18b10fe8f9a6248bb5d3410b9dc1af955c6befdd0a43
+SIZE (ggz/libggz-0.0.14.tar.gz) = 469811
diff --git a/games/libggz/pkg-plist b/games/libggz/pkg-plist
index 5da802bec13..9f592f2882d 100644
--- a/games/libggz/pkg-plist
+++ b/games/libggz/pkg-plist
@@ -1,6 +1,7 @@
include/ggz.h
include/ggz_common.h
+include/ggz_dio.h
lib/libggz.a
lib/libggz.la
lib/libggz.so
-lib/libggz.so.4
+lib/libggz.so.5