pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/yarn
Module Name: pkgsrc
Committed By: jperkin
Date: Wed Jan 24 12:40:07 UTC 2018
Added Files:
pkgsrc/devel/yarn: DESCR Makefile PLIST distinfo
pkgsrc/devel/yarn/files: yarn.sh
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/yarn/DESCR pkgsrc/devel/yarn/Makefile \
pkgsrc/devel/yarn/PLIST pkgsrc/devel/yarn/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/yarn/files/yarn.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/yarn/DESCR
diff -u /dev/null pkgsrc/devel/yarn/DESCR:1.1
--- /dev/null Wed Jan 24 12:40:07 2018
+++ pkgsrc/devel/yarn/DESCR Wed Jan 24 12:40:07 2018
@@ -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.
Index: pkgsrc/devel/yarn/Makefile
diff -u /dev/null pkgsrc/devel/yarn/Makefile:1.1
--- /dev/null Wed Jan 24 12:40:07 2018
+++ pkgsrc/devel/yarn/Makefile Wed Jan 24 12:40:07 2018
@@ -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"
Index: pkgsrc/devel/yarn/PLIST
diff -u /dev/null pkgsrc/devel/yarn/PLIST:1.1
--- /dev/null Wed Jan 24 12:40:07 2018
+++ pkgsrc/devel/yarn/PLIST Wed Jan 24 12:40:07 2018
@@ -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
Index: pkgsrc/devel/yarn/distinfo
diff -u /dev/null pkgsrc/devel/yarn/distinfo:1.1
--- /dev/null Wed Jan 24 12:40:07 2018
+++ pkgsrc/devel/yarn/distinfo Wed Jan 24 12:40:07 2018
@@ -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
Index: pkgsrc/devel/yarn/files/yarn.sh
diff -u /dev/null pkgsrc/devel/yarn/files/yarn.sh:1.1
--- /dev/null Wed Jan 24 12:40:07 2018
+++ pkgsrc/devel/yarn/files/yarn.sh Wed Jan 24 12:40:07 2018
@@ -0,0 +1,2 @@
+#!@SH@
+exec "@PREFIX@/libexec/yarn/bin/yarn.js" "$@"
Home |
Main Index |
Thread Index |
Old Index