summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2013-10-01 07:43:51 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2013-10-01 07:43:51 +0000
commit59e3012f174bff8669ebb796e72d56de2839145a (patch)
treeb821547116d98a37c53cff0070fd55ab79e85e63 /lang
parent- Pass maintainership to new volunteer (diff)
- Honor $MAKE_JOBS_NUMBER [1].
- Upgrade to 1.9.2. - Use $STAGEDIR. PR: ports/181983 [1] Submitted by: mat [1]
Notes
Notes: svn path=/head/; revision=328928
Diffstat (limited to 'lang')
-rw-r--r--lang/phantomjs/Makefile7
-rw-r--r--lang/phantomjs/distinfo4
-rw-r--r--lang/phantomjs/files/patch-src-phantomjs.pro11
3 files changed, 16 insertions, 6 deletions
diff --git a/lang/phantomjs/Makefile b/lang/phantomjs/Makefile
index f7fe76b01535..8f9852e6d918 100644
--- a/lang/phantomjs/Makefile
+++ b/lang/phantomjs/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= phantomjs
-PORTVERSION= 1.9.0
+PORTVERSION= 1.9.2
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
@@ -20,12 +20,11 @@ USE_DOS2UNIX= YES
USE_QT4= moc qmake gui webkit rcc
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-NO_STAGE= yes
do-build:
- cd ${WRKSRC} && ${SETENV} OSTYPE=freebsd MAKEFLAGS= bash -x build.sh --jobs 2 --confirm
+ cd ${WRKSRC} && ${SETENV} OSTYPE=freebsd MAKEFLAGS= bash -x build.sh --jobs ${MAKE_JOBS_NUMBER} --confirm
do-install:
- cd ${WRKSRC} && ${INSTALL_PROGRAM} bin/phantomjs ${PREFIX}/bin/
+ cd ${WRKSRC} && ${INSTALL_PROGRAM} bin/phantomjs ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.pre.mk>
diff --git a/lang/phantomjs/distinfo b/lang/phantomjs/distinfo
index 1e91123536fd..1f004a808265 100644
--- a/lang/phantomjs/distinfo
+++ b/lang/phantomjs/distinfo
@@ -1,2 +1,2 @@
-SHA256 (phantomjs-1.9.0-source.zip) = f51ebd98df9fd628544b719b41bb5b42a180afa603888c62a04e5e5ace588d0b
-SIZE (phantomjs-1.9.0-source.zip) = 40903639
+SHA256 (phantomjs-1.9.2-source.zip) = 5755bb5b0942b018a41003b4b8be740b9356948f437617d933b8b8b9a8f339e1
+SIZE (phantomjs-1.9.2-source.zip) = 40840382
diff --git a/lang/phantomjs/files/patch-src-phantomjs.pro b/lang/phantomjs/files/patch-src-phantomjs.pro
new file mode 100644
index 000000000000..9e9dc119d741
--- /dev/null
+++ b/lang/phantomjs/files/patch-src-phantomjs.pro
@@ -0,0 +1,11 @@
+--- src/phantomjs.pro.orig 2013-10-01 10:49:57.204247173 +0900
++++ src/phantomjs.pro 2013-10-01 10:50:42.830414131 +0900
+@@ -60,7 +60,7 @@
+ include(linenoise/linenoise.pri)
+ include(qcommandline/qcommandline.pri)
+
+-linux*|mac {
++linux*|mac|freebsd* {
+ INCLUDEPATH += breakpad/src
+
+ SOURCES += breakpad/src/client/minidump_file_writer.cc \