summaryrefslogtreecommitdiff
path: root/databases/xtrabackup/Makefile
blob: 1bdb55ef8ce62da23a3302a3474f3d00317e74e6 (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
32
33
34
35
# Created by: Alex Samorukov <samm@os2.kiev.ua>
# $FreeBSD$

PORTNAME=	xtrabackup
PORTVERSION=	2.2.6
PORTREVISION=	1
CATEGORIES=	databases
MASTER_SITES=	http://www.percona.com/redir/downloads/XtraBackup/LATEST/source/tarball/
DISTNAME=	percona-${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
DISTFILES=	percona-xtrabackup-${PORTVERSION}.tar.gz
EXTRACT_ONLY=	percona-xtrabackup-${PORTVERSION}.tar.gz

MAINTAINER=	aleksandr.kuzminsky@percona.com
COMMENT=	OpenSource version of InnoDB backup with support of Percona extensions

LICENSE=	GPLv2

# quilt is required by build.sh
BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash \
		cmake:${PORTSDIR}/devel/cmake \
		bison:${PORTSDIR}/devel/bison
LIB_DEPENDS=	libgcrypt.so:${PORTSDIR}/security/libgcrypt \
		libgpg-error.so:${PORTSDIR}/security/libgpg-error
RUN_DEPENDS=	p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql \
		qpress:${PORTSDIR}/archivers/qpress

# autotool is in use for 5.1 builds
USES=		autoreconf:build gettext cmake iconv libtool perl5

PLIST_FILES=	bin/xtrabackup bin/xbstream bin/innobackupex bin/xbcrypt

pre-build:
	${CP} ${DISTDIR}/percona-xtrabackup-${PORTVERSION}.tar.gz ${WRKSRC}

.include <bsd.port.mk>