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
|
2009-08-17 10:44:51 +02:00
|
|
|
PORTVERSION= 0.7.2
|
2009-10-28 07:35:35 +01:00
|
|
|
PORTREVISION= 3
|
2007-07-02 04:51:29 +02:00
|
|
|
CATEGORIES= databases
|
|
|
|
MASTER_SITES= ${MASTER_SITE_MYSQL}
|
|
|
|
MASTER_SITE_SUBDIR= MySQL-Proxy
|
|
|
|
|
2007-10-04 08:26:55 +02:00
|
|
|
MAINTAINER= clsung@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
|
|
|
|
|
2009-07-09 04:49:52 +02:00
|
|
|
CONFIGURE_ARGS+= --with-lua=lua-5.1 --with-mysql --docdir=${DATADIR} --enable-self-contained
|
|
|
|
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
|
2008-03-27 03:05:18 +01:00
|
|
|
USE_RC_SUBR= mysql-proxy.sh
|
2008-01-29 08:33:04 +01:00
|
|
|
IGNORE_WITH_MYSQL= 323 40
|
2007-07-02 04:51:29 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|