# -*- 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 # $Id: Portfile 82576 2011-08-15 20:58:35Z ryandesign@macports.org $ PortSystem 1.0 PortGroup qt4 1.0 name phantomjs version 1.2.0 categories www platforms darwin maintainers singingwolfboy openmaintainer homepage http://www.phantomjs.org/ master_sites googlecode description minimalistic headless WebKit long_description \ PhantomJS is a minimalistic headless WebKit. \ \ It has fast and native support for various web standards: \ DOM handling, CSS selector, JSON, Canvas, and SVG. \ \ PhantomJS can be fully scripted using JavaScript. It is an optimal \ solution for headless testing of web-based applications, site \ scraping, pages capture, SVG renderer, PDF converter and many other \ usages. use_zip yes distfiles ${distname}-source${extract.suffix} checksums rmd160 db709969e7dcda6f888bc3b2caef6a4dbffbe953 \ sha256 ef2a0e6a5870c926d0c15a5d051b3856bb92db27a939a6750538c0143c89f669 configure.cmd ${prefix}/bin/qmake configure.pre_args configure.args -spec macx-g++ destroot { set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 755 ${worksrcpath}/bin/${name}.app/Contents/MacOS/${name} ${destroot}${prefix}/bin/${name} xinstall -W ${worksrcpath} ChangeLog README.md ${destroot}${docdir} move ${worksrcpath}/examples ${destroot}${docdir}/examples }