# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 85995 2011-10-18 06:24:18Z devans@macports.org $

PortSystem      1.0

name            libepc
version         0.3.11
revision        1
license         LGPL-2.1+
set branch      [join [lrange [split ${version} .] 0 1] .]
maintainers     devans openmaintainer
categories      gnome
platforms       darwin
description     The Easy Publish and Consume Library

long_description \
                The Easy Publish and Consume library provides an easy method to \
                publish data per HTTPS, announce that information via DNS-SD, \
                find that information, and finally consume it.  You can use this \
                library as a key/value store published to the network, using \
                encryption, authentication and service discovery.

homepage        http://www.gnome.org/
master_sites    gnome:sources/${name}/${branch}/
use_bzip2       yes

checksums       md5     b0d63bf93c28a17ed84edd0eacc9781a \
                sha1    fa8af4a30e77639a1bab8c53d75aad3f0caa6250 \
                rmd160  8dfb79bb129712998f6ea61c3da51fba4a0465f7

depends_build   port:pkgconfig \
                port:intltool

depends_lib     port:gtk2 \
                port:avahi \
                port:libsoup \
                port:ossp-uuid

patchfiles      patch-configure.diff \
                patch-Makefile.in.diff

livecheck.type  regex
livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
