# -*- 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.30.1 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 md5 65abd1254c63aea04fc1879c21e0051d \ sha1 f5d995a31fc907add165953c3797b15cbd61da28 \ rmd160 87ef170d7a0ee73563ce341bec958ad99f0179c7 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 \ port:gtk-doc depends_lib port:dbus-glib \ port:system-tools-backends livecheck.type regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}