From 62d4eef2e5fdab3b824b7277c38b60c06e2954fb Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Mon, 26 Jul 2004 23:28:47 +0000 Subject: [PATCH] Update to follow new rc.d/localpkg order. Obtained from: mtm --- databases/pgcluster/Makefile | 1 + databases/pgcluster/files/pgcluster.sh.tmpl | 6 +++--- databases/pgcluster/files/pglb.sh.tmpl | 5 ++--- databases/pgcluster/files/pgreplicate.sh.tmpl | 5 ++--- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/databases/pgcluster/Makefile b/databases/pgcluster/Makefile index 3e68c7f683c3..fd63f12ba3cf 100644 --- a/databases/pgcluster/Makefile +++ b/databases/pgcluster/Makefile @@ -6,6 +6,7 @@ PORTNAME= pgcluster PORTVERSION= 1.0.7 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_PGSQL} MASTER_SITE_SUBDIR= source/v${BASEPGSQL} diff --git a/databases/pgcluster/files/pgcluster.sh.tmpl b/databases/pgcluster/files/pgcluster.sh.tmpl index 031f62fb9d28..49a2b539e436 100644 --- a/databases/pgcluster/files/pgcluster.sh.tmpl +++ b/databases/pgcluster/files/pgcluster.sh.tmpl @@ -15,9 +15,9 @@ # pgcluster_flags="-w -s" # -pgcluster_enable="NO" -pgcluster_data="%%PREFIX%%/pgsql/data" -pgcluster_flags="-w -s" +pgcluster_enable=${pgcluster_enable-"NO"} +pgcluster_data=${pgcluster_data-"%%PREFIX%%/pgsql/data"} +pgcluster_flags=${pgcluster_flags-"-w -s"} . %%RC_SUBR%% diff --git a/databases/pgcluster/files/pglb.sh.tmpl b/databases/pgcluster/files/pglb.sh.tmpl index 504a1b61ed75..958019ad6549 100644 --- a/databases/pgcluster/files/pglb.sh.tmpl +++ b/databases/pgcluster/files/pglb.sh.tmpl @@ -11,9 +11,8 @@ # pglb_enable="YES" # -pglb_enable="NO" -pglb_data="%%PREFIX%%/pgsql/data" -pglb_flags="" +pglb_enable=${pglb_enable-"NO"} +pglb_data=${pglb_data-"%%PREFIX%%/pgsql/data"} . %%RC_SUBR%% diff --git a/databases/pgcluster/files/pgreplicate.sh.tmpl b/databases/pgcluster/files/pgreplicate.sh.tmpl index b904c9723906..a4ce495496dd 100644 --- a/databases/pgcluster/files/pgreplicate.sh.tmpl +++ b/databases/pgcluster/files/pgreplicate.sh.tmpl @@ -12,9 +12,8 @@ # pgreplicate_enable="YES" # -pgreplicate_enable="NO" -pgreplicate_data="%%PREFIX%%/pgsql/data" -pgreplicate_flags="" +pgreplicate_enable=${pgreplicate_enable-"NO"} +pgreplicate_data=${pgreplicate_data-"%%PREFIX%%/pgsql/data"} . %%RC_SUBR%%