aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-04-07 15:49:51 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-04-07 15:49:51 +0000
commit7858d12efca7a8d0fbaf89ae599af5be80b26e64 (patch)
treeeb6a2a92e342aa90ac422b47a8fab508b8d824a6
parentfee5b7daa199892ffff4da21bac84e8a6b48fbc5 (diff)
downloadports-7858d12efca7a8d0fbaf89ae599af5be80b26e64.tar.gz
ports-7858d12efca7a8d0fbaf89ae599af5be80b26e64.zip
Notes
-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 2c063c3958e7..cf03f41d7479 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 a20fde1be46e..7861c192db82 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 3f0b33d66e93..e85e5d81b2c9 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 8ebc4ee92953..33e856e59d5f 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 9260b0201848..2590a95a9450 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 5521daec84f8..453204144c96 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 e25b87539088..ecc07a71e1c5 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 c7db61fd6eba..eaeb628504f6 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 9fff9ab919bd..74c127ae83f5 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 82370201f559..c9257649411e 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 8acee3ca80fd..fcd2ab78634d 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 b1eaa044f2cb..f5acad194285 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 cf3269341768..60bf87af8c08 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 f474bf9142d2..efe21e5e8a29 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 a92abf4730a9..d0c9b6e956d8 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 fe8d77036f0e..625f2e61a7f4 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 000000000000..068f1d4ce59b
--- /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 77e0c478a455..d35e1ae9c6bd 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 5da802bec138..9f592f2882dd 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