summaryrefslogtreecommitdiff
path: root/databases/mysql-proxy/Makefile
blob: 41572eced9565285416b1cfb9be45f10a4f881e2 (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
# New ports collection makefile for:	mysql-proxy
# Date created:		2007-06-25
# Whom:			Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=	mysql-proxy
PORTVERSION=	0.6.0
PORTREVISION=	1
CATEGORIES=	databases
MASTER_SITES=	${MASTER_SITE_MYSQL}
MASTER_SITE_SUBDIR=	MySQL-Proxy

MAINTAINER=	clsung@FreeBSD.org
COMMENT=	Monitor, analyze or transform the communication of MySQL

LIB_DEPENDS=	event-1.3d:${PORTSDIR}/devel/libevent \
		glib:${PORTSDIR}/devel/glib20

CONFIGURE_ARGS+=	--with-lua --with-mysql
CONFIGURE_ENV+=	CFLAGS="-I${LOCALBASE}/include -I${LUA_INCDIR}" \
		LDFLAGS="-L${LOCALBASE}/lib -L${LUA_LIBDIR}" \
		PKG_CONFIG_PATH="${LUA_PREFIX}/share/doc/${LUA_SUBDIR}/etc"
GNU_CONFIGURE=	yes
USE_GNOME=	gnometarget pkgconfig
USE_ICONV=	yes
USE_LUA=	5.1+
USE_MYSQL=	yes
IGNORE_WITH_MYSQL=	323 40 41

.include <bsd.port.mk>