# -*- 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 90973 2012-03-20 14:06:55Z jmr@macports.org $

PortSystem              1.0

name                    libghttp
version                 1.0.9
set branch              [join [lrange [split ${version} .] 0 1] .]
description             GNOME http client library
long_description        ${description}
maintainers             nomaintainer
categories              gnome
license                 LGPL
platforms               darwin
homepage                http://www.gnome.org/
master_sites            gnome:sources/${name}/${branch}/
checksums               md5 0690e7456f9a15c635f240f3d6d5dab2
depends_build           port:pkgconfig
configure.args          --mandir=${prefix}/share/man
configure.cppflags-append "-L${prefix}/lib"

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