mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
7858d12efc
- Introduce bsd.ggz.mk to simplify all ggz ports - Remove 4.x support Approved by: Ying-Chieh Chen (maintainer)
39 lines
869 B
Makefile
39 lines
869 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: libggz
|
|
# Date created: Oct 8, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libggz
|
|
PORTVERSION= ${GGZ_VERSION}
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= yinjieh@csie.nctu.edu.tw
|
|
COMMENT= The GGZ Gaming Zone - Base Library
|
|
|
|
USE_AUTOTOOLS= libtool:15
|
|
USE_GNOME= gnomehack gnometarget
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
CONFIGURE_ARGS= --disable-debug --mandir="${MANPREFIX}/man"
|
|
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.15:${PORTSDIR}/security/gnutls
|
|
CONFIGURE_ARGS+= --with-tls=GnuTLS
|
|
.else
|
|
USE_OPENSSL= yes
|
|
CONFIGURE_ARGS+= --with-tls=OpenSSL
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.include "${PORTSDIR}/games/libggz/bsd.ggz.mk"
|
|
.include <bsd.port.post.mk>
|