| @@ -1,28 +1,28 @@ | | | @@ -1,28 +1,28 @@ |
1 | # $NetBSD: Makefile,v 1.20 2022/08/17 16:41:18 tnn Exp $ | | 1 | # $NetBSD: Makefile,v 1.21 2022/08/25 07:34:41 tnn Exp $ |
2 | | | 2 | |
3 | DISTNAME= repmgr-5.3.2 | | 3 | DISTNAME= repmgr-5.3.2 |
4 | PKGNAME= postgresql${PGSQL_VERSION}-${DISTNAME} | | 4 | PKGNAME= postgresql${PGSQL_VERSION}-${DISTNAME} |
5 | CATEGORIES= databases | | 5 | CATEGORIES= databases |
6 | MASTER_SITES= https://repmgr.org/download/ | | 6 | MASTER_SITES= https://repmgr.org/download/ |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://repmgr.org/ | | 9 | HOMEPAGE= https://repmgr.org/ |
10 | COMMENT= Replication Manager for PostgreSQL clusters | | 10 | COMMENT= Replication Manager for PostgreSQL clusters |
11 | LICENSE= gnu-gpl-v3 | | 11 | LICENSE= gnu-gpl-v3 |
12 | | | 12 | |
13 | DEPENDS+= postgresql${PGSQL_VERSION}-server>=0:../../databases/postgresql${PGSQL_VERSION}-server | | 13 | DEPENDS+= postgresql${PGSQL_VERSION}-server>=0:../../databases/postgresql${PGSQL_VERSION}-server |
14 | | | 14 | |
15 | USE_TOOLS+= gmake flex | | 15 | USE_TOOLS+= gmake flex gsed |
16 | GNU_CONFIGURE= yes | | 16 | GNU_CONFIGURE= yes |
17 | PKG_SYSCONFSUBDIR= postgresql | | 17 | PKG_SYSCONFSUBDIR= postgresql |
18 | | | 18 | |
19 | BUILD_DEFS+= PGUSER PGGROUP PGHOME | | 19 | BUILD_DEFS+= PGUSER PGGROUP PGHOME |
20 | FILES_SUBST+= PGUSER=${PGUSER} PGGROUP=${PGGROUP} PGHOME=${PGHOME} | | 20 | FILES_SUBST+= PGUSER=${PGUSER} PGGROUP=${PGGROUP} PGHOME=${PGHOME} |
21 | | | 21 | |
22 | DOCDIR= share/doc/repmgr | | 22 | DOCDIR= share/doc/repmgr |
23 | EGDIR= share/examples/repmgr | | 23 | EGDIR= share/examples/repmgr |
24 | SMF_NAME= postgresql-repmgr | | 24 | SMF_NAME= postgresql-repmgr |
25 | | | 25 | |
26 | INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR} | | 26 | INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR} |
27 | | | 27 | |
28 | CONF_FILES_PERMS+= ${EGDIR}/repmgr.conf.sample \ | | 28 | CONF_FILES_PERMS+= ${EGDIR}/repmgr.conf.sample \ |