aboutsummaryrefslogtreecommitdiff
path: root/databases/slony1v2
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2013-02-19 21:22:28 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2013-02-19 21:22:28 +0000
commit25683d5566a2c9c25e9b532892fce68456e211d0 (patch)
treecedce26e7f07171a19ae0aba77f9690e13eb8724 /databases/slony1v2
parenta080a1425572515ae7ea3c1be15ff728c4dbe9c7 (diff)
downloadports-25683d5566a2c9c25e9b532892fce68456e211d0.tar.gz
ports-25683d5566a2c9c25e9b532892fce68456e211d0.zip
Use DOCS option.
Notes
Notes: svn path=/head/; revision=312604
Diffstat (limited to 'databases/slony1v2')
-rw-r--r--databases/slony1v2/Makefile6
-rw-r--r--databases/slony1v2/files/pkg-message.in8
2 files changed, 8 insertions, 6 deletions
diff --git a/databases/slony1v2/Makefile b/databases/slony1v2/Makefile
index e2de8eae712c..438618470446 100644
--- a/databases/slony1v2/Makefile
+++ b/databases/slony1v2/Makefile
@@ -25,7 +25,7 @@ USE_RC_SUBR= slon
SUB_FILES= pkg-message slon-mkservice.sh
SUB_LIST+= NAME=slon
-OPTIONS_DEFINE= PERLTOOLS
+OPTIONS_DEFINE= DOCS PERLTOOLS
PERLTOOLS_DESC= Install perl configuration tools
CONFLICTS?= slony1-1*
@@ -70,7 +70,7 @@ PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | \
PGSQL_VER= ${DEFAULT_PGSQL_VER}
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= *
.endif
@@ -78,7 +78,7 @@ DOCS= COPYRIGHT HISTORY-1.1 INSTALL README README.Unicode RELEASE \
RELEASE-2.0 SAMPLE TODO UPGRADING
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/adminguide
@${MKDIR} ${DOCSDIR}/howto
diff --git a/databases/slony1v2/files/pkg-message.in b/databases/slony1v2/files/pkg-message.in
index 608a7c254237..1cf868e2de69 100644
--- a/databases/slony1v2/files/pkg-message.in
+++ b/databases/slony1v2/files/pkg-message.in
@@ -1,7 +1,9 @@
*******************************************************************************
-Please read the docs on configuring and running slony-1. Unless you specified
-NOPORTDOCS, they are in the %%LOCALBASE%%/share/doc/slony1v2 directory.
+Please read the docs on configuring and running slony-1.
+
+Unless you did not specify the DOCS options, they are in the
+%%LOCALBASE%%/share/doc/slony1v2 directory.
If you are upgrading from a prior version of slony, please read the UPGRADING
file in the above docs directory.
@@ -16,7 +18,7 @@ set slon_enable="YES" in /etc/rc.conf to enable the slon.sh script.
To use either of the above startup configurations, you will need to set up a
%%LOCALBASE%%/etc/slon.conf file to tell slon what to replicate. This file
is documented in %%LOCALBASE%%/share/doc/slony1/adminguide/runtime-config.html
-
+%%PERLTOOLS%%
%%PERLTOOLS%%To use the perl slony configuration and monitoring tools, you must
%%PERLTOOLS%%create %%LOCALBASE%%/etc/slon_tools.conf based on the sample file.