aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2016-06-09 20:43:54 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2016-06-09 20:43:54 +0000
commit8582a6e3fbfd7c86ea5ebbd318afa8a507ac05ad (patch)
treea4f3b98d8c81c72b01984d7d67184e7cd31bd038
parent9f6775a55a09e3f56ae74220c0e4681be58d4c66 (diff)
downloadports-8582a6e3fbfd7c86ea5ebbd318afa8a507ac05ad.tar.gz
ports-8582a6e3fbfd7c86ea5ebbd318afa8a507ac05ad.zip
Notes
-rw-r--r--databases/postgresql-repmgr/Makefile14
-rw-r--r--databases/postgresql-repmgr/distinfo5
-rw-r--r--databases/postgresql-repmgr/pkg-plist1
3 files changed, 13 insertions, 7 deletions
diff --git a/databases/postgresql-repmgr/Makefile b/databases/postgresql-repmgr/Makefile
index 56458036db6f..ee95b91db466 100644
--- a/databases/postgresql-repmgr/Makefile
+++ b/databases/postgresql-repmgr/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= postgresql-repmgr
-PORTVERSION= 2.0.2
+PORTVERSION= 3.1.3
CATEGORIES= databases
MASTER_SITES= http://www.repmgr.org/download/
DISTNAME= repmgr-${PORTVERSION}
@@ -14,19 +14,19 @@ LICENSE= GPLv3
RUN_DEPENDS= rsync:net/rsync
-USES+= gmake pgsql:9.0+
+USES+= gettext gmake pgsql:9.3+
USE_RC_SUBR= repmgrd
WANT_PGSQL= server
MAKE_ENV= USE_PGXS=1
OPTIONS_DEFINE= DOCS
+PORTDOCS= CONTRIBUTING.md COPYRIGHT CREDITS FAILOVER.rst FAQ.md HISTORY LICENSE \
+ PACKAGES.md QUICKSTART.md README.md SSH-RSYNC.md TODO
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/repmgr ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/repmgrd ${STAGEDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/repmgr.conf.sample ${STAGEDIR}${PREFIX}/etc
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${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}
@@ -34,4 +34,10 @@ do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/postgresql
${INSTALL_LIB} ${WRKSRC}/sql/repmgr_funcs.so ${STAGEDIR}${PREFIX}/lib/postgresql
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
+.endfor
+
.include <bsd.port.mk>
diff --git a/databases/postgresql-repmgr/distinfo b/databases/postgresql-repmgr/distinfo
index 6093712e6aaa..8a29b76d5113 100644
--- a/databases/postgresql-repmgr/distinfo
+++ b/databases/postgresql-repmgr/distinfo
@@ -1,2 +1,3 @@
-SHA256 (repmgr-2.0.2.tar.gz) = f563249e15b4c56b881bc25408ab934b74219d933fd493b65e1c485cfc2fe925
-SIZE (repmgr-2.0.2.tar.gz) = 75996
+TIMESTAMP = 1465477883
+SHA256 (repmgr-3.1.3.tar.gz) = 18341611c7a9998f54928d4792c6d19b2e265f5fdea5b7060ac84765ebe54891
+SIZE (repmgr-3.1.3.tar.gz) = 122521
diff --git a/databases/postgresql-repmgr/pkg-plist b/databases/postgresql-repmgr/pkg-plist
index b3383bae623e..1538ec6e33b7 100644
--- a/databases/postgresql-repmgr/pkg-plist
+++ b/databases/postgresql-repmgr/pkg-plist
@@ -2,7 +2,6 @@ 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