# -*- 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: Portfile 50302 2009-04-28 21:18:01Z devans@macports.org $

PortSystem 1.0

name             gob2
version          2.0.15
set branch       [join [lrange [split ${version} .] 0 1] .]
categories       devel
maintainers      nomaintainer
description      preprocessor for making GObjects with inline C
long_description \
	GOB (GOB2 anyway) is a preprocessor for making GObjects with \
	inline C code so that generated files are not edited. Syntax \
	is inspired by Java and Yacc or Lex. The implementation is \
	intentionally kept simple, and no C actual code parsing is done.
homepage         http://www.5z.com/jirka/gob.html
platforms        darwin
master_sites     gnome:sources/${name}/${branch}/ \
                 http://ftp.5z.com/pub/gob

checksums        md5     0c5ab18305fc37902d202a253fdb28b1 \
                 sha1    615e968e4a3fb16ac0a6f8668c57765554ca3f30 \
                 rmd160  d5cb4c4ecf5574daf5e13b3c3039c1697bd8caaa

depends_build    port:pkgconfig

depends_lib      path:lib/pkgconfig/glib-2.0.pc:glib2

configure.args   --mandir=${prefix}/share/man

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