Source
variant postgresql83 conflicts mysql51 mysql55 postgresql84 sqlite3 client_only description "Install bacula client and server with postgresql 8.3 backend" {
# -*- 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
PortSystem 1.0
name bacula
version 7.0.4
revision 4
categories sysutils
platforms darwin
license {AGPL-3 OpenSSLException}
maintainers nomaintainer
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
checksums rmd160 09d033f4ea3431f57d8018647af41c1ae417652d \
sha256 ebf802b843a95f6526e82dd181dff7cd7dc7d1fdc55cec8636e0fe3af69acf7e
depends_build port:pkgconfig
depends_lib port:gawk \
port:gettext \
port:libiconv \
port:ncurses \
path:lib/libssl.dylib:openssl \
port:tcp_wrappers \
port:zlib \
port:lzo2
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-archivedir=/var/tmp \
--with-working-dir=${prefix}/var/bacula/working \
--with-included-gettext=${prefix} \
--enable-smartalloc \
--enable-largefile \
--enable-conio \
--without-sqlite3 \
--without-postgresql \
--without-mysql \
--with-tcp-wrappers
configure.cppflags-append -I${prefix}/ncurses
configure.ldflags ""
destroot.keepdirs ${destroot}${prefix}/var/run/subsys \
${destroot}${prefix}/var/bacula/working
# Don't overwrite preference files
post-destroot {
file rename ${destroot}${prefix}/etc/bacula/bacula-fd.conf ${destroot}${prefix}/etc/bacula/bacula-fd.conf.example