pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/npm npm: Switch to regular DEPENDS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/65caa198b76d
branches:  trunk
changeset: 382695:65caa198b76d
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Jul 10 15:57:00 2018 +0000

description:
npm: Switch to regular DEPENDS.

This needs to be able to be installed against any nodejs version, and
can be as no native modules are used.  Bump PKGREVISION.

diffstat:

 lang/npm/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 1b341ccb3e35 -r 65caa198b76d lang/npm/Makefile
--- a/lang/npm/Makefile Tue Jul 10 13:49:22 2018 +0000
+++ b/lang/npm/Makefile Tue Jul 10 15:57:00 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2018/07/03 05:03:22 adam Exp $
+# $NetBSD: Makefile,v 1.9 2018/07/10 15:57:00 jperkin Exp $
 
 DISTNAME=      npm-6.1.0
+PKGREVISION=   1
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=npm/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -15,6 +16,8 @@
 DISTFILES+=    ${DISTNAME}${EXTRACT_SUFX} ${MARKED}.tar.gz
 SITES.${MARKED}.tar.gz=        -https://github.com/markedjs/marked/archive/v${MARKED:S/marked-//}.tar.gz
 
+DEPENDS+=      nodejs-[0-9]*:../../lang/nodejs
+
 USE_TOOLS+=    gmake perl
 
 PYTHON_VERSIONS_INCOMPATIBLE=  34 35 36 37 # required by gyp scripts included
@@ -49,6 +52,5 @@
        ${MV} ${DESTDIR}${PREFIX}/share/man ${DESTDIR}${PREFIX}/${PKGMANDIR}
 .endif
 
-.include "../../lang/nodejs/nodeversion.mk"
 .include "../../lang/python/pyversion.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index