freebsd-ports/games/libggz/Makefile
Max Brazhnikov 7f37a892ef 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]
2014-02-13 13:52:14 +00:00

35 lines
773 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= libggz
PORTVERSION= ${GGZ_VERSION}
PORTREVISION= 11
CATEGORIES= games
MAINTAINER= ports@FreeBSD.org
COMMENT= The GGZ Gaming Zone - Base Library
LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt
USES= libtool:oldver pathfix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -pthread
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
.include "${.CURDIR}/../libggz/bsd.ggz.mk"
.include <bsd.port.mk>