# -*- 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.43.3 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 c6a8bf3d8ce3d187f49b09d6b23f5a972125634b \ sha256 82b54dd4590ea1622d19b2e27978bcb9c2c5b46922e1e1780ea79b6a28aa1c4e 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-with-unstable