# -*- 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$ PortSystem 1.0 name liboobs version 3.0.0 set branch [join [lrange [split ${version} .] 0 1] .] maintainers nomaintainer categories gnome license GPL-2+ platforms darwin description Library that provides an interface to system-tools-backends long_description \ Liboobs is a lightweight library that provides a GObject based \ interface to system-tools-backends. It's completely abstracted of \ the communication and authentication details, making it easy for \ applications to integrate with the system details. homepage http://www.gnome.org/ master_sites gnome:sources/${name}/${branch}/ use_bzip2 yes checksums rmd160 b20e080f361a9418f572e2283ebcf322d27ca24c \ sha256 1e7a327df7dcfa30e0cd3e0d2ffcd9a2c91c7870291dd30434b5da907945c00a post-patch { # Crypt functions are in the System library. reinplace "s/-lcrypt/-lSystem/" ${worksrcpath}/configure # Crypt functions are declared in unistd.h system header. reinplace "s///" ${worksrcpath}/oobs/oobs-group.c \ ${worksrcpath}/oobs/oobs-user.c } depends_build port:pkgconfig depends_lib port:dbus-glib \ port:system-tools-backends configure.args --with-hal=no \ --disable-silent-rules livecheck.type gnome