summaryrefslogtreecommitdiff
path: root/lang/phantomjs
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2011-04-20 14:00:34 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2011-04-20 14:00:34 +0000
commitd574b02cad738b6d5be217eedc5a35421e40c13e (patch)
tree557c355b55be2594729103ccee8a16140939dfeb /lang/phantomjs
parentProperly set PORTEPOCH since the previous version pattern started with "2001". (diff)
PhantomJS is a minimalistic, headless, WebKit-based, JavaScript-driven
tool. It has native support for different web technologies: DOM handling, CSS selector, JSON, Canvas, SVG, and of course JavaScript. WWW: http://www.phantomjs.org/
Notes
Notes: svn path=/head/; revision=272954
Diffstat (limited to 'lang/phantomjs')
-rw-r--r--lang/phantomjs/Makefile28
-rw-r--r--lang/phantomjs/distinfo2
-rw-r--r--lang/phantomjs/pkg-descr7
3 files changed, 37 insertions, 0 deletions
diff --git a/lang/phantomjs/Makefile b/lang/phantomjs/Makefile
new file mode 100644
index 000000000000..613fc9c7ee65
--- /dev/null
+++ b/lang/phantomjs/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: phantomjs
+# Date created: 20 Apr 2011
+# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= phantomjs
+PORTVERSION= 1.0.0
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+
+MAINTAINER= kuriyama@FreeBSD.org
+COMMENT= Minimalistic, headless, WebKit-based, JavaScript-driven tool
+
+PROJECTHOST= phantomjs
+USE_QT_VER= 4
+USE_GMAKE= YES
+QT_COMPONENTS= moc qmake gui webkit rcc
+PLIST_FILES= bin/phantomjs
+
+do-configure:
+ cd ${WRKSRC} && ${QMAKE}
+
+do-install:
+ cd ${WRKSRC} && ${INSTALL_PROGRAM} bin/phantomjs ${PREFIX}/bin/
+
+.include <bsd.port.mk>
diff --git a/lang/phantomjs/distinfo b/lang/phantomjs/distinfo
new file mode 100644
index 000000000000..79ed4f260e66
--- /dev/null
+++ b/lang/phantomjs/distinfo
@@ -0,0 +1,2 @@
+SHA256 (phantomjs-1.0.0.tar.gz) = 5aad2478607dc5356c246c8ce8ba9fb40cb2d473665ff99380cb52a3d481a92f
+SIZE (phantomjs-1.0.0.tar.gz) = 31244
diff --git a/lang/phantomjs/pkg-descr b/lang/phantomjs/pkg-descr
new file mode 100644
index 000000000000..9d23c59f26b1
--- /dev/null
+++ b/lang/phantomjs/pkg-descr
@@ -0,0 +1,7 @@
+PhantomJS is a minimalistic, headless, WebKit-based, JavaScript-driven
+tool.
+
+It has native support for different web technologies: DOM handling,
+CSS selector, JSON, Canvas, SVG, and of course JavaScript.
+
+WWW: http://www.phantomjs.org/