blob: 06da236ddfc801a6b4272100d18b3ac661a6e986 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
PORTNAME= postgresql-repmgr
PORTVERSION= 5.3.2
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://www.repmgr.org/download/
DISTNAME= repmgr-${PORTVERSION}
MAINTAINER= bofh@FreeBSD.org
COMMENT= PostgreSQL replication manager
WWW= https://repmgr.org/
LICENSE= GPLv3
RUN_DEPENDS= rsync:net/rsync
USES= gettext gmake pgsql
WANT_PGSQL= server
USE_RC_SUBR= repmgrd
GNU_CONFIGURE= yes
MAKE_ENV= USE_PGXS=1
LIBS= -L${LOCALBASE}/lib -lintl
LLD_UNSAFE= yes
PORTDOCS= CONTRIBUTING.md COPYRIGHT CREDITS FAQ.md HISTORY LICENSE \
PACKAGES.md README.md
OPTIONS_DEFINE= DOCS
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
.endfor
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
.include <bsd.port.mk>
|