diff options
author | fhajny <fhajny@pkgsrc.org> | 2018-05-03 21:09:17 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2018-05-03 21:09:17 +0000 |
commit | 68eccf69f81681b6f89b1847e9c2f0d78267afd5 (patch) | |
tree | 6328c2f6d789c52778047599298316721d93ea89 /lang/npm | |
parent | 93c867ab819f1fe43d15be735c91ac0f399d1275 (diff) | |
download | pkgsrc-68eccf69f81681b6f89b1847e9c2f0d78267afd5.tar.gz |
lang/npm: Make sure we don't fetch when building.
Diffstat (limited to 'lang/npm')
-rw-r--r-- | lang/npm/Makefile | 10 | ||||
-rw-r--r-- | lang/npm/distinfo | 6 |
2 files changed, 14 insertions, 2 deletions
diff --git a/lang/npm/Makefile b/lang/npm/Makefile index 52fafe85eb6..87db7b4b7cd 100644 --- a/lang/npm/Makefile +++ b/lang/npm/Makefile @@ -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_modules/npm/* .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 \ diff --git a/lang/npm/distinfo b/lang/npm/distinfo index fe415d123fa..d7ebd7d6eca 100644 --- a/lang/npm/distinfo +++ b/lang/npm/distinfo @@ -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 |