Lines 2-11
Link Here
|
2 |
# $FreeBSD: head/databases/xtrabackup/Makefile 368423 2014-09-18 07:30:24Z tijl $ |
2 |
# $FreeBSD: head/databases/xtrabackup/Makefile 368423 2014-09-18 07:30:24Z tijl $ |
3 |
|
3 |
|
4 |
PORTNAME= xtrabackup |
4 |
PORTNAME= xtrabackup |
5 |
PORTVERSION= 2.1.7 |
5 |
PORTVERSION= 2.2.6 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= databases |
6 |
CATEGORIES= databases |
8 |
MASTER_SITES= http://www.percona.com/downloads/XtraBackup/XtraBackup-${PORTVERSION}/source/ |
7 |
MASTER_SITES= http://www.percona.com/redir/downloads/XtraBackup/LATEST/source/tarball/ |
9 |
DISTNAME= percona-${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} |
8 |
DISTNAME= percona-${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} |
10 |
DISTFILES= percona-xtrabackup-${PORTVERSION}.tar.gz |
9 |
DISTFILES= percona-xtrabackup-${PORTVERSION}.tar.gz |
11 |
EXTRACT_ONLY= percona-xtrabackup-${PORTVERSION}.tar.gz |
10 |
EXTRACT_ONLY= percona-xtrabackup-${PORTVERSION}.tar.gz |
Lines 18-24
Link Here
|
18 |
# quilt is required by build.sh |
17 |
# quilt is required by build.sh |
19 |
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \ |
18 |
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \ |
20 |
cmake:${PORTSDIR}/devel/cmake \ |
19 |
cmake:${PORTSDIR}/devel/cmake \ |
21 |
quilt:${PORTSDIR}/devel/quilt \ |
|
|
22 |
bison:${PORTSDIR}/devel/bison |
20 |
bison:${PORTSDIR}/devel/bison |
23 |
LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \ |
21 |
LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \ |
24 |
libgpg-error.so:${PORTSDIR}/security/libgpg-error |
22 |
libgpg-error.so:${PORTSDIR}/security/libgpg-error |
Lines 26-53
Link Here
|
26 |
qpress:${PORTSDIR}/archivers/qpress |
24 |
qpress:${PORTSDIR}/archivers/qpress |
27 |
|
25 |
|
28 |
# autotool is in use for 5.1 builds |
26 |
# autotool is in use for 5.1 builds |
29 |
USES= autoreconf:build gettext gmake iconv libtool perl5 |
27 |
USES= autoreconf:build gettext cmake iconv libtool perl5 |
30 |
|
28 |
|
31 |
PLIST_FILES= bin/xtrabackup bin/xtrabackup_55 bin/xtrabackup_56 bin/xbstream \ |
29 |
PLIST_FILES= bin/xtrabackup bin/xbstream bin/innobackupex bin/xbcrypt |
32 |
bin/innobackupex bin/xbcrypt |
|
|
33 |
|
30 |
|
34 |
pre-build: |
31 |
pre-build: |
35 |
${CP} ${DISTDIR}/percona-xtrabackup-${PORTVERSION}.tar.gz ${WRKSRC} |
32 |
${CP} ${DISTDIR}/percona-xtrabackup-${PORTVERSION}.tar.gz ${WRKSRC} |
36 |
|
33 |
|
37 |
do-build: |
|
|
38 |
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./utils/build.sh xtradb55) |
39 |
${CP} ${WRKSRC}/src/xtrabackup_55 ${WRKSRC} |
40 |
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./utils/build.sh innodb56) |
41 |
${CP} ${WRKSRC}/src/xtrabackup_56 ${WRKSRC} |
42 |
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./utils/build.sh xtradb) |
43 |
${CP} ${WRKSRC}/src/xtrabackup ${WRKSRC} |
44 |
|
45 |
do-install: |
46 |
${INSTALL_PROGRAM} ${WRKSRC}/xtrabackup ${STAGEDIR}${PREFIX}/bin |
47 |
${INSTALL_PROGRAM} ${WRKSRC}/xtrabackup_55 ${STAGEDIR}${PREFIX}/bin |
48 |
${INSTALL_PROGRAM} ${WRKSRC}/xtrabackup_56 ${STAGEDIR}${PREFIX}/bin |
49 |
${INSTALL_PROGRAM} ${WRKSRC}/src/xbstream ${STAGEDIR}${PREFIX}/bin |
50 |
${INSTALL_PROGRAM} ${WRKSRC}/src/xbcrypt ${STAGEDIR}${PREFIX}/bin |
51 |
${INSTALL_SCRIPT} ${WRKSRC}/innobackupex ${STAGEDIR}${PREFIX}/bin |
52 |
|
53 |
.include <bsd.port.mk> |
34 |
.include <bsd.port.mk> |