Ticket #7449: Portfile

File Portfile, 1010 bytes (added by cmconnelly (Claire Connelly), 18 years ago)

Replacement Portfile for spidermonkey, with updated release and MD5 sum

Line 
1# $Id: Portfile,v 1.3 2005/09/07 22:55:19 mww Exp $
2
3PortSystem 1.0
4
5name                    spidermonkey
6version                 1.5
7revision                1
8categories              lang
9platforms               darwin
10maintainers             darwinports@opendarwin.org
11description             JavaScript-C Engine
12long_description        ${description}
13
14homepage                http://www.mozilla.org/js/spidermonkey/
15master_sites    ftp://mozilla.isc.org/pub/mozilla.org/js/ \
16                                http://ftp.uni-erlangen.de/pub/mozilla.org/js/ \
17                                http://mozilla.isc.org/pub/mozilla.org/js/
18distname                js-${version}
19checksums               md5 863bb6462f4ce535399a7c6276ae6776
20
21worksrcdir              js/src
22
23use_configure   no
24
25build.args              -f Makefile.ref
26post-build {
27        system "ranlib ${worksrcpath}//Darwin_DBG.OBJ/libjs.a"
28}
29
30destroot {
31        xinstall -m 755 -d ${destroot}${prefix}/include/${name}
32        xinstall -m 755 ${worksrcpath}/Darwin_DBG.OBJ/js ${destroot}${prefix}/bin
33        xinstall -m 644 -W ${worksrcpath} jsapi.h Darwin_DBG.OBJ/jsautocfg.h \
34                ${destroot}${prefix}/include/${name}
35        xinstall -m 644 ${worksrcpath}/Darwin_DBG.OBJ/libjs.a ${destroot}${prefix}/lib
36}