- 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)
This commit is contained in:
Rong-En Fan 2007-04-07 15:49:51 +00:00
parent fee5b7daa1
commit 7858d12efc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=189437
19 changed files with 110 additions and 132 deletions

View file

@ -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>

View file

@ -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

View file

@ -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

View file

@ -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>

View file

@ -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

View file

@ -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

View file

@ -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>

View file

@ -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

View file

@ -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>

View file

@ -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

View file

@ -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

View file

@ -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>

View file

@ -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

View file

@ -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>

View file

@ -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

View file

@ -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>

29
games/libggz/bsd.ggz.mk Normal file
View file

@ -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

View file

@ -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

View file

@ -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