# -*- 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$

PortSystem 1.0

name             gob2
version          2.0.18
set branch       [join [lrange [split ${version} .] 0 1] .]
categories       devel
license          GPL-2+
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
use_bzip2 yes

checksums        rmd160 dc49d4a6291b8bf36bac4ab22cefce7d99a97eb2 \
                 sha256 b126c5df6fc2376e7fcff0e4c40ea3f471df300f9b1c9663bdf363df36dfeb60

depends_build    port:pkgconfig

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

# Do not output preprocessor statement '#line 0' which is an error for some
# versions of clang
patchfiles       patch-out-line0.diff

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

livecheck.type   gnome-with-unstable