diff options
-rw-r--r-- | lang/Makefile | 1 | ||||
-rw-r--r-- | lang/phantomjs/Makefile | 28 | ||||
-rw-r--r-- | lang/phantomjs/distinfo | 2 | ||||
-rw-r--r-- | lang/phantomjs/pkg-descr | 7 |
4 files changed, 38 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile index 5e9c89651ae7..017086125525 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -243,6 +243,7 @@ SUBDIR += perl5.8 SUBDIR += petite-chez SUBDIR += pfe + SUBDIR += phantomjs SUBDIR += phc SUBDIR += php-mode.el SUBDIR += php4 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/ |