aboutsummaryrefslogtreecommitdiff
path: root/games/ggz-client-libs
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 /games/ggz-client-libs
parentfee5b7daa199892ffff4da21bac84e8a6b48fbc5 (diff)
downloadports-7858d12efca7a8d0fbaf89ae599af5be80b26e64.tar.gz
ports-7858d12efca7a8d0fbaf89ae599af5be80b26e64.zip
Notes
Diffstat (limited to 'games/ggz-client-libs')
-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
3 files changed, 17 insertions, 24 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