# -*- 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 json-glib version 0.14.2 revision 1 set branch [join [lrange [split ${version} .] 0 1] .] categories devel license LGPL-2.1+ maintainers otherware.org:nefar openmaintainer homepage http://live.gnome.org/JsonGlib description provides JSON support long_description JSON-GLib is a library providing serialization and \ deserialization support for the JavaScript Object Notation \ (JSON) format described by RFC 4627. platforms darwin depends_build port:pkgconfig port:gtk-doc depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:gobject-introspection master_sites gnome:sources/${name}/${branch}/ use_bzip2 yes checksums sha1 eecad8c1c9da35d097205708c348cc6ee391ebfa \ rmd160 9d2ceddcbf742ba099b17082839682bcd7b921d4 \ sha256 b62cb148ae49d30d8ad807912ba3c7cf189459e2d75233620aae411cf8ea6c04 configure.args --enable-introspection=yes # gobject-introspection uses g-ir-scanner, which uses $CC from env build.args-append CC="${configure.cc} ${configure.cc_archflags}" platform darwin 8 { configure.args-delete --enable-introspection=yes configure.args-append --enable-introspection=no depends_lib-delete port:gobject-introspection } livecheck.type regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}