# -*- 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 2.22.1 set branch [join [lrange [split ${version} .] 0 1] .] maintainers nomaintainer categories gnome 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 md5 aa249b4b02ab5fee6d1bb91eea48945e \ sha1 4d5d4c6166cbb7e2b145e44fe8645b01c0f19d95 \ rmd160 ba0c344b736aa122752168b8927804e42e63336f patchfiles patch-oobs-oobs-ifacesconfig.c.diff \ patch-oobs-oobs-user.c.diff 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 } depends_build port:pkgconfig \ port:gtk-doc depends_lib port:dbus-glib \ port:system-tools-backends livecheck.check regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}