2007-07-02 04:51:29 +02:00
|
|
|
# New ports collection makefile for: mysql-proxy
|
|
|
|
# Date created: 2007-06-25
|
|
|
|
# Whom: Gea-Suan Lin <gslin@gslin.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mysql-proxy
|
2010-12-12 05:33:28 +01:00
|
|
|
PORTVERSION= 0.8.1
|
2011-05-29 23:54:14 +02:00
|
|
|
PORTREVISION= 2
|
2007-07-02 04:51:29 +02:00
|
|
|
CATEGORIES= databases
|
|
|
|
MASTER_SITES= ${MASTER_SITE_MYSQL}
|
|
|
|
MASTER_SITE_SUBDIR= MySQL-Proxy
|
|
|
|
|
2010-12-09 03:36:55 +01:00
|
|
|
MAINTAINER= swills@FreeBSD.org
|
2007-07-02 04:51:29 +02:00
|
|
|
COMMENT= Monitor, analyze or transform the communication of MySQL
|
|
|
|
|
2008-08-19 18:40:17 +02:00
|
|
|
LIB_DEPENDS= event-1.4:${PORTSDIR}/devel/libevent \
|
2007-07-02 04:51:29 +02:00
|
|
|
glib:${PORTSDIR}/devel/glib20
|
|
|
|
|
2010-12-12 05:33:28 +01:00
|
|
|
CONFIGURE_ARGS+= --with-lua=lua-5.1 --with-mysql=${LOCALBASE}/bin/mysql_config --docdir=${DATADIR} --enable-self-contained
|
2009-07-09 04:49:52 +02:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -L${LUA_LIBDIR}" \
|
2007-07-02 04:51:29 +02:00
|
|
|
PKG_CONFIG_PATH="${LUA_PREFIX}/share/doc/${LUA_SUBDIR}/etc"
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GNOME= gnometarget pkgconfig
|
|
|
|
USE_ICONV= yes
|
2009-07-09 04:49:52 +02:00
|
|
|
USE_LDCONFIG= yes
|
2007-07-02 04:51:29 +02:00
|
|
|
USE_LUA= 5.1+
|
|
|
|
USE_MYSQL= yes
|
2010-12-12 05:33:28 +01:00
|
|
|
USE_RC_SUBR= mysql-proxy
|
2010-12-12 01:55:06 +01:00
|
|
|
IGNORE_WITH_MYSQL= 323 40 41
|
2007-07-02 04:51:29 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|