www/yarn: Fix broken REINPLACE_CMD
This commit is contained in:
parent
7fccaa22cb
commit
0cbe97f6ac
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=451055
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue