[58879] trunk/dports/sysutils/bacula/Portfile
macsforever2000 at macports.org
macsforever2000 at macports.org
Tue Oct 6 13:31:05 PDT 2009
Revision: 58879
http://trac.macports.org/changeset/58879
Author: macsforever2000 at macports.org
Date: 2009-10-06 13:31:03 -0700 (Tue, 06 Oct 2009)
Log Message:
-----------
Fix conf files for Snow Leopard.
Modified Paths:
--------------
trunk/dports/sysutils/bacula/Portfile
Modified: trunk/dports/sysutils/bacula/Portfile
===================================================================
--- trunk/dports/sysutils/bacula/Portfile 2009-10-06 19:59:56 UTC (rev 58878)
+++ trunk/dports/sysutils/bacula/Portfile 2009-10-06 20:31:03 UTC (rev 58879)
@@ -5,7 +5,7 @@
name bacula
version 3.0.2
-revision 4
+revision 5
categories sysutils
platforms darwin
license GPL
@@ -65,22 +65,10 @@
${destroot}${prefix}/var/bacula/working
# Don't overwrite preference files
-platform darwin {
- if {${os.major} < 10} {
- post-destroot {
- file rename ${destroot}${prefix}/etc/bacula/bacula-fd.conf ${destroot}${prefix}/etc/bacula/bacula-fd.conf.example
- file rename ${destroot}${prefix}/etc/bacula/bconsole.conf ${destroot}${prefix}/etc/bacula/bconsole.conf.example
- file rename ${destroot}${prefix}/etc/bacula/mtx-changer.conf ${destroot}${prefix}/etc/bacula/mtx-changer.conf.example
- }
- }
-
- if {${os.major} == 10} {
- post-destroot {
- file copy ${worksrcpath}/src/filed/bacula-fd.conf ${destroot}${prefix}/etc/bacula/bacula-fd.conf.example
- file copy ${worksrcpath}/src/console/bconsole.conf ${destroot}${prefix}/etc/bacula/bconsole.conf.example
- file rename ${destroot}${prefix}/etc/bacula/mtx-changer.conf ${destroot}${prefix}/etc/bacula/mtx-changer.conf.example
- }
- }
+post-destroot {
+ file rename ${destroot}${prefix}/etc/bacula/bacula-fd.conf ${destroot}${prefix}/etc/bacula/bacula-fd.conf.example
+ file rename ${destroot}${prefix}/etc/bacula/bconsole.conf ${destroot}${prefix}/etc/bacula/bconsole.conf.example
+ file rename ${destroot}${prefix}/etc/bacula/mtx-changer.conf ${destroot}${prefix}/etc/bacula/mtx-changer.conf.example
}
startupitem.create yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091006/7ce02e37/attachment.html>
More information about the macports-changes
mailing list