# -*- 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 66095 2010-04-06 03:39:54Z jmr@macports.org $

PortSystem      1.0

name            gnome-common
version         2.26.0
set branch      [join [lrange [split ${version} .] 0 1] .]
maintainers     nomaintainer
categories      gnome
platforms       darwin
description     Files that should be in pretty much every GNOME application.

long_description \
    $description

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

checksums       md5     196daa38cb21d91da1d6ec085f1e158b \
                sha1    4e3517d674a015d9b3acfefd806b933bac08f645 \
                rmd160  788a1c6b008ad47714a5c73cdfc49d24a8d9d175

patchfiles      patch-gnome-autogen.sh.diff

depends_build   port:pkgconfig

use_parallel_build  yes

if {[info exists supported_archs]} {
    supported_archs noarch
} else {
    universal_variant no
}

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