# Created by: Gea-Suan Lin # $FreeBSD: head/databases/mydumper/Makefile 412346 2016-04-01 14:00:51Z mat $ PORTNAME= mydumper PORTVERSION= 0.9.1 CATEGORIES= databases MASTER_SITES= http://code.launchpad.net/mydumper/${PORTVERSION:R}/${PORTVERSION}/+download/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= MySQL Data Dumper LICENSE= GPLv3 LIB_DEPENDS= libpcre.so:devel/pcre CMAKE_ARGS= -DBUILD_DOCS=OFF -DWITH_BINLOG=OFF USE_GNOME= glib20 USE_MYSQL= yes USES= cmake pkgconfig PLIST_FILES= sbin/mydumper sbin/myloader post-patch: @${REINPLACE_CMD} -e '/link_libraries(mydumper/ s|)$$| -lm)|; s|-Werror||' ${WRKSRC}/CMakeLists.txt do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mydumper ${WRKSRC}/myloader ${STAGEDIR}${PREFIX}/sbin/ .include