[99718] trunk/dports/sysutils/bacula/Portfile

macsforever2000 at macports.org macsforever2000 at macports.org
Wed Nov 14 16:03:06 PST 2012


Revision: 99718
          https://trac.macports.org/changeset/99718
Author:   macsforever2000 at macports.org
Date:     2012-11-14 16:03:06 -0800 (Wed, 14 Nov 2012)
Log Message:
-----------
bacula: whitespace.

Modified Paths:
--------------
    trunk/dports/sysutils/bacula/Portfile

Modified: trunk/dports/sysutils/bacula/Portfile
===================================================================
--- trunk/dports/sysutils/bacula/Portfile	2012-11-14 23:56:39 UTC (rev 99717)
+++ trunk/dports/sysutils/bacula/Portfile	2012-11-15 00:03:06 UTC (rev 99718)
@@ -1,33 +1,33 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem       1.0
+PortSystem          1.0
 
-name             bacula
-version          5.2.12
-categories       sysutils
-platforms        darwin
-license          GPL
-maintainers      macsforever2000
+name                bacula
+version             5.2.12
+categories          sysutils
+platforms           darwin
+license             GPL
+maintainers         macsforever2000
 
-description      network based backup program
-long_description Bacula is a set of computer programs that permit you to \
-                 manage backup, recovery, and verification of computer data across \
-                 a network of computers of different kinds.
+description         network based backup program
+long_description    Bacula is a set of computer programs that permit you to \
+                    manage backup, recovery, and verification of computer data across \
+                    a network of computers of different kinds.
 
-homepage         http://www.bacula.org/
-master_sites     sourceforge
+homepage            http://www.bacula.org/
+master_sites        sourceforge
 
-checksums        rmd160  dd5b9f457a524acd9cdbbe0c4842670c4ee5bd5a \
-                 sha256  360435634e28881b3fedb0dc1901b9c9be1895ce1e39c9737262b25f44513887
+checksums           rmd160  dd5b9f457a524acd9cdbbe0c4842670c4ee5bd5a \
+                    sha256  360435634e28881b3fedb0dc1901b9c9be1895ce1e39c9737262b25f44513887
 
-depends_lib      port:gawk \
-                 port:gettext \
-                 port:libiconv \
-                 port:ncurses \
-                 port:openssl \
-                 port:tcp_wrappers \
-                 port:zlib
+depends_lib         port:gawk \
+                    port:gettext \
+                    port:libiconv \
+                    port:ncurses \
+                    port:openssl \
+                    port:tcp_wrappers \
+                    port:zlib
 
 # Comment out patchfiles in case they are needed in the future or for the non-client version which is completely untested at this point
 #                patch-configure.diff \
@@ -36,30 +36,30 @@
 #                 reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/configure
 #}
 
-configure.ccache no
-configure.args   --mandir=${prefix}/share/man \
-                 --docdir=${prefix}/share/doc/bacula \
-                 --datarootdir=${prefix}/share \
-                 --with-pid-dir=${prefix}/var/run \
-                 --with-subsys-dir=${prefix}/var/run/subsys \
-                 --sysconfdir=${prefix}/etc/${name} \
-                 --with-libintl-prefix=${prefix} \
-                 --with-openssl=${prefix} \
-                 --with-libiconv-prefix=${prefix} \
-                 --with-readline=${prefix} \
-                 --with-archivedir=/var/tmp \
-                 --with-included-gettext=${prefix} \
-                 --enable-smartalloc \
-                 --enable-largefile \
-                 --without-sqlite \
-                 --without-sqlite3 \
-                 --without-postgresql \
-                 --without-mysql \
-                 --disable-gnome \
-                 --disable-wx-console \
-                 --disable-tray-monitor \
-                 --with-tcp-wrappers \
-                 ac_cv_lib_ssl_EVP_PKEY_encrypt_old=yes
+configure.ccache    no
+configure.args      --mandir=${prefix}/share/man \
+                    --docdir=${prefix}/share/doc/bacula \
+                    --datarootdir=${prefix}/share \
+                    --with-pid-dir=${prefix}/var/run \
+                    --with-subsys-dir=${prefix}/var/run/subsys \
+                    --sysconfdir=${prefix}/etc/${name} \
+                    --with-libintl-prefix=${prefix} \
+                    --with-openssl=${prefix} \
+                    --with-libiconv-prefix=${prefix} \
+                    --with-readline=${prefix} \
+                    --with-archivedir=/var/tmp \
+                    --with-included-gettext=${prefix} \
+                    --enable-smartalloc \
+                    --enable-largefile \
+                    --without-sqlite \
+                    --without-sqlite3 \
+                    --without-postgresql \
+                    --without-mysql \
+                    --disable-gnome \
+                    --disable-wx-console \
+                    --disable-tray-monitor \
+                    --with-tcp-wrappers \
+                    ac_cv_lib_ssl_EVP_PKEY_encrypt_old=yes
 
 # The ac_cv_lib_ssl_EVP_PKEY_encrypt_old=yes line above is for openssl 1.0
 # to get around an apparent bug in bacula
@@ -72,9 +72,9 @@
 
 # Don't overwrite preference files
 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
