summaryrefslogtreecommitdiffstats
path: root/games/libggz/Makefile
blob: 15e9c4060b04d2bbaee572bb363019cad1c88740 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Created by: ijliao
# $FreeBSD$

PORTNAME=	libggz
PORTVERSION=	${GGZ_VERSION}
PORTREVISION=	17
CATEGORIES=	games

MAINTAINER=	ports@FreeBSD.org
COMMENT=	The GGZ Gaming Zone - Base Library

LIB_DEPENDS=	libgcrypt.so:${PORTSDIR}/security/libgcrypt

USES=		libtool 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>
OpenPOWER on IntegriCloud