# -*- 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 110881 2013-09-09 08:40:39Z stromnov@macports.org $ PortSystem 1.0 name phantomjs version 1.9.2 categories www license BSD platforms darwin maintainers stromnov 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 distname ${name}-${version}-source worksrcdir ${name}-${version} checksums rmd160 483e8ab7bf4a1dd849be2d8ab91c61987c0f0707 \ sha256 5755bb5b0942b018a41003b4b8be740b9356948f437617d933b8b8b9a8f339e1 patchfiles patch-build.diff use_configure no build.cmd ./build.sh build.target build.args --confirm \ --jobs ${build.jobs} destroot { set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 755 ${worksrcpath}/bin/${name} ${destroot}${prefix}/bin/${name} xinstall -W ${worksrcpath} ChangeLog README.md ${destroot}${docdir} move ${worksrcpath}/examples ${destroot}${docdir}/examples }