mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
36 lines
719 B
Makefile
36 lines
719 B
Makefile
# 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>
|