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