# -*- 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 PortGroup compiler_blacklist_versions 1.0 PortGroup gobject_introspection 1.0 name gjs version 1.46.0 set branch [join [lrange [split ${version} .] 0 1] .] description GObject JavaScriptCore bridge long_description \ Gjs is a JavaScript binding for GNOME. It's mainly based \ on SpiderMonkey JavaScript engine and the GObject \ Introspection framework. maintainers juanrgar devans openmaintainer license LGPL-2.1+ categories gnome platforms darwin homepage https://wiki.gnome.org/Projects/Gjs master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 80f82957a5e427cb6208f9a04453354950f365e3 \ sha256 2283591fa70785443793e1d7db66071b36052d707075f229baeb468d8dd25ad4 depends_build port:pkgconfig \ port:gnome-common \ port:gettext depends_lib port:gtk3 \ port:readline \ path:lib/pkgconfig/cairo.pc:cairo \ port:dbus-glib \ port:mozjs24 \ port:gnome-js-common # Teach glibtool about -stdlib=libc++ use_autoreconf yes autoreconf.args -fvi # Blacklist needs to match mozjs24: # /opt/local/include/mozjs-24/mozilla/Compiler.h:22:4: error: #error "mfbt (and Gecko) require at least gcc 4.4 to build." compiler.blacklist *gcc* {clang < 300} configure.args --disable-silent-rules use_parallel_build no gobject_introspection yes livecheck.type gnome