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_ON= -Dliblz4=enabled |
31 |
LZ4_MESON_OFF= -Dliblz4=disabled |
29 |
|
32 |
|
|
|
33 |
SFTP_LIB_DEPENDS= libssh2.so:security/libssh2 |
34 |
SFTP_MESON_ON= -Dlibssh2=enabled |
35 |
SFTP_MESON_OFF= -Dlibssh2=disabled |
36 |
|
30 |
ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd |
37 |
ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd |
31 |
ZSTD_CONFIGURE_OFF= ac_cv_lib_zstd_ZSTD_isError=no |
38 |
ZSTD_MESON_ON= -Dlibzstd=enabled |
32 |
ZSTD_CONFIGURE_ON= ac_cv_lib_zstd_ZSTD_isError=yes |
39 |
ZSTD_MESON_OFF= -Dlibzstd=disabled |
33 |
|
40 |
|
34 |
post-install: |
41 |
post-install: |
35 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgbackrest |
|
|
36 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/pgbackrest |
42 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/pgbackrest |
37 |
|
43 |
|
38 |
.include <bsd.port.mk> |
44 |
.include <bsd.port.mk> |