Include postgresql loadable module and related sample SQL files into

plist.

PR:		195718
Submitted by:	maintainer (5u623l20@gmail.com)
This commit is contained in:
Matthew Seaman 2014-12-14 17:59:53 +00:00
parent 69d0a0a258
commit 88f4cd6577
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374718
2 changed files with 9 additions and 1 deletions

View file

@ -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>

View file

@ -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