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

PortSystem 1.0

name             gob2
version          2.0.20
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_xz           yes

checksums        rmd160  63f50ca2fc432982e799273bb1d2d63c837b9c87 \
                 sha256  5fe5d7990fd65b0d4b617ba894408ebaa6df453f2781c15a1cfdf2956c0c5428 \
                 size    202540

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
