aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql-proxy/Makefile
blob: 5ecad2d274da95ae13f92b91899c14ff2a82516a (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
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$

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

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

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

CONFIGURE_ARGS+=	--with-lua=lua-5.1 --with-mysql=${LOCALBASE}/bin/mysql_config --docdir=${DATADIR} --enable-self-contained
CFLAGS+=	-I${LOCALBASE}/include
CONFIGURE_ENV+=	PKG_CONFIG_PATH="${LUA_PREFIX}/share/doc/${LUA_SUBDIR}/etc"
LDFLAGS+=	-L${LOCALBASE}/lib -L${LUA_LIBDIR}
GNU_CONFIGURE=	yes
USES=		pkgconfig iconv
USE_LDCONFIG=	yes
USE_LUA=	5.1+
USE_MYSQL=	yes
USE_RC_SUBR=	mysql-proxy

NO_STAGE=	yes
.include <bsd.port.mk>