aboutsummaryrefslogtreecommitdiffstats
path: root/games/libggz/Makefile
blob: ac12e3fd5e106fffc2f1a5032c68131b01f86941 (plain) (blame)
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=   14
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>