diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2015-06-24 17:41:12 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2015-06-24 17:41:12 +0000 |
commit | cdfd20ee3a509142a6df37c3716c59fdf2a21c51 (patch) | |
tree | 6dfcf8c3ce75e021e1d37be8e9741254b2e10a00 /www | |
parent | ce9c1ee4360e8eac5a5c0890c1deb570c5c65eb3 (diff) | |
download | ports-cdfd20ee3a509142a6df37c3716c59fdf2a21c51.tar.gz ports-cdfd20ee3a509142a6df37c3716c59fdf2a21c51.zip |
- Update maintainer section
Notes
Notes:
svn path=/head/; revision=390501
Diffstat (limited to 'www')
-rw-r--r-- | www/npm/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/www/npm/Makefile b/www/npm/Makefile index 066b6224efe0..fd77f2e7fde5 100644 --- a/www/npm/Makefile +++ b/www/npm/Makefile @@ -54,6 +54,7 @@ post-install: # require: bash, git, gmake, perl, node MS_DISTNAME= ${PORTNAME}-${MS_VERSION} +MS_PLIST= ${WRKDIR}/.ms-pkg-plist MS_RELEASES= ${MS_WRKSRC}/releases MS_VERSION= `${CAT} ${MS_VERSIONFILE}` MS_VERSIONFILE= ${MS_WRKSRC}/.version @@ -65,6 +66,11 @@ GITHUB_TARBALL= https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/${GI GITHUB_USER= ${PORTNAME} GITHUB_VERSION= v${MS_VERSION} +genplist: do-clean stage + @${MAKE_CMD} makeplist > ${MS_PLIST} + @${SED} -i '' '1 d; /^lib\/node_modules\/npm\/bin\/node-gyp-bin\/node-gyp$$/ s|^|@(,,755) |' ${MS_PLIST} + @${INSTALL} -m 600 ${MS_PLIST} ${PLIST} + maketar: do-clean @${MKDIR} ${MS_WRKSRC}/ @${FETCH_BINARY} ${FETCH_ARGS:C/A//} -o ${MS_RELEASES} ${GITHUB_RELEASES} |