# $Id: Portfile,v 1.1 2005/11/04 06:14:48 mww Exp $ PortSystem 1.0 name bacula version 1.38.0 categories sysutils platforms darwin maintainers darwinports@opendarwin.org 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 md5 872f5b86404e5c9b47bd56b9ffcb107c depends_lib port:zlib port:sqlite3 port:openssl port:libiconv port:gettext configure.args --mandir=${prefix}/share/man --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-sqlite3=${prefix} \ --without-postgresql --without-mysql \ --disable-gnome --disable-wx-console --disable-tray-monitor destroot.keepdirs ${destroot}${prefix}/var/run/subsys \ ${destroot}${prefix}/var/bacula/working platform darwin 8 { configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 } startupitem.create yes startupitem.init \ "BIN=${prefix}/sbin/bacula-fd\nPID=${prefix}/var/run/bacula-fd.*.pid" startupitem.start \ "\[ -x \${BIN} \] && \${BIN} start -c ${prefix}/etc/bacula/bacula-fd.conf" startupitem.stop \ "\[ -r \${PID} \] && /bin/kill \$(cat \${PID})"