2011-08-25 17:04:16 +02:00
|
|
|
PORTNAME= postgresql-repmgr
|
2023-07-15 16:16:08 +02:00
|
|
|
PORTVERSION= 5.4.1
|
2011-08-25 17:04:16 +02:00
|
|
|
CATEGORIES= databases
|
2012-12-10 03:27:32 +01:00
|
|
|
MASTER_SITES= http://www.repmgr.org/download/
|
2011-08-25 17:04:16 +02:00
|
|
|
DISTNAME= repmgr-${PORTVERSION}
|
2011-01-18 14:10:35 +01:00
|
|
|
|
2014-12-24 01:14:11 +01:00
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
2011-08-25 17:04:16 +02:00
|
|
|
COMMENT= PostgreSQL replication manager
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://repmgr.org/
|
2011-01-18 14:10:35 +01:00
|
|
|
|
2013-10-22 05:19:13 +02:00
|
|
|
LICENSE= GPLv3
|
2011-01-18 14:10:35 +01:00
|
|
|
|
2023-06-30 00:32:35 +02:00
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl \
|
|
|
|
libjson-c.so:devel/json-c
|
2016-04-01 16:00:51 +02:00
|
|
|
RUN_DEPENDS= rsync:net/rsync
|
2013-10-22 05:19:13 +02:00
|
|
|
|
2020-04-22 23:44:48 +02:00
|
|
|
USES= gettext gmake pgsql
|
2022-05-27 21:12:51 +02:00
|
|
|
WANT_PGSQL= server
|
|
|
|
USE_RC_SUBR= repmgrd
|
2018-12-16 19:15:56 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2022-05-27 21:12:51 +02:00
|
|
|
|
2011-08-25 17:04:16 +02:00
|
|
|
MAKE_ENV= USE_PGXS=1
|
2022-05-27 21:12:51 +02:00
|
|
|
|
2018-01-08 13:55:59 +01:00
|
|
|
LIBS= -L${LOCALBASE}/lib -lintl
|
2011-01-18 14:10:35 +01:00
|
|
|
|
2022-05-27 21:12:51 +02:00
|
|
|
LLD_UNSAFE= yes
|
2013-10-22 05:19:13 +02:00
|
|
|
|
2022-05-27 21:12:51 +02:00
|
|
|
PORTDOCS= CONTRIBUTING.md COPYRIGHT CREDITS FAQ.md HISTORY LICENSE \
|
|
|
|
PACKAGES.md README.md
|
2018-01-08 13:55:59 +01:00
|
|
|
|
2022-05-27 21:12:51 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-12-14 18:59:53 +01:00
|
|
|
|
2016-06-09 22:43:54 +02:00
|
|
|
do-install-DOCS-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
|
2022-05-27 21:12:51 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/repmgr.conf.sample ${STAGEDIR}${PREFIX}/etc
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/repmgr
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/repmgrd
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/repmgr.so
|
|
|
|
|
2011-01-18 14:10:35 +01:00
|
|
|
.include <bsd.port.mk>
|