1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/databases/mydumper/Makefile
2017-09-10 13:08:54 +00:00

32 lines
667 B
Makefile

# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= mydumper
PORTVERSION= 0.9.3
DISTVERSIONPREFIX= v
CATEGORIES= databases
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
USES= cmake gnome mysql pkgconfig
PLIST_FILES= sbin/mydumper sbin/myloader
GH_ACCOUNT= maxbube
USE_GITHUB= yes
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 <bsd.port.mk>