aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql-repmgr/Makefile7
-rw-r--r--databases/postgresql-repmgr/pkg-plist3
2 files changed, 9 insertions, 1 deletions
diff --git a/databases/postgresql-repmgr/Makefile b/databases/postgresql-repmgr/Makefile
index 077efca7c50..eecd2a25d0e 100644
--- a/databases/postgresql-repmgr/Makefile
+++ b/databases/postgresql-repmgr/Makefile
@@ -3,7 +3,7 @@
PORTNAME= postgresql-repmgr
PORTVERSION= 2.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= databases
MASTER_SITES= http://www.repmgr.org/download/
DISTNAME= repmgr-${PORTVERSION}
@@ -30,5 +30,10 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/repmgr.sql ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/sql/repmgr_funcs.sql ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/sql/uninstall_repmgr_funcs.sql ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/postgresql
+ ${INSTALL_LIB} ${WRKSRC}/sql/repmgr_funcs.so ${STAGEDIR}${PREFIX}/lib/postgresql
+
.include <bsd.port.mk>
diff --git a/databases/postgresql-repmgr/pkg-plist b/databases/postgresql-repmgr/pkg-plist
index 1bf90253934..b3383bae623 100644
--- a/databases/postgresql-repmgr/pkg-plist
+++ b/databases/postgresql-repmgr/pkg-plist
@@ -1,5 +1,8 @@
bin/repmgr
@sample etc/repmgr.conf.sample
sbin/repmgrd
+lib/postgresql/repmgr_funcs.so
%%PORTDOCS%%%%DOCSDIR%%/README.rst
%%DATADIR%%/repmgr.sql
+%%DATADIR%%/repmgr_funcs.sql
+%%DATADIR%%/uninstall_repmgr_funcs.sql