source: trunk/dports/gnome/gjs/Portfile

Last change on this file was 153329, checked in by devans@…, 10 months ago

gjs: update to version 1.46.0, use gnome stable livecheck.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 153329 2016-09-29 04:35:42Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       compiler_blacklist_versions 1.0
6PortGroup       gobject_introspection 1.0
7
8name            gjs
9version         1.46.0
10set branch      [join [lrange [split ${version} .] 0 1] .]
11description     GObject JavaScriptCore bridge
12long_description \
13                Gjs is a JavaScript binding for GNOME. It's mainly based \
14                on SpiderMonkey JavaScript engine and the GObject \
15                Introspection framework.
16
17maintainers     juanrgar devans openmaintainer
18license         LGPL-2.1+
19categories      gnome
20platforms       darwin
21homepage        https://wiki.gnome.org/Projects/Gjs
22master_sites    gnome:sources/${name}/${branch}/
23use_xz          yes
24
25checksums       rmd160  80f82957a5e427cb6208f9a04453354950f365e3 \
26                sha256  2283591fa70785443793e1d7db66071b36052d707075f229baeb468d8dd25ad4
27
28depends_build   port:pkgconfig \
29                port:gnome-common \
30                port:gettext
31
32depends_lib     port:gtk3 \
33                port:readline \
34                path:lib/pkgconfig/cairo.pc:cairo \
35                port:dbus-glib \
36                port:mozjs24 \
37                port:gnome-js-common
38
39# Teach glibtool about -stdlib=libc++
40use_autoreconf  yes
41autoreconf.args -fvi
42
43# Blacklist needs to match mozjs24:
44# /opt/local/include/mozjs-24/mozilla/Compiler.h:22:4: error: #error "mfbt (and Gecko) require at least gcc 4.4 to build."
45compiler.blacklist  *gcc* {clang < 300}
46
47configure.args  --disable-silent-rules
48
49use_parallel_build  no
50
51gobject_introspection yes
52
53livecheck.type  gnome
Note: See TracBrowser for help on using the repository browser.