freebsd-ports/databases/mysql-proxy/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

33 lines
905 B
Makefile

# 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.8.2
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
USE_GNOME= pkgconfig
USE_ICONV= yes
USE_LDCONFIG= yes
USE_LUA= 5.1+
USE_MYSQL= yes
USE_RC_SUBR= mysql-proxy
IGNORE_WITH_MYSQL= 323 40 41
.include <bsd.port.mk>