source: trunk/dports/lang/spidermonkey185/Portfile

Last change on this file was 121661, checked in by mf2k@…, 3 years ago

gauche log4erl p5-innotop proctools py-beaker py-cherrypy py-cherrypy3 py-clientform py-configobj py-cython py-daemon py-decoratortools py-elixir py-eventlet py-feedparser py-httplib2 py-ipython py-kqueue py-libmemcached py-lxml py-mako py-mechanize py-memcached py-nose py-paste py-pastescript py-py py-pyprotocols py-routes py-ruledispatch py-simplejson py-sqlalchemy py-sqlalchemy-migrate py-sqlobject py-turbocheetah py-turbogears py-turbojson py-turbokid py-twisted py-virtualenv py-werkzeug py-workerpool py-yaml spidermonkey spidermonkey185: ports abandoned by akitada. (#43692)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 121661 2014-07-03 17:50:11Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6set js_version      1.8.5
7name                spidermonkey[strsed ${js_version} {g/\.//}]
8version             1.0.0
9categories          lang
10platforms           darwin
11maintainers         nomaintainer
12license             {MPL-1.1 GPL-2+ LGPL-2.1+}
13description         JavaScript-C Engine
14long_description    ${description}
15
16homepage            http://www.mozilla.org/js/spidermonkey/
17master_sites        http://ftp.mozilla.org/pub/mozilla.org/js/ \
18                    ftp://ftp.mozilla.org/pub/mozilla.org/js/ \
19                    http://ftp.mozilla.org/pub/mozilla.org/js/older-packages/ \
20                    ftp://ftp.mozilla.org/pub/mozilla.org/js/older-packages/
21distname            js[strsed ${js_version} {g/\.//}]-${version}
22checksums           rmd160  23e6ddc81d5b63e015aecc1a104b2d3d3ced5005 \
23                    sha256  5d12f7e1f5b4a99436685d97b9b7b75f094d33580227aa998c406bbae6f2a687
24
25depends_lib         port:nspr \
26                    port:readline
27
28worksrcdir          js-${js_version}/js/src
29
30patchfiles          patch-DESTDIR.diff \
31                    patch-includedir.diff
32
33configure.args      --enable-readline \
34                    --enable-threadsafe \
35                    --enable-macos-target=${macosx_deployment_target} \
36                    --with-system-nspr
37
38test.run            yes
39test.target         check
40
41post-destroot {
42    # The script name is not versioned so it would conflict with other
43    # spidermonkey versions. And the script isn't generated correctly on Darwin
44    # anyway: https://developer.mozilla.org/en/SpiderMonkey/1.8.5#js-config
45    # Programs should use "pkg-config mozjs185" instead of js-config.
46    delete ${destroot}${prefix}/bin/js-config
47}
48
49universal_variant   no
50
51livecheck.type      regex
52livecheck.url       http://ftp.mozilla.org/pub/mozilla.org/js/
53livecheck.regex     js[strsed ${js_version} {g/\.//}]-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.