aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpizzamig <pizzamig@FreeBSD.org>2017-09-30 19:23:11 +0800
committerpizzamig <pizzamig@FreeBSD.org>2017-09-30 19:23:11 +0800
commit98d4f136f5a6489bf95089264c520b00c3a770ff (patch)
tree0ed00de56385856d88a6705edaeebfa8e88b644d /www
parenta32ba6bb5abbd63fc9a4ef72bc716d9f4fb81429 (diff)
downloadfreebsd-ports-gnome-98d4f136f5a6489bf95089264c520b00c3a770ff.tar.gz
freebsd-ports-gnome-98d4f136f5a6489bf95089264c520b00c3a770ff.tar.zst
freebsd-ports-gnome-98d4f136f5a6489bf95089264c520b00c3a770ff.zip
www/yarn: update to 1.1.0 and fix the yarn script
Re-enabling the readlink -f option on FreeBSD Update to version 1.1.0 PR: 222696 Approved by: olivier (mentor) Differential Revision: https://reviews.freebsd.org/D12542
Diffstat (limited to 'www')
-rw-r--r--www/yarn/Makefile4
-rw-r--r--www/yarn/distinfo6
2 files changed, 6 insertions, 4 deletions
diff --git a/www/yarn/Makefile b/www/yarn/Makefile
index b3bd197abb78..77b706307ec0 100644
--- a/www/yarn/Makefile
+++ b/www/yarn/Makefile
@@ -2,7 +2,7 @@
PORTNAME= yarn
DISTVERSIONPREFIX= v
-DISTVERSION= 1.0.2
+DISTVERSION= 1.1.0
CATEGORIES= www
MASTER_SITES= https://yarnpkg.com/downloads/${PORTVERSION}/
@@ -37,6 +37,8 @@ post-patch:
@${REINPLACE_CMD} -i '' \
-e 's|"installationMethod": "tar"|"installationMethod": "pkg"|g' \
${WRKSRC}/package.json
+ @${REINPLACE_CMD} -i '' -e 's%"Linux)%Linux|FreeBSD)%g' \
+ ${WRKSRC}/bin/yarn
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/node_modules/yarn
diff --git a/www/yarn/distinfo b/www/yarn/distinfo
index e7274f700668..48bbe40be63a 100644
--- a/www/yarn/distinfo
+++ b/www/yarn/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1506246826
-SHA256 (yarn-v1.0.2.tar.gz) = 8a31f8fa50ab6d5f8852025fb0ea4a50f2f8b82792f060fa99de0acc370b0698
-SIZE (yarn-v1.0.2.tar.gz) = 843696
+TIMESTAMP = 1506702503
+SHA256 (yarn-v1.1.0.tar.gz) = 171c1f9ee93c488c0d774ac6e9c72649047c3f896277d88d0f805266519430f3
+SIZE (yarn-v1.1.0.tar.gz) = 874168