sthen 51721367df import ports/www/phantomjs, from maintainer Francisco de Borja Lopez Rio
<borja@codigo23.net>, ok abieber@ - apologies for the extra copies of
WebKit and Qt but they are stripped-down so not horribly slow to build,
and have various fixes that phantomjs upstream haven't been able to get
into the various libraries yet.

"PhantomJS is a headless WebKit scriptable with a JavaScript API.
It has fast and native support for various web standards: DOM
handling, CSS selector, JSON, Canvas, and SVG."

(useful for various things including automated testing of web sites,
and screen scraping of complex web apps)
2013-12-20 00:54:05 +00:00

13 lines
519 B
Plaintext

$OpenBSD: patch-build_sh,v 1.1.1.1 2013/12/20 00:54:06 sthen Exp $
--- build.sh.orig Mon Nov 25 17:23:09 2013
+++ build.sh Mon Nov 25 17:23:25 2013
@@ -19,7 +19,7 @@ elif [[ $OSTYPE = darwin* ]]; then
# We only support modern Mac machines, they are at least using
# hyperthreaded dual-core CPU.
COMPILE_JOBS=4
-elif [[ $OSTYPE == freebsd* ]]; then
+elif [[ $OSTYPE == freebsd* ]] || [[ $OSTYPE == openbsd* ]]; then
COMPILE_JOBS=`sysctl -n hw.ncpu`
else
CPU_CORES=`grep -c ^processor /proc/cpuinfo`