# -*- 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
# $Id: Portfile 92915 2012-05-10 16:31:22Z phw@macports.org $

PortSystem 1.0

name                offlinefs
version             0.4.6
categories          fuse

platforms           darwin
maintainers         phw openmaintainer
description         Fusefs offline layer able to extend every filesystem with offline capabilities
long_description    The OFS (Offline FileSystem or Ohm FileSystem) is an \
                    offline-layer which is (or should be) able to extend \
                    every filesystem with offline capabilities. This means, \
                    that the user is able to work on his network documents, \
                    even when he is disconnected from the server. When \
                    connection is restored, the filesystem automatically synchronizes the files.
                    
homepage            http://offlinefs.sourceforge.net/wiki/

master_sites        sourceforge:offlinefs
license             GPL-2

checksums           rmd160  a56cc9459ae5d261608bc2373baa73bc3063af4a \
                    sha256  36913bb52e23be7c033949894677ae94f40df1e25f56e14458bd63b83d7f1156
livecheck.distname  offlinefs

use_autoreconf      yes

depends_build       port:automake \
                    port:autoconf \
                    port:libtool  \
                    port:gcc45 

depends_lib         port:fuse4x \
                    port:dbus-devel \
                    port:libconfuse 

patchfiles          patch-src-Makefile.in.diff \
                    patch-src-Makefile.am.diff
pre-destroot {
    file mkdir ${destroot}/sbin
    }
