diff options
author | nbm <nbm@FreeBSD.org> | 2003-08-29 02:55:15 +0800 |
---|---|---|
committer | nbm <nbm@FreeBSD.org> | 2003-08-29 02:55:15 +0800 |
commit | c4bc8de60afa7f9e73952b35bd8f11c8ecc14cd5 (patch) | |
tree | f731bc25c6d511fcca5922d700083b457bf79f93 /www/zope28 | |
parent | 296c861425e66c6fd5472fe22df855c1dc683c22 (diff) | |
download | freebsd-ports-gnome-c4bc8de60afa7f9e73952b35bd8f11c8ecc14cd5.tar.gz freebsd-ports-gnome-c4bc8de60afa7f9e73952b35bd8f11c8ecc14cd5.tar.zst freebsd-ports-gnome-c4bc8de60afa7f9e73952b35bd8f11c8ecc14cd5.zip |
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.
Diffstat (limited to 'www/zope28')
-rw-r--r-- | www/zope28/Makefile | 6 | ||||
-rw-r--r-- | www/zope28/pkg-plist | 6 |
2 files changed, 7 insertions, 5 deletions
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 |