aboutsummaryrefslogtreecommitdiffstats
path: root/games/libggz
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/libggz
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/libggz')
-rw-r--r--games/libggz/Makefile30
-rw-r--r--games/libggz/bsd.ggz.mk4
-rw-r--r--games/libggz/pkg-plist1
3 files changed, 18 insertions, 17 deletions
diff --git a/games/libggz/Makefile b/games/libggz/Makefile
index e36456fd0eae..cc3255c1e8bc 100644
--- a/games/libggz/Makefile
+++ b/games/libggz/Makefile
@@ -6,30 +6,30 @@ PORTVERSION= ${GGZ_VERSION}
PORTREVISION= 11
CATEGORIES= games
-MAINTAINER= kde@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= The GGZ Gaming Zone - Base Library
-LIB_DEPENDS= gcrypt:${PORTSDIR}/security/libgcrypt
+LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt
-USE_AUTOTOOLS= libtool
-USES= pathfix
+USES= libtool:oldver pathfix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug
USE_LDCONFIG= yes
-MAN3= ggz.h.3
+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
-.if defined(WITH_GNUTLS)
-LIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls
-CONFIGURE_ARGS+= --with-tls=GnuTLS
-.else
-USE_OPENSSL= yes
-CONFIGURE_ARGS+= --with-tls=OpenSSL
-.endif
+OPTIONS_DEFAULT= OPENSSL
+OPTIONS_SINGLE= TLS
+OPTIONS_SINGLE_TLS= GNUTLS OPENSSL
+
+GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls
+GNUTLS_CONFIGURE_ARGS= --with-tls=GnuTLS
+
+OPENSSL_USE= OPENSSL=yes
+OPENSSL_CONFIGURE_ARGS= --with-tls=OpenSSL
-NO_STAGE= yes
.include "${.CURDIR}/../libggz/bsd.ggz.mk"
.include <bsd.port.mk>
diff --git a/games/libggz/bsd.ggz.mk b/games/libggz/bsd.ggz.mk
index e6e43d5c5acf..d4d94d584480 100644
--- a/games/libggz/bsd.ggz.mk
+++ b/games/libggz/bsd.ggz.mk
@@ -14,9 +14,9 @@ DIST_SUBDIR= ggz
_USE_GGZ_ALL= core client
-core_LIB_DEPENDS= ggz.5:${PORTSDIR}/games/libggz
+core_LIB_DEPENDS= libggz.so:${PORTSDIR}/games/libggz
-client_LIB_DEPENDS= ggzcore.9:${PORTSDIR}/games/ggz-client-libs
+client_LIB_DEPENDS= libggzcore.so:${PORTSDIR}/games/ggz-client-libs
.for component in ${USE_GGZ}
LIB_DEPENDS+= ${${component}_LIB_DEPENDS}
diff --git a/games/libggz/pkg-plist b/games/libggz/pkg-plist
index 9f592f2882dd..b21e8a5f08a9 100644
--- a/games/libggz/pkg-plist
+++ b/games/libggz/pkg-plist
@@ -5,3 +5,4 @@ lib/libggz.a
lib/libggz.la
lib/libggz.so
lib/libggz.so.5
+man/man3/ggz.h.3.gz