| 22 | | configure.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 | | --archivedir=/var/tmp \ |
| 28 | | --enable-smartalloc --enable-largefile \ |
| 29 | | --without-postgresql --without-mysql \ |
| 30 | | --disable-gnome --disable-wx-console --disable-tray-monitor |
| 31 | | configure.cppflags-append -I${prefix}/ncurses |
| 32 | | configure.ldflags-append -lncurses |
| | 23 | depends_build port:gawk |
| | 24 | depends_lib port:zlib port:openssl port:libiconv port:gettext port:ncurses |
| 34 | | destroot.keepdirs ${destroot}${prefix}/var/run/subsys \ |
| 35 | | ${destroot}${prefix}/var/bacula/working |
| | 26 | configure.args --mandir=${prefix}/share/man \ |
| | 27 | --datarootdir=${prefix}/share \ |
| | 28 | --with-pid-dir=${prefix}/var/run \ |
| | 29 | --with-subsys-dir=${prefix}/var/run/subsys \ |
| | 30 | --sysconfdir=${prefix}/etc/${name} \ |
| | 31 | --with-libintl-prefix=${prefix} \ |
| | 32 | --with-openssl=${prefix} \ |
| | 33 | --with-libiconv-prefix=${prefix} \ |
| | 34 | --with-readline=${prefix} \ |
| | 35 | --with-archivedir=/var/tmp \ |
| | 36 | --with-included-gettext=${prefix} \ |
| | 37 | --enable-smartalloc \ |
| | 38 | --enable-largefile \ |
| | 39 | --without-sqlite \ |
| | 40 | --without-sqlite3 \ |
| | 41 | --without-postgresql \ |
| | 42 | --without-mysql \ |
| | 43 | --disable-gnome \ |
| | 44 | --disable-wx-console \ |
| | 45 | --disable-tray-monitor |
| | 46 | configure.cppflags-append -I${prefix}/ncurses |
| | 47 | configure.ldflags "" |
| | 60 | variant client_only conflicts mysql4 mysql5 postgresql83 sqlite2 sqlite3 description "Install bacula client (bacula-fd) only" { |
| | 61 | configure.args-append --enable-client-only |
| | 62 | } |
| | 63 | |
| | 64 | variant mysql4 conflicts client-only mysql5 postgresql83 sqlite2 sqlite3 description "Install bacula client and server with mysql 4 backend" { |
| | 65 | depends_lib-append port:mysql4 |
| | 66 | configure.args-append --with-mysql=${prefix} |
| | 67 | configure.args-delete --without-mysql |
| | 68 | } |
| | 69 | |
| | 70 | variant mysql5 conflicts client-only mysql4 postgresql83 sqlite2 sqlite3 description "Install bacula client and server with mysql 5 backend" { |
| | 71 | depends_lib-append port:mysql5 |
| | 72 | configure.args-append --with-mysql=${prefix} |
| | 73 | configure.args-delete --without-mysql |
| | 74 | } |
| | 75 | |
| | 76 | variant postgresql83 conflicts mysql4 mysql5 sqlite2 sqlite3 client-only description "Install bacula client and server with postgresql 8.3 backend" { |
| | 77 | depends_lib-append port:postgresql83 |
| | 78 | configure.args-append --with-postgresql=${prefix} |
| | 79 | configure.args-delete --without-postgresql |
| | 80 | } |
| | 81 | |
| | 82 | variant sqlite2 conflicts client-only sqlite3 mysql4 mysql5 postgresql83 description "Install bacula client and server with sqlite 2 backend" { |
| | 83 | depends_lib-append port:sqlite2 |
| | 84 | configure.args-append --with-sqlite=${prefix} |
| | 85 | configure.args-delete --without-sqlite |
| | 86 | } |
| | 87 | |
| | 88 | variant sqlite3 conflicts client-only sqlite2 mysql4 mysql5 postgresql83 description "Install bacula client and server with sqlite 3 backend" { |
| | 89 | depends_lib-append port:sqlite3 |
| | 90 | configure.args-append --with-sqlite3=${prefix} |
| | 91 | configure.args-delete --without-sqlite3 |
| | 92 | } |
| | 93 | |
| | 94 | default_variants +client_only |