aboutsummaryrefslogtreecommitdiff
path: root/databases/xtrabackup8/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/xtrabackup8/Makefile')
-rw-r--r--databases/xtrabackup8/Makefile64
1 files changed, 0 insertions, 64 deletions
diff --git a/databases/xtrabackup8/Makefile b/databases/xtrabackup8/Makefile
deleted file mode 100644
index dd5bd8aa1fbc..000000000000
--- a/databases/xtrabackup8/Makefile
+++ /dev/null
@@ -1,64 +0,0 @@
-# Created by: Alex Samorukov <samm@freebsd.org>
-
-PORTNAME= xtrabackup
-PORTVERSION= 8.0.14
-PORTREVISION= 2
-CATEGORIES= databases
-MASTER_SITES= https://www.percona.com/downloads/Percona-XtraBackup-${PORTVERSION:R}/Percona-XtraBackup-${PORTVERSION}/source/tarball/ \
- https://github.com/percona/percona-xtrabackup/archive/
-PKGNAMESUFFIX= 8
-DISTNAME= percona-${PORTNAME}-${PORTVERSION}
-
-MAINTAINER= eugene@zhegan.in
-COMMENT= Open-source backup tool for InnoDB and XtraDB
-
-LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-BUILD_DEPENDS= xxd:editors/vim \
- boost-libs>=1.72.0:devel/boost-libs \
- protobuf>=3.0:devel/protobuf \
- rapidjson>=1.1.0:devel/rapidjson \
- libevent>=2.1:devel/libevent
-LIB_DEPENDS= libcurl.so:ftp/curl \
- libev.so:devel/libev \
- libgcrypt.so:security/libgcrypt \
- libgpg-error.so:security/libgpg-error \
- libicudata.so:devel/icu \
- libunwind.so:devel/libunwind \
- libzstd.so:archivers/zstd
-RUN_DEPENDS= qpress:archivers/qpress
-
-CONFLICTS_INSTALL= ${PORTNAME}
-
-USES= bison cmake compiler:c++14-lang cpe pkgconfig ssl
-CPE_VENDOR= percona
-CMAKE_ARGS= -DBUILD_CONFIG:STRING=xtrabackup_release
-.for component in EDITLINE ICU LIBEVENT PROTOBUF RAPIDJSON ZSTD
-CMAKE_ARGS+= -DWITH_${component}:STRING=system
-.endfor
-
-.include <bsd.port.pre.mk>
-
-# Since MySQL 8.0.20 InnoDB engine uses new memory alligned allocator
-# which is broken on i386 due to different size of types and causes a
-# 'static_assert(alignof(T) <= alignof(std::max_align_t))' error
-.if ${ARCH} == i386
-CMAKE_ARGS+= -DDISABLE_PSI_MEMORY=1
-.endif
-
-post-extract:
-# Delete bundled components so we won't accidentally use them, except LZ4
-# which cannot be removed just yet
- @${MV} ${WRKSRC}/extra/lz4 ${WRKSRC}
- @${RM} -r ${WRKSRC}/extra/*
- @${MV} ${WRKSRC}/lz4 ${WRKSRC}/extra
-
-post-patch:
- @${REINPLACE_CMD} -e 's,TRUE,true,' ${WRKSRC}/sql/mysqld.cc
-
-post-stage:
- @${RM} -r ${STAGEDIR}${PREFIX}/docs
- @${RMDIR} ${STAGEDIR}${PREFIX}/lib/plugin/debug
-
-.include <bsd.port.post.mk>