7f37a892ef
- 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]
35 lines
773 B
Makefile
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>
|