# -*- 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 118836 2014-04-11 21:06:38Z devans@macports.org $

PortSystem      1.0

name            gnome-js-common
version         0.1.2
set branch      [join [lrange [split ${version} .] 0 1] .]
maintainers     nomaintainer
categories      gnome
platforms       darwin
license         GPL-3
installs_libs   no
supported_archs noarch

description     Common modules for GNOME JavaScript bindings

long_description \
                gnome-js-common provides tests and JavaScript code \
                useful or common to both Seed and Gjs.

homepage        https://wiki.gnome.org/Projects/Seed
master_sites    gnome:sources/${name}/${branch}/
use_bzip2       yes

checksums       md5     a4147d24622ab0f1d01e9921a3bf501b \
                sha1    f3771ad53e158443ffe84b5d86fb2ce73417a69d \
                rmd160  2eab2fd3c3365259549826b5504beafc5b0956c1

depends_build   port:pkgconfig \
                port:intltool \
                port:gettext \
                path:lib/pkgconfig/glib-2.0.pc:glib2

# autoreconf to re-configure with MacPorts intltool.m4

use_autoreconf  yes
autoreconf.args -fvi

livecheck.type  gnome-with-unstable
