pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/npm
Module Name: pkgsrc
Committed By: fhajny
Date: Thu May 3 21:09:17 UTC 2018
Modified Files:
pkgsrc/lang/npm: Makefile distinfo
Log Message:
lang/npm: Make sure we don't fetch when building.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/npm/Makefile pkgsrc/lang/npm/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/npm/Makefile
diff -u pkgsrc/lang/npm/Makefile:1.1 pkgsrc/lang/npm/Makefile:1.2
--- pkgsrc/lang/npm/Makefile:1.1 Wed May 2 17:03:09 2018
+++ pkgsrc/lang/npm/Makefile Thu May 3 21:09:17 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/05/02 17:03:09 fhajny Exp $
+# $NetBSD: Makefile,v 1.2 2018/05/03 21:09:17 fhajny Exp $
DISTNAME= npm-6.0.0
CATEGORIES= lang
@@ -9,6 +9,11 @@ HOMEPAGE= https://github.com/npm/npm/
COMMENT= Package manager for JavaScript
LICENSE= artistic-2.0
+# Pre-fetch marked so that man pages can be built offline
+MARKED= marked-0.3.19
+DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} ${MARKED}.tar.gz
+SITES.${MARKED}.tar.gz= -https://github.com/markedjs/marked/archive/v${MARKED:S/marked-//}.tar.gz
+
GITHUB_TAG= v${PKGVERSION_NOREV}
USE_TOOLS+= gmake perl
MAKE_JOBS_SAFE= no
@@ -21,6 +26,9 @@ CHECK_INTERPRETER_SKIP+= lib/node_module
.include "../../mk/bsd.prefs.mk"
+pre-build:
+ cd ${WRKSRC} && node bin/npm-cli.js install ${WRKDIR}/${MARKED} --no-global --no-timing --no-save
+
do-install:
cd ${WRKSRC} && ${FIND} . -type f -name '*.orig' -exec ${RM} -f {} \;
cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${PREFIX}/bin/node \
Index: pkgsrc/lang/npm/distinfo
diff -u pkgsrc/lang/npm/distinfo:1.1 pkgsrc/lang/npm/distinfo:1.2
--- pkgsrc/lang/npm/distinfo:1.1 Wed May 2 17:03:09 2018
+++ pkgsrc/lang/npm/distinfo Thu May 3 21:09:17 2018
@@ -1,5 +1,9 @@
-$NetBSD: distinfo,v 1.1 2018/05/02 17:03:09 fhajny Exp $
+$NetBSD: distinfo,v 1.2 2018/05/03 21:09:17 fhajny Exp $
+SHA1 (marked-0.3.19.tar.gz) = d30691ac399f05d156f40a0a893ce7a2a7f6c5be
+RMD160 (marked-0.3.19.tar.gz) = e78a28dfaf5fc1039e48f63228f892fa24a13e6f
+SHA512 (marked-0.3.19.tar.gz) = ea518863a27a07034568b0f7a3b2cd2c1ecb8d208472af0fbfa883f59662b7212d73828d67b7d0ccde7be4f706679f88190d26545ecc72965a112ee35518a55a
+Size (marked-0.3.19.tar.gz) = 100673 bytes
SHA1 (npm-6.0.0.tar.gz) = 87227738ff424bf51623a6e9fa4b571e46829eba
RMD160 (npm-6.0.0.tar.gz) = 9af81fc50ba7407c04c03d96edcc8ddd13b43e75
SHA512 (npm-6.0.0.tar.gz) = 7c5288a268373fa52d5b3d55bd5d40f71459cc2e2f5610b3ecbb61323cbd8b82d6e7ebb5fbea3449de22d4002329895ae3d99f6aceb62dae46875b4669e5cbbd
Home |
Main Index |
Thread Index |
Old Index