2003-10-09 03:33:12 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: libggz
|
|
|
|
# Date created: Oct 8, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libggz
|
2007-04-07 17:49:51 +02:00
|
|
|
PORTVERSION= ${GGZ_VERSION}
|
2009-01-06 14:01:11 +01:00
|
|
|
PORTREVISION= 5
|
2003-10-09 03:33:12 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
|
2008-12-25 04:13:51 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-10-09 03:33:12 +02:00
|
|
|
COMMENT= The GGZ Gaming Zone - Base Library
|
|
|
|
|
2009-01-06 14:01:11 +01:00
|
|
|
LIB_DEPENDS= gcrypt.16:${PORTSDIR}/security/libgcrypt
|
2008-03-05 19:22:04 +01:00
|
|
|
|
2007-02-01 03:42:05 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2004-02-14 14:19:35 +01:00
|
|
|
USE_GNOME= gnomehack gnometarget
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-02-14 14:19:35 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2007-07-23 11:36:51 +02:00
|
|
|
CONFIGURE_ARGS= --disable-debug
|
2007-01-02 09:54:13 +01:00
|
|
|
USE_LDCONFIG= yes
|
2003-10-09 03:33:12 +02:00
|
|
|
|
|
|
|
MAN3= ggz.h.3
|
|
|
|
|
2004-02-14 14:19:35 +01:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
|
|
|
2004-07-19 19:54:49 +02:00
|
|
|
.if defined(WITH_GNUTLS)
|
2008-03-03 12:57:08 +01:00
|
|
|
LIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls
|
2004-07-19 19:54:49 +02:00
|
|
|
CONFIGURE_ARGS+= --with-tls=GnuTLS
|
|
|
|
.else
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
CONFIGURE_ARGS+= --with-tls=OpenSSL
|
|
|
|
.endif
|
|
|
|
|
2006-04-28 15:36:02 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2007-04-07 17:49:51 +02:00
|
|
|
.include "${PORTSDIR}/games/libggz/bsd.ggz.mk"
|
2006-04-28 15:36:02 +02:00
|
|
|
.include <bsd.port.post.mk>
|