797467cd9d
Upstream no longer maintains or recommends use of mysql-proxy, see: https://downloads.mysql.com/archives/proxy/
31 lines
866 B
Makefile
31 lines
866 B
Makefile
# Created by: Gea-Suan Lin <gslin@gslin.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mysql-proxy
|
|
PORTVERSION= 0.8.4
|
|
PORTREVISION= 5
|
|
CATEGORIES= databases
|
|
MASTER_SITES= MYSQL/MySQL-Proxy
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Monitor, analyze, or transform the communication of MySQL
|
|
|
|
DEPRECATED= No longer maintained and not recommended for production use
|
|
EXPIRATION_DATE= 2018-01-30
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libevent.so:devel/libevent
|
|
|
|
CONFIGURE_ARGS+= --with-lua=lua-${LUA_VER} --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 lua:51 iconv libtool
|
|
USE_GNOME= glib20
|
|
USE_LDCONFIG= yes
|
|
USE_MYSQL= yes
|
|
USE_RC_SUBR= mysql-proxy
|
|
|
|
.include <bsd.port.mk>
|