freebsd-ports/databases/mysql-proxy/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

28 lines
805 B
Makefile

# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= mysql-proxy
PORTVERSION= 0.8.4
PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= MYSQL/MySQL-Proxy
MAINTAINER= swills@FreeBSD.org
COMMENT= Monitor, analyze, or transform the communication of MySQL
LICENSE= GPLv2
LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2 \
libglib-2.0.so:${PORTSDIR}/devel/glib20
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_LDCONFIG= yes
USE_MYSQL= yes
USE_RC_SUBR= mysql-proxy
.include <bsd.port.mk>