1 | # $Id: Portfile,v 1.3 2005/09/07 22:55:19 mww Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name spidermonkey |
---|
6 | version 1.5 |
---|
7 | revision 1 |
---|
8 | categories lang |
---|
9 | platforms darwin |
---|
10 | maintainers darwinports@opendarwin.org |
---|
11 | description JavaScript-C Engine |
---|
12 | long_description ${description} |
---|
13 | |
---|
14 | homepage http://www.mozilla.org/js/spidermonkey/ |
---|
15 | master_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/ |
---|
18 | distname js-${version} |
---|
19 | checksums md5 863bb6462f4ce535399a7c6276ae6776 |
---|
20 | |
---|
21 | worksrcdir js/src |
---|
22 | |
---|
23 | use_configure no |
---|
24 | |
---|
25 | build.args -f Makefile.ref |
---|
26 | post-build { |
---|
27 | system "ranlib ${worksrcpath}//Darwin_DBG.OBJ/libjs.a" |
---|
28 | } |
---|
29 | |
---|
30 | destroot { |
---|
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 | } |
---|