aboutsummaryrefslogtreecommitdiff
path: root/www/npm3
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-01-14 18:14:03 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-01-14 18:14:03 +0000
commit9c8d109b93c19ee647585149bc2b3aea7b1af967 (patch)
tree2f227006e5d937d7b3bf18a8cfbcf0c9839330a7 /www/npm3
parent95d9c4f39b02b7dc0f88216fe6d0d2f7ee6dc725 (diff)
downloadports-9c8d109b93c19ee647585149bc2b3aea7b1af967.tar.gz
ports-9c8d109b93c19ee647585149bc2b3aea7b1af967.zip
Remove maintainer section
Notes
Notes: svn path=/head/; revision=431486
Diffstat (limited to 'www/npm3')
-rw-r--r--www/npm3/Makefile43
1 files changed, 0 insertions, 43 deletions
diff --git a/www/npm3/Makefile b/www/npm3/Makefile
index 961e115cf852..85b9f6bce35b 100644
--- a/www/npm3/Makefile
+++ b/www/npm3/Makefile
@@ -58,47 +58,4 @@ post-patch:
post-install:
${INSTALL_DATA} ${WRKDIR}/npm.conf ${STAGEDIR}${PREFIX}/etc/man.d/npm.conf
-# maintainer section:
-# 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
-MS_WRKSRC= ${WRKSRC}/tmp
-
-GITHUB_PROJECT= ${PORTNAME}
-GITHUB_RELEASES=https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/releases/latest
-GITHUB_TARBALL= https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/${GITHUB_VERSION}.tar.gz
-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}
- @${GREP} -o '/${GITHUB_USER}/${GITHUB_PROJECT}/archive/[^"]*\.tar\.gz' ${MS_RELEASES} | ${HEAD} -1 | ${CUT} -d/ -f5 | ${SED} 's|^v||; s|\.tar\.gz$$||' > ${MS_VERSIONFILE}
- @${ECHO_MSG} "*** Updating from ${PORTVERSION} to ${MS_VERSION} ..."
- @${FETCH_BINARY} ${FETCH_ARGS:C/A//} -o ${MS_WRKSRC}/${MS_DISTNAME}.tar.gz ${GITHUB_TARBALL}
- @${MKDIR} ${MS_WRKSRC}/${MS_DISTNAME}/
- @${TAR} -xf ${MS_WRKSRC}/${MS_DISTNAME}.tar.gz -C ${MS_WRKSRC}/${MS_DISTNAME}/ --strip-components 1
- @${REINPLACE_CMD} -e 's|${MAKE}|${GMAKE}|g; /^install: / s| docclean||' ${MS_WRKSRC}/${MS_DISTNAME}/Makefile
- @${REINPLACE_CMD} -e 's| && ${MAKE} -j8 doc||' ${MS_WRKSRC}/${MS_DISTNAME}/package.json
- @${REINPLACE_CMD} -e 's|linkBins, linkMans|linkBins|; /manRoot/ s|, "share"||' ${MS_WRKSRC}/${MS_DISTNAME}/lib/build.js ${MS_WRKSRC}/${MS_DISTNAME}/lib/unbuild.js
- @${REINPLACE_CMD} -e '1 s|#!/bin/bash|#!${LOCALBASE}/bin/bash|; s|${MAKE}|${GMAKE}|g; s|perl -pi|perl -p|' ${MS_WRKSRC}/${MS_DISTNAME}/scripts/doc-build.sh
- @${GREP} -lr share/man ${MS_WRKSRC}/${MS_DISTNAME}/doc/ ${MS_WRKSRC}/${MS_DISTNAME}/scripts/ | ${XARGS} -I % ${REINPLACE_CMD} 's|share/man|man|g' %
- @cd ${MS_WRKSRC}/${MS_DISTNAME}/ && ${GMAKE} docclean markedclean all html/doc/misc/npm-index.html
- @${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type d -exec ${CHMOD} 755 {} \;
- @${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type f -exec ${CHMOD} 644 {} \;
- @${FIND} ${MS_WRKSRC}/${MS_DISTNAME}/ -type f -name '*.sh' -exec ${CHMOD} 755 {} \;
- @cd ${MS_WRKSRC}/ && ${TAR} -Jcf ${MS_DISTNAME}.tar.xz ${MS_DISTNAME}/
- @${REINPLACE_CMD} -e '/^PORTVERSION=/ s|${PORTVERSION}|'${MS_VERSION}'|; /^PORTREVISION=/d' ${.CURDIR}/Makefile
- @sudo ${INSTALL} -m 644 ${MS_WRKSRC}/${PORTNAME}-${MS_VERSION}.tar.xz ${DISTDIR}/
- @cd ${.CURDIR}/ && ${MAKE_CMD} makesum
-
.include <bsd.port.post.mk>