aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authormatthew <matthew@FreeBSD.org>2014-12-15 01:59:53 +0800
committermatthew <matthew@FreeBSD.org>2014-12-15 01:59:53 +0800
commitf1ae91abac3a160af4d9a9c864a540e11d415247 (patch)
tree6c9c4607d8a9c6cbc2495b903d4af922345cffaa /databases
parent10fc41fc134c936d6d4c7a1091298f28e5f4ff39 (diff)
downloadfreebsd-ports-gnome-f1ae91abac3a160af4d9a9c864a540e11d415247.tar.gz
freebsd-ports-gnome-f1ae91abac3a160af4d9a9c864a540e11d415247.tar.zst
freebsd-ports-gnome-f1ae91abac3a160af4d9a9c864a540e11d415247.zip
Include postgresql loadable module and related sample SQL files into
plist. PR: 195718 Submitted by: maintainer (5u623l20@gmail.com)
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 077efca7c502..eecd2a25d0e3 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 1bf90253934d..b3383bae623e 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