mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
a1b4c578b3
Reported by: waldemar.dick@wdick.de MFH: 2020Q2 (bug fix) Relnotes: https://repmgr.org/docs/current/release-5.1.0.html
44 lines
983 B
Makefile
44 lines
983 B
Makefile
# Created by: alp@sfedu.ru
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= postgresql-repmgr
|
|
PORTVERSION= 5.1.0
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://www.repmgr.org/download/
|
|
DISTNAME= repmgr-${PORTVERSION}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= PostgreSQL replication manager
|
|
|
|
LICENSE= GPLv3
|
|
|
|
RUN_DEPENDS= rsync:net/rsync
|
|
|
|
USES= gettext gmake pgsql
|
|
|
|
GNU_CONFIGURE= yes
|
|
LLD_UNSAFE= yes
|
|
USE_RC_SUBR= repmgrd
|
|
WANT_PGSQL= server
|
|
MAKE_ENV= USE_PGXS=1
|
|
LIBS= -L${LOCALBASE}/lib -lintl
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
PORTDOCS= CONTRIBUTING.md COPYRIGHT CREDITS FAQ.md HISTORY LICENSE PACKAGES.md \
|
|
README.md
|
|
|
|
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
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|