svn commit: r374718 - head/databases/postgresql-repmgr

Matthew Seaman matthew at FreeBSD.org
Sun Dec 14 17:59:54 UTC 2014


Author: matthew
Date: Sun Dec 14 17:59:53 2014
New Revision: 374718
URL: https://svnweb.freebsd.org/changeset/ports/374718
QAT: https://qat.redports.org/buildarchive/r374718/

Log:
  Include postgresql loadable module and related sample SQL files into
  plist.
  
  PR:		195718
  Submitted by:	maintainer (5u623l20 at gmail.com)

Modified:
  head/databases/postgresql-repmgr/Makefile
  head/databases/postgresql-repmgr/pkg-plist

Modified: head/databases/postgresql-repmgr/Makefile
==============================================================================
--- head/databases/postgresql-repmgr/Makefile	Sun Dec 14 17:56:14 2014	(r374717)
+++ head/databases/postgresql-repmgr/Makefile	Sun Dec 14 17:59:53 2014	(r374718)
@@ -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>

Modified: head/databases/postgresql-repmgr/pkg-plist
==============================================================================
--- head/databases/postgresql-repmgr/pkg-plist	Sun Dec 14 17:56:14 2014	(r374717)
+++ head/databases/postgresql-repmgr/pkg-plist	Sun Dec 14 17:59:53 2014	(r374718)
@@ -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


More information about the svn-ports-head mailing list