+    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
@@ -83,64 +83,64 @@
 startupitem.stop    "\[ -r \${PID} \] && /bin/kill \$(cat \${PID})"
 
 variant client_only conflicts mysql5 postgresql83 postgresql84 sqlite2 sqlite3 description "Install bacula client (bacula-fd) only" {
-  configure.args-append --enable-client-only
+    configure.args-append --enable-client-only
 }
 
 variant console_bat description "Install BAT console GUI application" {
-  patchfiles            patch-qt-console-osx.diff
-  depends_build-append  port:tcp_wrappers \
-                        port:makeicns
-  depends_lib-append    port:qt4-mac \
-                        port:qwt52
-  configure.args-append --enable-bat
-  post-patch {
-    system "makeicns -in ${worksrcpath}/src/qt-console/images/bat_icon.png -out ${worksrcpath}/src/qt-console/images/bat_icon.icns"
-  }
-  post-destroot {
-    file rename ${destroot}${prefix}/etc/bacula/bat.conf ${destroot}${prefix}/etc/bacula/bat.conf.example
-    # for now, copy manually until upstream provider fixes bat.app install routines
-    xinstall -m 755 -d ${destroot}${applications_dir}
-    copy ${worksrcpath}/src/qt-console/bat.app ${destroot}${applications_dir}/Bacula-BAT.app
-  }
-  notes "To use the Bacula BAT GUI, you'll need to configure \"${prefix}/etc/bacula/bat.conf\"."
+    patchfiles            patch-qt-console-osx.diff
+    depends_build-append  port:tcp_wrappers \
+                          port:makeicns
+    depends_lib-append    port:qt4-mac \
+                          port:qwt52
+    configure.args-append --enable-bat
+    post-patch {
+        system "makeicns -in ${worksrcpath}/src/qt-console/images/bat_icon.png -out ${worksrcpath}/src/qt-console/images/bat_icon.icns"
+    }
+    post-destroot {
+        file rename ${destroot}${prefix}/etc/bacula/bat.conf ${destroot}${prefix}/etc/bacula/bat.conf.example
+        # for now, copy manually until upstream provider fixes bat.app install routines
+        xinstall -m 755 -d ${destroot}${applications_dir}
+        copy ${worksrcpath}/src/qt-console/bat.app ${destroot}${applications_dir}/Bacula-BAT.app
+    }
+    notes "To use the Bacula BAT GUI, you'll need to configure \"${prefix}/etc/bacula/bat.conf\"."
 }
 
 variant mysql5 conflicts client_only postgresql83 postgresql84 sqlite2 sqlite3 description "Install bacula client and server with mysql 5 backend" {
-  depends_lib-append    path:bin/mysql_config5:mysql5
-  configure.args-append --with-mysql
-  configure.args-delete --without-mysql
+    depends_lib-append    path:bin/mysql_config5:mysql5
+    configure.args-append --with-mysql
+    configure.args-delete --without-mysql
 }
 
 variant postgresql83 conflicts mysql5 postgresql84 sqlite2 sqlite3 client_only description "Install bacula client and server with postgresql 8.3 backend" {
-  depends_lib-append    port:postgresql83
-  configure.args-append --with-postgresql
-  configure.args-delete --without-postgresql
-  configure.env-append PATH=${prefix}/lib/postgresql83/bin:$env(PATH)
+    depends_lib-append    port:postgresql83
+    configure.args-append --with-postgresql
+    configure.args-delete --without-postgresql
+    configure.env-append  PATH=${prefix}/lib/postgresql83/bin:$env(PATH)
 }
 
 variant postgresql84 conflicts mysql5 postgresql83 sqlite2 sqlite3 client_only description "Install bacula client and server with postgresql 8.4 backend" {
-  depends_lib-append    port:postgresql84
-  configure.args-append --with-postgresql
-  configure.args-delete --without-postgresql
-  configure.env-append PATH=${prefix}/lib/postgresql84/bin:$env(PATH)
+    depends_lib-append    port:postgresql84
+    configure.args-append --with-postgresql
+    configure.args-delete --without-postgresql
+    configure.env-append  PATH=${prefix}/lib/postgresql84/bin:$env(PATH)
 }
 
 variant sqlite2 conflicts client_only sqlite3 mysql5 postgresql83 postgresql84 description "Install bacula client and server with sqlite 2 backend" {
-  depends_lib-append    port:sqlite2
-  configure.args-append --with-sqlite=${prefix}
-  configure.args-delete --without-sqlite
+    depends_lib-append    port:sqlite2
+    configure.args-append --with-sqlite=${prefix}
+    configure.args-delete --without-sqlite
 }
 
 variant sqlite3 conflicts client_only sqlite2 mysql5 postgresql83 postgresql84 description "Install bacula client and server with sqlite 3 backend" {
-  depends_lib-append    port:sqlite3
-  configure.args-append --with-sqlite3=${prefix}
-  configure.args-delete --without-sqlite3
+    depends_lib-append    port:sqlite3
+    configure.args-append --with-sqlite3=${prefix}
+    configure.args-delete --without-sqlite3
 }
 
 if {![variant_isset mysql5] && ![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset sqlite2] && ![variant_isset sqlite3]} {
-  default_variants +client_only
+    default_variants +client_only
 }
 
-livecheck.type          regex
-livecheck.url           http://sourceforge.net/projects/bacula/files/
-livecheck.regex         {bacula-([0-9\.]+)\.tar\.gz}
+livecheck.type           regex
+livecheck.url            http://sourceforge.net/projects/bacula/files/
+livecheck.regex          {bacula-([0-9\.]+)\.tar\.gz}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121114/dc6c272c/attachment-0001.html>


More information about the macports-changes mailing list