aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2013-10-01 15:43:51 +0800
committerkuriyama <kuriyama@FreeBSD.org>2013-10-01 15:43:51 +0800
commit0ec7bdc4d5ce46cc93f94fcb4fc38cc8b0388351 (patch)
treeb821547116d98a37c53cff0070fd55ab79e85e63
parent56bfe942d9abf7d0b537e3c1c920705ed8f2a92a (diff)
downloadfreebsd-ports-gnome-0ec7bdc4d5ce46cc93f94fcb4fc38cc8b0388351.tar.gz
freebsd-ports-gnome-0ec7bdc4d5ce46cc93f94fcb4fc38cc8b0388351.tar.zst
freebsd-ports-gnome-0ec7bdc4d5ce46cc93f94fcb4fc38cc8b0388351.zip
- Honor $MAKE_JOBS_NUMBER [1].
- Upgrade to 1.9.2. - Use $STAGEDIR. PR: ports/181983 [1] Submitted by: mat [1]
-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 \