aboutsummaryrefslogtreecommitdiffstats
path: root/games/ggz-client-libs
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2014-02-13 21:52:14 +0800
committermakc <makc@FreeBSD.org>2014-02-13 21:52:14 +0800
commit455cb15ea4578cd55ddf2e8e95580f2a9c50b766 (patch)
tree8098a30c5c1c1af887feb8cb2981e689ee14ef83 /games/ggz-client-libs
parent32426c1f8e5bc8b35dee47ae1caa1ead9490aec6 (diff)
downloadfreebsd-ports-gnome-455cb15ea4578cd55ddf2e8e95580f2a9c50b766.tar.gz
freebsd-ports-gnome-455cb15ea4578cd55ddf2e8e95580f2a9c50b766.tar.zst
freebsd-ports-gnome-455cb15ea4578cd55ddf2e8e95580f2a9c50b766.zip
games/libggz and games/ggz-* ports:
- Switch to USES=libtool:oldver - Convert LIB_DEPENDS to new style - Add stage support - Use install-strip target - Remove deprecated PTHREAD_FLAGS/LIBS - Use options helpers - Add missing NLS option to OPTIONS_DEFINE [1] - Drop maintainership: kdegames don't need these ports anymore Prompted by: ehaupt [1]
Diffstat (limited to 'games/ggz-client-libs')
-rw-r--r--games/ggz-client-libs/Makefile32
-rw-r--r--games/ggz-client-libs/pkg-plist8
2 files changed, 18 insertions, 22 deletions
diff --git a/games/ggz-client-libs/Makefile b/games/ggz-client-libs/Makefile
index 36197bd92fe2..b053bc757c40 100644
--- a/games/ggz-client-libs/Makefile
+++ b/games/ggz-client-libs/Makefile
@@ -6,43 +6,31 @@ PORTVERSION= ${GGZ_VERSION}
PORTREVISION= 2
CATEGORIES= games
-MAINTAINER= kde@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= The GGZ Gaming Zone - Core Client Libraries
-LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
+LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
-USE_AUTOTOOLS= libtool
+USES= libtool:oldver
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug --with-libggz-dir="${LOCALBASE}"
USE_LDCONFIG= yes
USE_GGZ= core
-MAN1= ggzwrap.1
-MAN3= ggzcore_h.3 ggzmod_h.3
-MAN5= ggz.modules.5
-MAN6= ggz.6 ggz-config.6 ggz-wrapper.6
-MAN7= ggz.7
+INSTALL_TARGET= install-strip
-CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib -pthread
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+NLS_USES= gettext
+NLS_CONFIGURE_ARGS= --disable-nls
post-patch:
@${REINPLACE_CMD} -e 's|libggz.la|libggz.so|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|' ${WRKSRC}/ggz-wrapper/ggz
-post-install:
- @${TOUCH} ${PREFIX}/etc/ggz.modules
-
.include "${.CURDIR}/../libggz/bsd.ggz.mk"
.include <bsd.port.mk>
diff --git a/games/ggz-client-libs/pkg-plist b/games/ggz-client-libs/pkg-plist
index dbad2ada0d41..65fbc26cda21 100644
--- a/games/ggz-client-libs/pkg-plist
+++ b/games/ggz-client-libs/pkg-plist
@@ -14,6 +14,14 @@ lib/libggzmod.a
lib/libggzmod.la
lib/libggzmod.so
lib/libggzmod.so.5
+man/man1/ggzwrap.1.gz
+man/man3/ggzcore_h.3.gz
+man/man3/ggzmod_h.3.gz
+man/man5/ggz.modules.5.gz
+man/man6/ggz.6.gz
+man/man6/ggz-config.6.gz
+man/man6/ggz-wrapper.6.gz
+man/man7/ggz.7.gz
share/desktop-directories/ggz-games.directory
share/desktop-directories/ggz.directory
%%NLS%%share/locale/ar/LC_MESSAGES/ggzcore.mo