source: trunk/dports/sysutils/bacula/Portfile @ 24330

Last change on this file since 24330 was 24330, checked in by mww@…, 12 years ago

version 2.0.3

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 24330 2007-04-22 12:13:07Z mww@macports.org $
2
3PortSystem 1.0
4
5name                    bacula
6version                 2.0.3
7categories              sysutils
8platforms               darwin
9maintainers             nomaintainer@macports.org
10description             network based backup program
11long_description        Bacula is a set of computer programs that permit you to \
12                        manage backup, recovery, and verification of computer data across \
13                        a network of computers of different kinds.
14
15homepage                http://www.bacula.org/
16master_sites    sourceforge
17checksums               sha1 ef58c91243bd819e0ac278b91aeae16639d6c8ce
18
19depends_build   port:gawk
20depends_lib             port:zlib port:sqlite3 port:openssl port:libiconv port:gettext
21
22configure.args  --mandir=${prefix}/share/man --with-pid-dir=${prefix}/var/run \
23                                --with-subsys-dir=${prefix}/var/run/subsys \
24                                --sysconfdir=${prefix}/etc/${name} \
25                                --with-libintl-prefix=${prefix} --with-openssl=${prefix} \
26                                --with-libiconv-prefix=${prefix} --with-sqlite3=${prefix} \
27                                --enable-smartalloc --enable-largefile \
28                                --without-postgresql --without-mysql \
29                                --disable-gnome --disable-wx-console --disable-tray-monitor
30
31destroot.keepdirs       ${destroot}${prefix}/var/run/subsys \
32                                ${destroot}${prefix}/var/bacula/working
33
34platform darwin 8 {
35        configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
36}
37
38startupitem.create      yes
39startupitem.init        \
40"BIN=${prefix}/sbin/bacula-fd\nPID=${prefix}/var/run/bacula-fd.*.pid"
41startupitem.start       \
42"\[ -x \${BIN} \] && \${BIN} -c ${prefix}/etc/bacula/bacula-fd.conf"
43startupitem.stop        \
44"\[ -r \${PID} \] && /bin/kill \$(cat \${PID})"
45
Note: See TracBrowser for help on using the repository browser.