blob: 7702bfb24323767f323dd902ffa30b224c81a85e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= mydumper
PORTVERSION= 0.9.5
DISTVERSIONPREFIX= v
CATEGORIES= databases
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= MySQL Data Dumper
LICENSE= GPLv3
LIB_DEPENDS= libpcre.so:devel/pcre
CMAKE_OFF= BUILD_DOCS WITH_BINLOG
USE_GNOME= glib20
USES= cmake:insource 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>
|