aboutsummaryrefslogtreecommitdiffstats
path: root/games/ggz-client-libs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/ggz-client-libs/Makefile')
-rw-r--r--games/ggz-client-libs/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/games/ggz-client-libs/Makefile b/games/ggz-client-libs/Makefile
index 532f0b0b7b2e..7d824af1e3f2 100644
--- a/games/ggz-client-libs/Makefile
+++ b/games/ggz-client-libs/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= ggz-client-libs
-PORTVERSION= 0.0.9
+PORTVERSION= 0.0.10
CATEGORIES= games
MASTER_SITES= http://ftp.ggzgamingzone.org/pub/ggz/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTVERSION}
@@ -16,10 +16,13 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= The GGZ Gaming Zone - Core Client Libraries
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
- ggz.2:${PORTSDIR}/games/libggz \
+ ggz.3:${PORTSDIR}/games/libggz \
expat.5:${PORTSDIR}/textproc/expat2
USE_GNOME= gnometarget
+USE_GETOPT_LONG= yes
+USE_GETTEXT= yes
+USE_REINPLACE= yes
USE_LIBTOOL_VER= 15
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --disable-debug
@@ -27,9 +30,13 @@ INSTALLS_SHLIB= yes
MAN3= ggzcore_h.3 ggzmod_h.3
MAN5= ggz.modules.5
-MAN6= ggz-config.6
+MAN6= ggz-config.6 ggz-wrapper.6
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+post-patch:
+ @${REINPLACE_CMD} -e 's|LIBGGZ_INCLUDES=.*$$|LIBGGZ_INCLUDES=|g ; \
+ s|LIBGGZ_LDFLAGS=.*$$|LIBGGZ_LDFLAGS=|g' ${WRKSRC}/configure
+
.include <bsd.port.mk>