# -*- 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.32.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 c9628dd1aae3206b55829cce133018283fe7cc16 \ sha256 1b70061272b2c777d505b5b6c785e045d4297639dd0d4214d04dea154a9b63d6 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 gnome