mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Don't list Data.fs, as it's precious and should not be overwritten when
a package update is done. Also, install zope.sh.sample, and copy it to zope.sh if zope.sh doesn't already exist.
This commit is contained in:
parent
750c3517cf
commit
a7a67f9b3d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87919
@ -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."
|
||||
|
@ -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
|
||||
|
@ -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."
|
||||
|
@ -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
|
||||
|
@ -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."
|
||||
|
@ -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
|
||||
|
@ -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."
|
||||
|
@ -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
|
||||
|
@ -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."
|
||||
|
@ -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
|
||||
|
@ -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."
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user