# -*- 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 57375 2009-09-10 08:16:41Z ryandesign@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
platforms               darwin
homepage                http://www.gnome.org/
master_sites            gnome:sources/${name}/${branch}/
checksums               md5 0690e7456f9a15c635f240f3d6d5dab2
depends_build           path:bin/pkg-config:pkgconfig
configure.args          --mandir=${prefix}/share/man
configure.cppflags-append "-L${prefix}/lib"
configure.cflags-append "-no-cpp-precomp -flat_namespace -undefined suppress"

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