blob: 5fdfb4210aa5971f29c5a67713601fbf5c35d4ac (
plain) (
blame)
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.1
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>
|