aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorjrm <jrm@FreeBSD.org>2017-10-02 02:01:18 +0800
committerjrm <jrm@FreeBSD.org>2017-10-02 02:01:18 +0800
commitacaf0b7fa01ef35e41539640ccc032bdc9798e1b (patch)
tree1d88fd9eaca1b5ae219185e85292920b980a99f7 /www
parent383ffdd2f4cba513a74358f3a58b18cd74c4634f (diff)
downloadfreebsd-ports-gnome-acaf0b7fa01ef35e41539640ccc032bdc9798e1b.tar.gz
freebsd-ports-gnome-acaf0b7fa01ef35e41539640ccc032bdc9798e1b.tar.zst
freebsd-ports-gnome-acaf0b7fa01ef35e41539640ccc032bdc9798e1b.zip
www/yarn: Fix broken REINPLACE_CMD
Diffstat (limited to 'www')
-rw-r--r--www/yarn/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/yarn/Makefile b/www/yarn/Makefile
index 77b706307ec0..84e5c4b7819b 100644
--- a/www/yarn/Makefile
+++ b/www/yarn/Makefile
@@ -3,6 +3,7 @@
PORTNAME= yarn
DISTVERSIONPREFIX= v
DISTVERSION= 1.1.0
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= https://yarnpkg.com/downloads/${PORTVERSION}/
@@ -37,7 +38,7 @@ post-patch:
@${REINPLACE_CMD} -i '' \
-e 's|"installationMethod": "tar"|"installationMethod": "pkg"|g' \
${WRKSRC}/package.json
- @${REINPLACE_CMD} -i '' -e 's%"Linux)%Linux|FreeBSD)%g' \
+ @${REINPLACE_CMD} -i '' -e 's%Linux)%Linux|FreeBSD)%g' \
${WRKSRC}/bin/yarn
do-install: