blob: e36456fd0eaef8f934d7f444967415eac4faf06e (
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= 11
CATEGORIES= games
MAINTAINER= kde@FreeBSD.org
COMMENT= The GGZ Gaming Zone - Base Library
LIB_DEPENDS= gcrypt:${PORTSDIR}/security/libgcrypt
USE_AUTOTOOLS= libtool
USES= pathfix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug
USE_LDCONFIG= yes
MAN3= ggz.h.3
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
.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
NO_STAGE= yes
.include "${.CURDIR}/../libggz/bsd.ggz.mk"
.include <bsd.port.mk>
|