aboutsummaryrefslogtreecommitdiff
path: root/databases/mydumper/Makefile
blob: cb50dd57e590626ec3080a2c2fbf7c26e4567454 (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.5.1
PORTREVISION=	2
CATEGORIES=	databases
MASTER_SITES=	http://code.launchpad.net/mydumper/${PORTVERSION:R}/${PORTVERSION}/+download/

MAINTAINER=	gslin@gslin.org
COMMENT=	MySQL Data Dumper

LICENSE=	GPLv3

LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:S/a//}

FETCH_ARGS?=	-pRr
PLIST_FILES=	sbin/mydumper sbin/myloader
USE_GNOME=	glib20
USE_MYSQL=	yes
USE_CMAKE=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/CMakeLists.txt

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/mydumper ${WRKSRC}/myloader ${PREFIX}/sbin

.include <bsd.port.mk>