Lines 1-6
Link Here
|
1 |
PORTNAME= pgbackrest |
1 |
PORTNAME= pgbackrest |
2 |
DISTVERSIONPREFIX= release/ |
2 |
DISTVERSIONPREFIX= release/ |
3 |
DISTVERSION= 2.49 |
3 |
DISTVERSION= 2.51 |
4 |
CATEGORIES= databases |
4 |
CATEGORIES= databases |
5 |
|
5 |
|
6 |
MAINTAINER= schoutm@gmail.com |
6 |
MAINTAINER= schoutm@gmail.com |
Lines 8-38
Link Here
|
8 |
WWW= https://pgbackrest.org/ |
8 |
WWW= https://pgbackrest.org/ |
9 |
|
9 |
|
10 |
LICENSE= MIT |
10 |
LICENSE= MIT |
11 |
LICENSE_FILE= ${WRKSRC}/../LICENSE |
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
|
12 |
|
13 |
LIB_DEPENDS= liblz4.so:archivers/liblz4 \ |
13 |
LIB_DEPENDS= liblz4.so:archivers/liblz4 \ |
14 |
libyaml.so:textproc/libyaml |
14 |
libyaml.so:textproc/libyaml |
15 |
|
15 |
|
16 |
USES= gmake gnome pkgconfig pgsql ssl |
16 |
USES= gnome meson pgsql pkgconfig python ssl |
|
|
17 |
USE_GITHUB= yes |
17 |
USE_GNOME= libxml2 |
18 |
USE_GNOME= libxml2 |
18 |
GNU_CONFIGURE= yes |
|
|
19 |
|
19 |
|
20 |
USE_GITHUB= yes |
20 |
MESON_ARGS+= -Dconfigdir="${LOCALBASE}/etc/pgbackrest" |
21 |
|
21 |
|
22 |
WRKSRC_SUBDIR= src |
22 |
BINARY_ALIAS= python3=${PYTHON_CMD} |
23 |
|
23 |
|
24 |
ALL_TARGET= |
24 |
OPTIONS_DEFINE= LZ4 SFTP ZSTD |
|
|
25 |
OPTIONS_DEFAULT= LZ4 |
25 |
|
26 |
|
26 |
CONFIGURE_ARGS= --with-configdir="${LOCALBASE}/etc/pgbackrest" |
27 |
SFTP_DESC= Enable SFTP storage support |
27 |
|
28 |
|
28 |
OPTIONS_DEFINE= ZSTD |
29 |
LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 |
|
|
30 |
LZ4_MESON_ENABLED= liblz4 |
29 |
|
31 |
|
|
|
32 |
SFTP_LIB_DEPENDS= libssh2.so:security/libssh2 |
33 |
SFTP_MESON_ENABLED= libssh2 |
34 |
|
30 |
ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd |
35 |
ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd |
31 |
ZSTD_CONFIGURE_OFF= ac_cv_lib_zstd_ZSTD_isError=no |
36 |
ZSTD_MESON_ENABLED= libzstd |
32 |
ZSTD_CONFIGURE_ON= ac_cv_lib_zstd_ZSTD_isError=yes |
|
|
33 |
|
37 |
|
34 |
post-install: |
38 |
post-install: |
35 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgbackrest |
|
|
36 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/pgbackrest |
39 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/pgbackrest |
37 |
|
40 |
|
38 |
.include <bsd.port.mk> |
41 |
.include <bsd.port.mk> |