Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Oct 2017 18:01:18 +0000 (UTC)
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r451055 - head/www/yarn
Message-ID:  <201710011801.v91I1Ixw067416@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jrm
Date: Sun Oct  1 18:01:18 2017
New Revision: 451055
URL: https://svnweb.freebsd.org/changeset/ports/451055

Log:
  www/yarn: Fix broken REINPLACE_CMD

Modified:
  head/www/yarn/Makefile

Modified: head/www/yarn/Makefile
==============================================================================
--- head/www/yarn/Makefile	Sun Oct  1 17:28:39 2017	(r451054)
+++ head/www/yarn/Makefile	Sun Oct  1 18:01:18 2017	(r451055)
@@ -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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710011801.v91I1Ixw067416>