# -*- 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
maintainers {ecronin @ecronin} openmaintainer
description completely automatic on-line backup system.
long_description The backup daemon, bbackupd, runs on all machines to \
be backed up. The store server daemon, bbstored runs \
on a central server. Data is sent to the store \
server, which stores all data on local filesystems, \
that is, only on local hard drives. Tape or other \
archive media is not used. \
The system is designed to be easy to set up and run, \
and cheap to use. Once set up, there should be no \
need for user or administrative intervention, apart \
from usual system maintenance.
homepage http://www.boxbackup.org/
master_sites ${homepage}svn/box/packages/
checksums rmd160 17553b3ff06d19f353dbadc0166b7dceaa11c271 \
sha256 1328b010477259c4767276dbfebab6580e883336cc9d25696c39991b09cc6d32
depends_lib path:bin/perl:perl5 path:lib/libssl.dylib:openssl port:libedit
configure.args --sysconfdir=${prefix}/etc \
--localstatedir=${prefix}/var/bbackupd \
--mandir=${prefix}/share/man
reinplace "s|man/man|share/man/man|g" \
${worksrcpath}/infrastructure/makeparcels.pl.in
destroot.target install-backup-client
destroot.keepdirs ${destroot}${prefix}/etc/boxbackup/bbackupd \
${destroot}${prefix}/var/bbackupd
xinstall -d -m 0700 ${destroot}${prefix}/etc/boxbackup/bbackupd
xinstall -d -m 0755 ${destroot}${prefix}/var/bbackupd
# Install the documentation
xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
file copy {*}[glob ${worksrcpath}/docs/htmlguide/*] \
${destroot}${prefix}/share/doc/${name}/
variant bdb description {Use Berkeley Data Base to cache bbackupd state} {
depends_lib-append port:db47
configure.args-append --with-bdb-headers=${prefix}/include/db47 \
--with-bdb-lib=${prefix}/lib/db47