source: trunk/dports/www/phantomjs/Portfile

Last change on this file was 146517, checked in by raimue@…, 19 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • 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 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           bitbucket 1.0
6
7bitbucket.setup     ariya phantomjs 2.0.0
8revision            1
9categories          www
10license             BSD
11platforms           darwin
12maintainers         stromnov openmaintainer
13
14homepage            http://www.phantomjs.org/
15bitbucket.tarball_from downloads
16
17description         PhantomJS is a minimalistic headless WebKit.
18
19long_description    PhantomJS is a headless WebKit scriptable with a \
20                    JavaScript API. It has fast and native support for \
21                    various web standards: DOM handling, CSS selector, \
22                    JSON, Canvas, and SVG.
23
24use_zip             yes
25distfiles           ${name}-${version}-source${extract.suffix}
26
27checksums           rmd160  84f80e82a4dc48110f02dc4734c938c9abd8acb0 \
28                    sha256  cc81249eaa059cc138414390cade9cb6509b9d6fa0df16f4f43de70b174b3bfe
29
30depends_lib         port:openssl
31
32patchfiles          patch-tools_preconfig.sh.diff \
33                    patch-qcocoaapplicationdelegate.mm.diff \
34                    patch-src__tools__qlalr__lalr.cpp.diff
35
36use_configure       no
37
38build.cmd           ./build.sh
39build.target
40build.args          --confirm \
41                    --jobs ${build.jobs}
42
43destroot    {
44    set docdir ${prefix}/share/doc/${name}
45    xinstall -d ${destroot}${docdir}
46
47    xinstall -m 755 ${worksrcpath}/bin/${name} ${destroot}${prefix}/bin/${name}
48    xinstall -W ${worksrcpath} ChangeLog README.md ${destroot}${docdir}
49    move ${worksrcpath}/examples ${destroot}${docdir}/examples
50}
51
52livecheck.regex     {phantomjs-(\d+(?:\.\d+)*)-source\.[tz]}
Note: See TracBrowser for help on using the repository browser.