aboutsummaryrefslogtreecommitdiffstats
path: root/games/libggz/Makefile
blob: 7f48f5ee65535dd050f34f449a7ef38da1235bbd (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
36
37
38
39
# ex:ts=8
# Ports collection makefile for:    libggz
# Date created:         Oct 8, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   libggz
PORTVERSION=    0.0.12
PORTREVISION=   1
CATEGORIES= games
MASTER_SITES=   http://mirrors.dotsrc.org/ggzgamingzone/ggz/%SUBDIR%/ \
        http://ftp.ggzgamingzone.org/pub/ggz/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTVERSION}

MAINTAINER= yinjieh@csie.nctu.edu.tw
COMMENT=    The GGZ Gaming Zone - Base Library

USE_GNOME=  gnomehack gnometarget
USE_AUTOTOOLS=  libtool:15
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --disable-debug
INSTALLS_SHLIB= yes

MAN3=   ggz.h.3

CPPFLAGS=   -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS=    -L${LOCALBASE}/lib ${PTHREAD_LIBS}

.if defined(WITH_GNUTLS)
LIB_DEPENDS+=   gnutls.15:${PORTSDIR}/security/gnutls
CONFIGURE_ARGS+=    --with-tls=GnuTLS
.else
USE_OPENSSL=    yes
CONFIGURE_ARGS+=    --with-tls=OpenSSL
.endif

.include <bsd.port.mk>