pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/yarn yarn: Import version 1.3.2 into pkgsrc.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8425839abe75
branches:  trunk
changeset: 374498:8425839abe75
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Jan 24 12:40:07 2018 +0000

description:
yarn: Import version 1.3.2 into pkgsrc.

Yarn is a package manager for your code.  It allows you to use and share
code with other developers from around the world.  Yarn does this quickly,
securely, and reliably so you don't ever have to worry.

Yarn allows you to use other developers' solutions to different problems,
making it easier for you to develop your software.  If you have problems,
you can report issues or contribute back, and when the problem is fixed,
you can use Yarn to keep it all up to date.

Code is shared through something called a package (sometimes referred to
as a module).  A package contains all the code being shared as well as a
package.json file which describes the package.

diffstat:

 devel/yarn/DESCR         |  12 ++++++++++++
 devel/yarn/Makefile      |  37 +++++++++++++++++++++++++++++++++++++
 devel/yarn/PLIST         |   6 ++++++
 devel/yarn/distinfo      |   6 ++++++
 devel/yarn/files/yarn.sh |   2 ++
 5 files changed, 63 insertions(+), 0 deletions(-)

diffs (83 lines):

diff -r 3d367d7ff358 -r 8425839abe75 devel/yarn/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/yarn/DESCR  Wed Jan 24 12:40:07 2018 +0000
@@ -0,0 +1,12 @@
+Yarn is a package manager for your code.  It allows you to use and share
+code with other developers from around the world.  Yarn does this quickly,
+securely, and reliably so you don't ever have to worry.
+
+Yarn allows you to use other developers' solutions to different problems,
+making it easier for you to develop your software.  If you have problems,
+you can report issues or contribute back, and when the problem is fixed,
+you can use Yarn to keep it all up to date.
+
+Code is shared through something called a package (sometimes referred to
+as a module).  A package contains all the code being shared as well as a
+package.json file which describes the package.
diff -r 3d367d7ff358 -r 8425839abe75 devel/yarn/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/yarn/Makefile       Wed Jan 24 12:40:07 2018 +0000
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1 2018/01/24 12:40:07 jperkin Exp $
+
+DISTNAME=      yarn-v1.3.2
+PKGNAME=       ${DISTNAME:S/-v/-/}
+CATEGORIES=    devel
+MASTER_SITES=  https://yarnpkg.com/downloads/${PKGVERSION_NOREV}/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://yarnpkg.com/
+COMMENT=       JavaScript package manager
+LICENSE=       2-clause-bsd
+
+DEPENDS+=      nodejs-[0-9]*:../../lang/nodejs
+
+USE_LANGUAGES= # none
+
+INSTALLATION_DIRS=     bin libexec/yarn/bin libexec/yarn/lib
+
+REPLACE_INTERPRETER+=  nodejs
+REPLACE.nodejs.old=    .*node
+REPLACE.nodejs.new=    ${PREFIX}/bin/node
+REPLACE_FILES.nodejs=  bin/yarn.js
+
+do-build:
+       ${SED} ${FILES_SUBST_SED} ${FILESDIR}/yarn.sh >${WRKSRC}/yarn.sh
+
+do-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/bin/yarn.js                 \
+           ${DESTDIR}${PREFIX}/libexec/yarn/bin/yarn.js
+       ${INSTALL_DATA} ${WRKSRC}/lib/*.js                      \
+           ${DESTDIR}${PREFIX}/libexec/yarn/lib/
+       ${INSTALL_SCRIPT} ${WRKSRC}/yarn.sh                     \
+           ${DESTDIR}${PREFIX}/bin/yarn
+       ${INSTALL_SCRIPT} ${WRKSRC}/yarn.sh                     \
+           ${DESTDIR}${PREFIX}/bin/yarnpkg
+
+.include "../../mk/bsd.pkg.mk"
diff -r 3d367d7ff358 -r 8425839abe75 devel/yarn/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/yarn/PLIST  Wed Jan 24 12:40:07 2018 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2018/01/24 12:40:07 jperkin Exp $
+bin/yarn
+bin/yarnpkg
+libexec/yarn/bin/yarn.js
+libexec/yarn/lib/cli.js
+libexec/yarn/lib/v8-compile-cache.js
diff -r 3d367d7ff358 -r 8425839abe75 devel/yarn/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/yarn/distinfo       Wed Jan 24 12:40:07 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/01/24 12:40:07 jperkin Exp $
+
+SHA1 (yarn-v1.3.2.tar.gz) = 5939762581b5b4ddcd3418c0f6be42df3aee195f
+RMD160 (yarn-v1.3.2.tar.gz) = b2e2cb3ad6979ab1e3fa9713f4269f7dfe9ce10f
+SHA512 (yarn-v1.3.2.tar.gz) = d488ae56b60884bb42e5e2ac8a0359c6947e234ed8b5bba12a93f24abb4419b4a6fef708c35df8caa9e68edca3fe570d1dcda9295d29438e45a32ef5d029aedf
+Size (yarn-v1.3.2.tar.gz) = 886500 bytes
diff -r 3d367d7ff358 -r 8425839abe75 devel/yarn/files/yarn.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/yarn/files/yarn.sh  Wed Jan 24 12:40:07 2018 +0000
@@ -0,0 +1,2 @@
+#!@SH@
+exec "@PREFIX@/libexec/yarn/bin/yarn.js" "$@"



Home | Main Index | Thread Index | Old Index