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 |
OPTIONS_DEFINE= LZ4 SSH ZSTD |
|
|
23 |
OPTIONS_DEFAULT= LZ4 |
23 |
|
24 |
|
24 |
ALL_TARGET= |
25 |
SSH_DESC= Enable SFTP storage support |
25 |
|
26 |
|
26 |
CONFIGURE_ARGS= --with-configdir="${LOCALBASE}/etc/pgbackrest" |
27 |
LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 |
|
|
28 |
LZ4_MESON_ON= -Dliblz4=enabled |
29 |
LZ4_MESON_OFF= -Dliblz4=disabled |
27 |
|
30 |
|
28 |
OPTIONS_DEFINE= ZSTD |
31 |
SSH_LIB_DEPENDS= libssh2.so:security/libssh2 |
|
|
32 |
SSH_MESON_ON= -Dlibssh2=enabled |
33 |
SSH_MESON_OFF= -Dlibssh2=disabled |
29 |
|
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_ON= -Dlibzstd=enabled |
32 |
ZSTD_CONFIGURE_ON= ac_cv_lib_zstd_ZSTD_isError=yes |
37 |
ZSTD_MESON_OFF= -Dlibzstd=disabled |
33 |
|
38 |
|
|
|
39 |
post-patch: |
40 |
${SED} -i -e "s@'python3'@'${PYTHON_CMD}'@" ${WRKSRC}/meson.build |
41 |
|
34 |
post-install: |
42 |
post-install: |
35 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgbackrest |
|
|
36 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/pgbackrest |
43 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/pgbackrest |
37 |
|
44 |
|
38 |
.include <bsd.port.mk> |
45 |
.include <bsd.port.mk> |