summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/zope/Makefile6
-rw-r--r--www/zope/pkg-plist6
-rw-r--r--www/zope210/Makefile6
-rw-r--r--www/zope210/pkg-plist6
-rw-r--r--www/zope211/Makefile6
-rw-r--r--www/zope211/pkg-plist6
-rw-r--r--www/zope213/Makefile6
-rw-r--r--www/zope213/pkg-plist6
-rw-r--r--www/zope28/Makefile6
-rw-r--r--www/zope28/pkg-plist6
-rw-r--r--www/zope29/Makefile6
-rw-r--r--www/zope29/pkg-plist6
12 files changed, 42 insertions, 30 deletions
diff --git a/www/zope/Makefile b/www/zope/Makefile
index 7644f812ba56..4d3546bd0c1d 100644
--- a/www/zope/Makefile
+++ b/www/zope/Makefile
@@ -135,9 +135,9 @@ do-install:
-e "s|%%ZOPE_HTTP_PORT%%|${ZOPE_HTTP_PORT}|g" \
-e "s|%%ZOPE_FTP_PORT%%|${ZOPE_FTP_PORT}|g" \
-e "s|%%ZOPE_MONITOR_PORT%%|${ZOPE_MONITOR_PORT}|g" \
- < ${FILESDIR}/zope.sh.in > ${PREFIX}/etc/rc.d/zope.sh
- @${CHMOD} ug+x,o-rwx ${PREFIX}/etc/rc.d/zope.sh
- @${ECHO} "===> Done with ${PREFIX}/etc/rc.d/zope.sh."
+ < ${FILESDIR}/zope.sh.in > ${PREFIX}/etc/rc.d/zope.sh.sample
+ @${CHMOD} ug+x,o-rwx ${PREFIX}/etc/rc.d/zope.sh.sample
+ @${ECHO} "===> Done with ${PREFIX}/etc/rc.d/zope.sh.sample."
@${CAT} ${FILESDIR}/Message
@${ECHO} "===> Your Zope base directory is ${ZOPEBASEDIR}."
@${ECHO} "===> The Zope license is in ${ZOPEBASEDIR}/LICENSE.txt."
diff --git a/www/zope/pkg-plist b/www/zope/pkg-plist
index 361ab2efe20f..59bbc779aaf6 100644
--- a/www/zope/pkg-plist
+++ b/www/zope/pkg-plist
@@ -1,6 +1,8 @@
%%APACHE_CONFDIR%%/apache.conf.Zope-Changes
-etc/rc.d/zope.sh
-%%ZOPEBASEDIR%%/var/Data.fs
+@unexec if cmp -s %D/etc/rc.d/zope.sh.sample %D/etc/rc.d/zope.sh; then rm -f %D/etc/rc.d/zope.sh; fi
+etc/rc.d/zope.sh.sample
+@exec if [ ! -f %B/zope.sh ]; then cp %B/%f %B/zope.sh; fi
+@unexec if cmp -s %D/%%ZOPEBASEDIR%%/var/Data.fs %D/%%ZOPEBASEDIR%%/var/Data.fs; then rm -f %D/%%ZOPEBASEDIR%%/var/Data.fs; fi
%%ZOPEBASEDIR%%/var/Data.fs.in
@exec if [ ! -f %B/Data.fs ]; then cp %B/%f %B/Data.fs; fi
%%ZOPEBASEDIR%%/Extensions/README.txt
diff --git a/www/zope210/Makefile b/www/zope210/Makefile
index 7644f812ba56..4d3546bd0c1d 100644
--- a/www/zope210/Makefile
+++ b/www/zope210/Makefile
@@ -135,9 +135,9 @@ do-install:
-e "s|%%ZOPE_HTTP_PORT%%|${ZOPE_HTTP_PORT}|g" \
-e "s|%%ZOPE_FTP_PORT%%|${ZOPE_FTP_PORT}|g" \
-e "s|%%ZOPE_MONITOR_PORT%%|${ZOPE_MONITOR_PORT}|g" \
- < ${FILESDIR}/zope.sh.in > ${PREFIX}/etc/rc.d/zope.sh
- @${CHMOD} ug+x,o-rwx ${PREFIX}/etc/rc.d/zope.sh
- @${ECHO} "===> Done with ${PREFIX}/etc/rc.d/zope.sh."
+ < ${FILESDIR}/zope.sh.in > ${PREFIX}/etc/rc.d/zope.sh.sample
+ @${CHMOD} ug+x,o-rwx ${PREFIX}/etc/rc.d/zope.sh.sample
+ @${ECHO} "===> Done with ${PREFIX}/etc/rc.d/zope.sh.sample."
@${CAT} ${FILESDIR}/Message
@${ECHO} "===> Your Zope base directory is ${ZOPEBASEDIR}."
@${ECHO} "===> The Zope license is in ${ZOPEBASEDIR}/LICENSE.txt."
diff --git a/www/zope210/pkg-plist b/www/zope210/pkg-plist
index 361ab2efe20f..59bbc779aaf6 100644
--- a/www/zope210/pkg-plist
+++ b/www/zope210/pkg-plist
@@ -1,6 +1,8 @@
%%APACHE_CONFDIR%%/apache.conf.Zope-Changes
-etc/rc.d/zope.sh
-%%ZOPEBASEDIR%%/var/Data.fs
+@unexec if cmp -s %D/etc/rc.d/zope.sh.sample %D/etc/rc.d/zope.sh; then rm -f %D/etc/rc.d/zope.sh; fi
+etc/rc.d/zope.sh.sample
+@exec if [ ! -f %B/zope.sh ]; then cp %B/%f %B/zope.sh; fi
+@unexec if cmp -s %D/%%ZOPEBASEDIR%%/var/Data.fs %D/%%ZOPEBASEDIR%%/var/Data.fs; then rm -f %D/%%ZOPEBASEDIR%%/var/Data.fs; fi
%%ZOPEBASEDIR%%/var/Data.fs.in
@exec if [ ! -f %B/Data.fs ]; then cp %B/%f %B/Data.fs; fi
%%ZOPEBASEDIR%%/Extensions/README.txt
diff --git a/www/zope211/Makefile b/www/zope211/Makefile
index 7644f812ba56..4d3546bd0c1d 100644
--- a/www/zope211/Makefile
+++ b/www/zope211/Makefile
@@ -135,9 +135,9 @@ do-install:
-e "s|%%ZOPE_HTTP_PORT%%|${ZOPE_HTTP_PORT}|g" \
-e "s|%%ZOPE_FTP_PORT%%|${ZOPE_FTP_PORT}|g" \
-e "s|%%ZOPE_MONITOR_PORT%%|${ZOPE_MONITOR_PORT}|g" \
- < ${FILESDIR}/zope.sh.in > ${PREFIX}/etc/rc.d/zope.sh
- @${CHMOD} ug+x,o-rwx ${PREFIX}/etc/rc.d/zope.sh
- @${ECHO} "===> Done with ${PREFIX}/etc/rc.d/zope.sh."
+ < ${FILESDIR}/zope.sh.in > ${PREFIX}/etc/rc.d/zope.sh.sample
+ @${CHMOD} ug+x,o-rwx ${PREFIX}/etc/rc.d/zope.sh.sample
+ @${ECHO} "===> Done with ${PREFIX}/etc/rc.d/zope.sh.sample."
@${CAT} ${FILESDIR}/Message
@${ECHO} "===> Your Zope base directory is ${ZOPEBASEDIR}."
@${ECHO} "===> The Zope license is in ${ZOPEBASEDIR}/LICENSE.txt."
diff --git a/www/zope211/pkg-plist b/www/zope211/pkg-plist
index 361ab2efe20f..59bbc779aaf6 100644
--- a/www/zope211/pkg-plist
+++ b/www/zope211/pkg-plist
@@ -1,6 +1,8 @@
%%APACHE_CONFDIR%%/apache.conf.Zope-Changes
-etc/rc.d/zope.sh
-%%ZOPEBASEDIR%%/var/Data.fs
+@unexec if cmp -s %D/etc/rc.d/zope.sh.sample %D/etc/rc.d/zope.sh; then rm -f %D/etc/rc.d/zope.sh; fi
+etc/rc.d/zope.sh.sample
+@exec if [ ! -f %B/zope.sh ]; then cp %B/%f %B/zope.sh; fi
+@unexec if cmp -s %D/%%ZOPEBASEDIR%%/var/Data.fs %D/%%ZOPEBASEDIR%%/var/Data.fs; then rm -f %D/%%ZOPEBASEDIR%%/var/Data.fs; fi
%%ZOPEBASEDIR%%/var/Data.fs.in
@exec if [ ! -f %B/Data.fs ]; then cp %B/%f %B/Data.fs; fi
%%ZOPEBASEDIR%%/Extensions/README.txt
diff --git a/www/zope213/Makefile b/www/zope213/Makefile
index 7644f812ba56..4d3546bd0c1d 100644
--- a/www/zope213/Makefile
+++ b/www/zope213/Makefile
@@ -135,9 +135,9 @@ do-install:
-e "s|%%ZOPE_HTTP_PORT%%|${ZOPE_HTTP_PORT}|g" \
-e "s|%%ZOPE_FTP_PORT%%|${ZOPE_FTP_PORT}|g" \
-e "s|%%ZOPE_MONITOR_PORT%%|${ZOPE_MONITOR_PORT}|g" \
- < ${FILESDIR}/zope.sh.in > ${PREFIX}/etc/rc.d/zope.sh
- @${CHMOD} ug+x,o-rwx ${PREFIX}/etc/rc.d/zope.sh
- @${ECHO} "===> Done with ${PREFIX}/etc/rc.d/zope.sh."
+ < ${FILESDIR}/zope.sh.in > ${PREFIX}/etc/rc.d/zope.sh.sample
+ @${CHMOD} ug+x,o-rwx ${PREFIX}/etc/rc.d/zope.sh.sample
+ @${ECHO} "===> Done with ${PREFIX}/etc/rc.d/zope.sh.sample."
@${CAT} ${FILESDIR}/Message
@${ECHO} "===> Your Zope base directory is ${ZOPEBASEDIR}."
@${ECHO} "===> The Zope license is in ${ZOPEBASEDIR}/LICENSE.txt."
diff --git a/www/zope213/pkg-plist b/www/zope213/pkg-plist
index 361ab2efe20f..59bbc779aaf6 100644
--- a/www/zope213/pkg-plist
+++ b/www/zope213/pkg-plist
@@ -1,6 +1,8 @@
%%APACHE_CONFDIR%%/apache.conf.Zope-Changes
-etc/rc.d/zope.sh
-%%ZOPEBASEDIR%%/var/Data.fs
+@unexec if cmp -s %D/etc/rc.d/zope.sh.sample %D/etc/rc.d/zope.sh; then rm -f %D/etc/rc.d/zope.sh; fi
+etc/rc.d/zope.sh.sample
+@exec if [ ! -f %B/zope.sh ]; then cp %B/%f %B/zope.sh; fi
+@unexec if cmp -s %D/%%ZOPEBASEDIR%%/var/Data.fs %D/%%ZOPEBASEDIR%%/var/Data.fs; then rm -f %D/%%ZOPEBASEDIR%%/var/Data.fs; fi
%%ZOPEBASEDIR%%/var/Data.fs.in
@exec if [ ! -f %B/Data.fs ]; then cp %B/%f %B/Data.fs; fi
%%ZOPEBASEDIR%%/Extensions/README.txt
diff --git a/www/zope28/Makefile b/www/zope28/Makefile
index 7644f812ba56..4d3546bd0c1d 100644
--- a/www/zope28/Makefile
+++ b/www/zope28/Makefile
@@ -135,9 +135,9 @@ do-install:
-e "s|%%ZOPE_HTTP_PORT%%|${ZOPE_HTTP_PORT}|g" \
-e "s|%%ZOPE_FTP_PORT%%|${ZOPE_FTP_PORT}|g" \
-e "s|%%ZOPE_MONITOR_PORT%%|${ZOPE_MONITOR_PORT}|g" \
- < ${FILESDIR}/zope.sh.in > ${PREFIX}/etc/rc.d/zope.sh
- @${CHMOD} ug+x,o-rwx ${PREFIX}/etc/rc.d/zope.sh
- @${ECHO} "===> Done with ${PREFIX}/etc/rc.d/zope.sh."
+ < ${FILESDIR}/zope.sh.in > ${PREFIX}/etc/rc.d/zope.sh.sample
+ @${CHMOD} ug+x,o-rwx ${PREFIX}/etc/rc.d/zope.sh.sample
+ @${ECHO} "===> Done with ${PREFIX}/etc/rc.d/zope.sh.sample."
@${CAT} ${FILESDIR}/Message
@${ECHO} "===> Your Zope base directory is ${ZOPEBASEDIR}."
@${ECHO} "===> The Zope license is in ${ZOPEBASEDIR}/LICENSE.txt."
diff --git a/www/zope28/pkg-plist b/www/zope28/pkg-plist
index 361ab2efe20f..59bbc779aaf6 100644
--- a/www/zope28/pkg-plist
+++ b/www/zope28/pkg-plist
@@ -1,6 +1,8 @@
%%APACHE_CONFDIR%%/apache.conf.Zope-Changes
-etc/rc.d/zope.sh
-%%ZOPEBASEDIR%%/var/Data.fs
+@unexec if cmp -s %D/etc/rc.d/zope.sh.sample %D/etc/rc.d/zope.sh; then rm -f %D/etc/rc.d/zope.sh; fi
+etc/rc.d/zope.sh.sample
+@exec if [ ! -f %B/zope.sh ]; then cp %B/%f %B/zope.sh; fi
+@unexec if cmp -s %D/%%ZOPEBASEDIR%%/var/Data.fs %D/%%ZOPEBASEDIR%%/var/Data.fs; then rm -f %D/%%ZOPEBASEDIR%%/var/Data.fs; fi
%%ZOPEBASEDIR%%/var/Data.fs.in
@exec if [ ! -f %B/Data.fs ]; then cp %B/%f %B/Data.fs; fi
%%ZOPEBASEDIR%%/Extensions/README.txt
diff --git a/www/zope29/Makefile b/www/zope29/Makefile
index 7644f812ba56..4d3546bd0c1d 100644
--- a/www/zope29/Makefile
+++ b/www/zope29/Makefile
@@ -135,9 +135,9 @@ do-install:
-e "s|%%ZOPE_HTTP_PORT%%|${ZOPE_HTTP_PORT}|g" \
-e "s|%%ZOPE_FTP_PORT%%|${ZOPE_FTP_PORT}|g" \
-e "s|%%ZOPE_MONITOR_PORT%%|${ZOPE_MONITOR_PORT}|g" \
- < ${FILESDIR}/zope.sh.in > ${PREFIX}/etc/rc.d/zope.sh
- @${CHMOD} ug+x,o-rwx ${PREFIX}/etc/rc.d/zope.sh
- @${ECHO} "===> Done with ${PREFIX}/etc/rc.d/zope.sh."
+ < ${FILESDIR}/zope.sh.in > ${PREFIX}/etc/rc.d/zope.sh.sample
+ @${CHMOD} ug+x,o-rwx ${PREFIX}/etc/rc.d/zope.sh.sample
+ @${ECHO} "===> Done with ${PREFIX}/etc/rc.d/zope.sh.sample."
@${CAT} ${FILESDIR}/Message
@${ECHO} "===> Your Zope base directory is ${ZOPEBASEDIR}."
@${ECHO} "===> The Zope license is in ${ZOPEBASEDIR}/LICENSE.txt."
diff --git a/www/zope29/pkg-plist b/www/zope29/pkg-plist
index 361ab2efe20f..59bbc779aaf6 100644
--- a/www/zope29/pkg-plist
+++ b/www/zope29/pkg-plist
@@ -1,6 +1,8 @@
%%APACHE_CONFDIR%%/apache.conf.Zope-Changes
-etc/rc.d/zope.sh
-%%ZOPEBASEDIR%%/var/Data.fs
+@unexec if cmp -s %D/etc/rc.d/zope.sh.sample %D/etc/rc.d/zope.sh; then rm -f %D/etc/rc.d/zope.sh; fi
+etc/rc.d/zope.sh.sample
+@exec if [ ! -f %B/zope.sh ]; then cp %B/%f %B/zope.sh; fi
+@unexec if cmp -s %D/%%ZOPEBASEDIR%%/var/Data.fs %D/%%ZOPEBASEDIR%%/var/Data.fs; then rm -f %D/%%ZOPEBASEDIR%%/var/Data.fs; fi
%%ZOPEBASEDIR%%/var/Data.fs.in
@exec if [ ! -f %B/Data.fs ]; then cp %B/%f %B/Data.fs; fi
%%ZOPEBASEDIR%%/Extensions/README.txt