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:   jperkin
Date:           Tue Jul 10 15:57:00 UTC 2018

Modified Files:
        pkgsrc/lang/npm: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/npm/Makefile

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.8 pkgsrc/lang/npm/Makefile:1.9
--- pkgsrc/lang/npm/Makefile:1.8        Tue Jul  3 05:03:22 2018
+++ pkgsrc/lang/npm/Makefile    Tue Jul 10 15:57:00 2018
@@ -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 @@ 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
 
+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 @@ do-install:
        ${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