Date: Mon, 15 May 2017 22:05:46 +0000 (UTC) From: Rodrigo Osorio <rodrigo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r440978 - in head: devel devel/npm-amdefine devel/npm-clean-css devel/npm-clean-css/files devel/npm-commander devel/npm-commander/files devel/npm-graceful-readlink devel/npm-source-map ... Message-ID: <201705152205.v4FM5kIw055373@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rodrigo Date: Mon May 15 22:05:46 2017 New Revision: 440978 URL: https://svnweb.freebsd.org/changeset/ports/440978 Log: Add npm-less-plugin-clean-css a www/lesc tool pluggin and its dependencies www/npm-less-plugin-clean-css: Compresses the css output from less using clean-css ` devel/npm-clean-css: Fast and efficient CSS optimizer for node.js and the Web ` devel/npm-source-map: Parse and consume source maps | ` devel/npm-amdefine: Implementation of AMD's define() in Node ` devel/npm-commander: node.js command-line interfaces made easy ` devel/npm-graceful-readlink: Graceful fs.readlink Added: head/devel/npm-amdefine/ head/devel/npm-amdefine/Makefile (contents, props changed) head/devel/npm-amdefine/distinfo (contents, props changed) head/devel/npm-amdefine/pkg-descr (contents, props changed) head/devel/npm-amdefine/pkg-plist (contents, props changed) head/devel/npm-clean-css/ head/devel/npm-clean-css/Makefile (contents, props changed) head/devel/npm-clean-css/distinfo (contents, props changed) head/devel/npm-clean-css/files/ head/devel/npm-clean-css/files/patch-package.json (contents, props changed) head/devel/npm-clean-css/pkg-descr (contents, props changed) head/devel/npm-clean-css/pkg-plist (contents, props changed) head/devel/npm-commander/ head/devel/npm-commander/Makefile (contents, props changed) head/devel/npm-commander/distinfo (contents, props changed) head/devel/npm-commander/files/ head/devel/npm-commander/files/patch-package.json (contents, props changed) head/devel/npm-commander/pkg-descr (contents, props changed) head/devel/npm-commander/pkg-plist (contents, props changed) head/devel/npm-graceful-readlink/ head/devel/npm-graceful-readlink/Makefile (contents, props changed) head/devel/npm-graceful-readlink/distinfo (contents, props changed) head/devel/npm-graceful-readlink/pkg-descr (contents, props changed) head/devel/npm-graceful-readlink/pkg-plist (contents, props changed) head/devel/npm-source-map/ head/devel/npm-source-map/Makefile (contents, props changed) head/devel/npm-source-map/distinfo (contents, props changed) head/devel/npm-source-map/pkg-descr (contents, props changed) head/devel/npm-source-map/pkg-plist (contents, props changed) head/www/npm-less-plugin-clean-css/ head/www/npm-less-plugin-clean-css/Makefile (contents, props changed) head/www/npm-less-plugin-clean-css/distinfo (contents, props changed) head/www/npm-less-plugin-clean-css/files/ head/www/npm-less-plugin-clean-css/files/patch-package.json (contents, props changed) head/www/npm-less-plugin-clean-css/pkg-descr (contents, props changed) head/www/npm-less-plugin-clean-css/pkg-plist (contents, props changed) Modified: head/devel/Makefile head/www/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon May 15 21:47:56 2017 (r440977) +++ head/devel/Makefile Mon May 15 22:05:46 2017 (r440978) @@ -1679,6 +1679,11 @@ SUBDIR += node-thrift SUBDIR += notify-sharp SUBDIR += noweb + SUBDIR += npm-amdefine + SUBDIR += npm-clean-css + SUBDIR += npm-commander + SUBDIR += npm-graceful-readlink + SUBDIR += npm-source-map SUBDIR += npth SUBDIR += nsgenbind SUBDIR += nspr Added: head/devel/npm-amdefine/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/npm-amdefine/Makefile Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,33 @@ +# Created by: Rodrigo Osorio <rodrigo@freebsd.org> +# $FreeBSD$ + +PORTNAME= npm-amdefine +PORTVERSION= 1.0.1 +CATEGORIES= devel www + +MAINTAINER= rodrigo@FreeBSD.org +COMMENT= Implementation of AMD's define() in Node + +LICENSE= APACHE20 + +BUILD_DEPENDS= npm>=0:www/npm +RUN_DEPENDS= npm>=0:www/npm + +USE_GITHUB= yes +GH_ACCOUNT= jrburke +GH_PROJECT= amdefine + +# npm install both builds and installs. To avoid building in the stage phase, +# allow npm to install in a temporary directory and move from there. +# Moreover, only a fraction of what is installed by npm needs to be packaged +do-build: + ${MKDIR} ${WRKDIR}/build-lib + (cd ${WRKDIR}/build-lib && \ + ${SETENV} HOME=${WRKDIR} npm install ${WRKSRC}) + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/node_modules/ && \ + ${MV} ${WRKDIR}/build-lib/node_modules/amdefine \ + ${STAGEDIR}${PREFIX}/lib/node_modules/ + +.include <bsd.port.mk> Added: head/devel/npm-amdefine/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/npm-amdefine/distinfo Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,3 @@ +TIMESTAMP = 1494693980 +SHA256 (jrburke-amdefine-1.0.1_GH0.tar.gz) = 871b0c46c6853d3ec71c3d3750fa50b5abdb41e661c76d0466a4f70b3ef12b56 +SIZE (jrburke-amdefine-1.0.1_GH0.tar.gz) = 96852 Added: head/devel/npm-amdefine/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/npm-amdefine/pkg-descr Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,5 @@ +Amdefine is a module that can be used to implement AMD's define() in Node. +This allows you to code to the AMD API and have the module work +in node programs without requiring those other programs to use AMD. + +WWW: https://github.com/jrburke/amdefine Added: head/devel/npm-amdefine/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/npm-amdefine/pkg-plist Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,5 @@ +lib/node_modules/amdefine/LICENSE +lib/node_modules/amdefine/README.md +lib/node_modules/amdefine/amdefine.js +lib/node_modules/amdefine/intercept.js +lib/node_modules/amdefine/package.json Added: head/devel/npm-clean-css/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/npm-clean-css/Makefile Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,36 @@ +# Created by: Rodrigo Osorio <rodrigo@freebsd.org> +# $FreeBSD$ + +PORTNAME= npm-clean-css +PORTVERSION= 4.1.1 +DISTVERSIONPREFIX= v +CATEGORIES= devel www + +MAINTAINER= rodrigo@FreeBSD.org +COMMENT= Fast and efficient CSS optimizer for node.js and the Web + +LICENSE= APACHE20 + +BUILD_DEPENDS= npm>=0:www/npm +RUN_DEPENDS= npm>=0:www/npm \ + ${LOCALBASE}/lib/node_modules/source-map/source-map.js:devel/npm-source-map \ + ${LOCALBASE}/lib/node_modules/commander/index.js:devel/npm-commander + +USE_GITHUB= yes +GH_ACCOUNT= jakubpawlowicz +GH_PROJECT= clean-css + +# npm install both builds and installs. To avoid building in the stage phase, +# allow npm to install in a temporary directory and move from there. +# Moreover, only a fraction of what is installed by npm needs to be packaged +do-build: + ${MKDIR} ${WRKDIR}/build-lib + (cd ${WRKDIR}/build-lib && \ + ${SETENV} HOME=${WRKDIR} npm install ${WRKSRC}) + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/node_modules/ && \ + ${MV} ${WRKDIR}/build-lib/node_modules/clean-css \ + ${STAGEDIR}${PREFIX}/lib/node_modules/ + +.include <bsd.port.mk> Added: head/devel/npm-clean-css/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/npm-clean-css/distinfo Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,3 @@ +TIMESTAMP = 1494371031 +SHA256 (jakubpawlowicz-clean-css-v4.1.1_GH0.tar.gz) = f4ba27d317288f647026e20e6cfb038ff404b2d8dc7660700d24d1afb953f50b +SIZE (jakubpawlowicz-clean-css-v4.1.1_GH0.tar.gz) = 364472 Added: head/devel/npm-clean-css/files/patch-package.json ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/npm-clean-css/files/patch-package.json Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,12 @@ +--- package.json.orig 2017-05-14 10:21:07 UTC ++++ package.json +@@ -30,9 +30,6 @@ + "prepublish": "npm run check", + "test": "vows" + }, +- "dependencies": { +- "source-map": "0.5.x" +- }, + "devDependencies": { + "browserify": "^14.0.0", + "http-proxy": "1.x", Added: head/devel/npm-clean-css/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/npm-clean-css/pkg-descr Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,4 @@ +Clean-css is a fast and efficient CSS optimizer for Node.js +platform and any modern browser. + +WWW: https://github.com/jakubpawlowicz/clean-css Added: head/devel/npm-clean-css/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/npm-clean-css/pkg-plist Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,99 @@ +lib/node_modules/clean-css/History.md +lib/node_modules/clean-css/LICENSE +lib/node_modules/clean-css/README.md +lib/node_modules/clean-css/index.js +lib/node_modules/clean-css/lib/clean.js +lib/node_modules/clean-css/lib/optimizer/hack.js +lib/node_modules/clean-css/lib/optimizer/level-0/optimize.js +lib/node_modules/clean-css/lib/optimizer/level-1/optimize.js +lib/node_modules/clean-css/lib/optimizer/level-1/shorten-hex.js +lib/node_modules/clean-css/lib/optimizer/level-1/shorten-hsl.js +lib/node_modules/clean-css/lib/optimizer/level-1/shorten-rgb.js +lib/node_modules/clean-css/lib/optimizer/level-1/sort-selectors.js +lib/node_modules/clean-css/lib/optimizer/level-1/tidy-at-rule.js +lib/node_modules/clean-css/lib/optimizer/level-1/tidy-block.js +lib/node_modules/clean-css/lib/optimizer/level-1/tidy-rules.js +lib/node_modules/clean-css/lib/optimizer/level-2/break-up.js +lib/node_modules/clean-css/lib/optimizer/level-2/can-override.js +lib/node_modules/clean-css/lib/optimizer/level-2/clone.js +lib/node_modules/clean-css/lib/optimizer/level-2/compactable.js +lib/node_modules/clean-css/lib/optimizer/level-2/extract-properties.js +lib/node_modules/clean-css/lib/optimizer/level-2/invalid-property-error.js +lib/node_modules/clean-css/lib/optimizer/level-2/is-mergeable.js +lib/node_modules/clean-css/lib/optimizer/level-2/merge-adjacent.js +lib/node_modules/clean-css/lib/optimizer/level-2/merge-media-queries.js +lib/node_modules/clean-css/lib/optimizer/level-2/merge-non-adjacent-by-body.js +lib/node_modules/clean-css/lib/optimizer/level-2/merge-non-adjacent-by-selector.js +lib/node_modules/clean-css/lib/optimizer/level-2/optimize.js +lib/node_modules/clean-css/lib/optimizer/level-2/properties/every-values-pair.js +lib/node_modules/clean-css/lib/optimizer/level-2/properties/find-component-in.js +lib/node_modules/clean-css/lib/optimizer/level-2/properties/has-inherit.js +lib/node_modules/clean-css/lib/optimizer/level-2/properties/is-component-of.js +lib/node_modules/clean-css/lib/optimizer/level-2/properties/is-mergeable-shorthand.js +lib/node_modules/clean-css/lib/optimizer/level-2/properties/merge-into-shorthands.js +lib/node_modules/clean-css/lib/optimizer/level-2/properties/optimize.js +lib/node_modules/clean-css/lib/optimizer/level-2/properties/override-properties.js +lib/node_modules/clean-css/lib/optimizer/level-2/properties/overrides-non-component-shorthand.js +lib/node_modules/clean-css/lib/optimizer/level-2/properties/populate-components.js +lib/node_modules/clean-css/lib/optimizer/level-2/properties/understandable.js +lib/node_modules/clean-css/lib/optimizer/level-2/properties/vendor-prefixes.js +lib/node_modules/clean-css/lib/optimizer/level-2/reduce-non-adjacent.js +lib/node_modules/clean-css/lib/optimizer/level-2/remove-duplicate-font-at-rules.js +lib/node_modules/clean-css/lib/optimizer/level-2/remove-duplicate-media-queries.js +lib/node_modules/clean-css/lib/optimizer/level-2/remove-duplicates.js +lib/node_modules/clean-css/lib/optimizer/level-2/remove-unused-at-rules.js +lib/node_modules/clean-css/lib/optimizer/level-2/reorderable.js +lib/node_modules/clean-css/lib/optimizer/level-2/restore-with-components.js +lib/node_modules/clean-css/lib/optimizer/level-2/restore.js +lib/node_modules/clean-css/lib/optimizer/level-2/restructure.js +lib/node_modules/clean-css/lib/optimizer/level-2/rules-overlap.js +lib/node_modules/clean-css/lib/optimizer/level-2/specificities-overlap.js +lib/node_modules/clean-css/lib/optimizer/level-2/specificity.js +lib/node_modules/clean-css/lib/optimizer/level-2/tidy-rule-duplicates.js +lib/node_modules/clean-css/lib/optimizer/remove-unused.js +lib/node_modules/clean-css/lib/optimizer/restore-from-optimizing.js +lib/node_modules/clean-css/lib/optimizer/validator.js +lib/node_modules/clean-css/lib/optimizer/wrap-for-optimizing.js +lib/node_modules/clean-css/lib/options/compatibility.js +lib/node_modules/clean-css/lib/options/fetch.js +lib/node_modules/clean-css/lib/options/format.js +lib/node_modules/clean-css/lib/options/inline-request.js +lib/node_modules/clean-css/lib/options/inline-timeout.js +lib/node_modules/clean-css/lib/options/inline.js +lib/node_modules/clean-css/lib/options/optimization-level.js +lib/node_modules/clean-css/lib/options/rebase-to.js +lib/node_modules/clean-css/lib/options/rebase.js +lib/node_modules/clean-css/lib/options/rounding-precision.js +lib/node_modules/clean-css/lib/reader/apply-source-maps.js +lib/node_modules/clean-css/lib/reader/extract-import-url-and-media.js +lib/node_modules/clean-css/lib/reader/input-source-map-tracker.js +lib/node_modules/clean-css/lib/reader/is-allowed-resource.js +lib/node_modules/clean-css/lib/reader/load-original-sources.js +lib/node_modules/clean-css/lib/reader/load-remote-resource.js +lib/node_modules/clean-css/lib/reader/match-data-uri.js +lib/node_modules/clean-css/lib/reader/normalize-path.js +lib/node_modules/clean-css/lib/reader/read-sources.js +lib/node_modules/clean-css/lib/reader/rebase-local-map.js +lib/node_modules/clean-css/lib/reader/rebase-remote-map.js +lib/node_modules/clean-css/lib/reader/rebase.js +lib/node_modules/clean-css/lib/reader/restore-import.js +lib/node_modules/clean-css/lib/reader/rewrite-url.js +lib/node_modules/clean-css/lib/tokenizer/marker.js +lib/node_modules/clean-css/lib/tokenizer/token.js +lib/node_modules/clean-css/lib/tokenizer/tokenize.js +lib/node_modules/clean-css/lib/utils/clone-array.js +lib/node_modules/clean-css/lib/utils/format-position.js +lib/node_modules/clean-css/lib/utils/has-protocol.js +lib/node_modules/clean-css/lib/utils/is-data-uri-resource.js +lib/node_modules/clean-css/lib/utils/is-http-resource.js +lib/node_modules/clean-css/lib/utils/is-https-resource.js +lib/node_modules/clean-css/lib/utils/is-import.js +lib/node_modules/clean-css/lib/utils/is-remote-resource.js +lib/node_modules/clean-css/lib/utils/natural-compare.js +lib/node_modules/clean-css/lib/utils/override.js +lib/node_modules/clean-css/lib/utils/split.js +lib/node_modules/clean-css/lib/writer/helpers.js +lib/node_modules/clean-css/lib/writer/one-time.js +lib/node_modules/clean-css/lib/writer/simple.js +lib/node_modules/clean-css/lib/writer/source-maps.js +lib/node_modules/clean-css/package.json Added: head/devel/npm-commander/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/npm-commander/Makefile Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,35 @@ +# Created by: Rodrigo Osorio <rodrigo@freebsd.org> +# $FreeBSD$ + +PORTNAME= npm-commander +PORTVERSION= 2.9.0 +DISTVERSIONPREFIX= v +CATEGORIES= devel www + +MAINTAINER= rodrigo@FreeBSD.org +COMMENT= node.js command-line interfaces made easy + +LICENSE= APACHE20 + +BUILD_DEPENDS= npm>=0:www/npm +RUN_DEPENDS= npm>=0:www/npm \ + ${LOCALBASE}/lib/node_modules/graceful-readlink/index.js:devel/npm-graceful-readlink + +USE_GITHUB= yes +GH_ACCOUNT= tj +GH_PROJECT= commander.js + +# npm install both builds and installs. To avoid building in the stage phase, +# allow npm to install in a temporary directory and move from there. +# Moreover, only a fraction of what is installed by npm needs to be packaged +do-build: + ${MKDIR} ${WRKDIR}/build-lib + (cd ${WRKDIR}/build-lib && \ + ${SETENV} HOME=${WRKDIR} npm install ${WRKSRC}) + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/node_modules/ && \ + ${MV} ${WRKDIR}/build-lib/node_modules/commander \ + ${STAGEDIR}${PREFIX}/lib/node_modules/ + +.include <bsd.port.mk> Added: head/devel/npm-commander/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/npm-commander/distinfo Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,3 @@ +TIMESTAMP = 1494694612 +SHA256 (tj-commander.js-v2.9.0_GH0.tar.gz) = 1cd5b48c22ae4f82b9e00ac11f7972bf8c7ea7fe5047cdb37949e672324fa3f3 +SIZE (tj-commander.js-v2.9.0_GH0.tar.gz) = 20399 Added: head/devel/npm-commander/files/patch-package.json ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/npm-commander/files/patch-package.json Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,12 @@ +--- package.json.orig 2015-10-13 15:20:01 UTC ++++ package.json +@@ -26,8 +26,5 @@ + }, + "files": [ + "index.js" +- ], +- "dependencies": { +- "graceful-readlink": ">= 1.0.0" +- } ++ ] + } Added: head/devel/npm-commander/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/npm-commander/pkg-descr Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,4 @@ +The complete solution for node.js command-line interfaces, +inspired by Ruby's commander. + +WWW: https://github.com/tj/commander.js Added: head/devel/npm-commander/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/npm-commander/pkg-plist Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,5 @@ +lib/node_modules/commander/History.md +lib/node_modules/commander/LICENSE +lib/node_modules/commander/Readme.md +lib/node_modules/commander/index.js +lib/node_modules/commander/package.json Added: head/devel/npm-graceful-readlink/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/npm-graceful-readlink/Makefile Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,33 @@ +# Created by: Rodrigo Osorio <rodrigo@freebsd.org> +# $FreeBSD$ + +PORTNAME= npm-graceful-readlink +PORTVERSION= 1.0.1 +CATEGORIES= devel www + +MAINTAINER= rodrigo@FreeBSD.org +COMMENT= Graceful fs.readlink + +LICENSE= APACHE20 + +BUILD_DEPENDS= npm>=0:www/npm +RUN_DEPENDS= npm>=0:www/npm + +USE_GITHUB= yes +GH_ACCOUNT= zhiyelee +GH_PROJECT= graceful-readlink + +# npm install both builds and installs. To avoid building in the stage phase, +# allow npm to install in a temporary directory and move from there. +# Moreover, only a fraction of what is installed by npm needs to be packaged +do-build: + ${MKDIR} ${WRKDIR}/build-lib + (cd ${WRKDIR}/build-lib && \ + ${SETENV} HOME=${WRKDIR} npm install ${WRKSRC}) + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/node_modules/ && \ + ${MV} ${WRKDIR}/build-lib/node_modules/graceful-readlink \ + ${STAGEDIR}${PREFIX}/lib/node_modules/ + +.include <bsd.port.mk> Added: head/devel/npm-graceful-readlink/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/npm-graceful-readlink/distinfo Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,3 @@ +TIMESTAMP = 1494800670 +SHA256 (zhiyelee-graceful-readlink-1.0.1_GH0.tar.gz) = 0ccfdba35b207e4720042136eb38ecb099f7c6be071a7bb54abb5a42d2f48570 +SIZE (zhiyelee-graceful-readlink-1.0.1_GH0.tar.gz) = 1892 Added: head/devel/npm-graceful-readlink/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/npm-graceful-readlink/pkg-descr Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,3 @@ +A graceful fs.readlink + +WWW: https://github.com/zhiyelee/graceful-readlink Added: head/devel/npm-graceful-readlink/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/npm-graceful-readlink/pkg-plist Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,6 @@ +lib/node_modules/graceful-readlink/.npmignore +lib/node_modules/graceful-readlink/.travis.yml +lib/node_modules/graceful-readlink/LICENSE +lib/node_modules/graceful-readlink/README.md +lib/node_modules/graceful-readlink/index.js +lib/node_modules/graceful-readlink/package.json Added: head/devel/npm-source-map/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/npm-source-map/Makefile Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,34 @@ +# Created by: Rodrigo Osorio <rodrigo@freebsd.org> +# $FreeBSD$ + +PORTNAME= npm-source-map +PORTVERSION= 0.5.6 +CATEGORIES= devel www + +MAINTAINER= rodrigo@FreeBSD.org +COMMENT= Parse and consume source maps + +LICENSE= APACHE20 + +BUILD_DEPENDS= npm>=0:www/npm +RUN_DEPENDS= npm>=0:www/npm \ + ${LOCALBASE}/lib/node_modules/amdefine/amdefine.js:devel/npm-amdefine + +USE_GITHUB= yes +GH_ACCOUNT= mozilla +GH_PROJECT= source-map + +# npm install both builds and installs. To avoid building in the stage phase, +# allow npm to install in a temporary directory and move from there. +# Moreover, only a fraction of what is installed by npm needs to be packaged +do-build: + ${MKDIR} ${WRKDIR}/build-lib + (cd ${WRKDIR}/build-lib && \ + ${SETENV} HOME=${WRKDIR} npm install ${WRKSRC}) + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/node_modules/ && \ + ${MV} ${WRKDIR}/build-lib/node_modules/source-map \ + ${STAGEDIR}${PREFIX}/lib/node_modules/ + +.include <bsd.port.mk> Added: head/devel/npm-source-map/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/npm-source-map/distinfo Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,3 @@ +TIMESTAMP = 1494450761 +SHA256 (mozilla-source-map-0.5.6_GH0.tar.gz) = 2e83783e20eb750c2c56e63027f3989c78f73c144975245c09b0545272095b43 +SIZE (mozilla-source-map-0.5.6_GH0.tar.gz) = 2637337 Added: head/devel/npm-source-map/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/npm-source-map/pkg-descr Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,3 @@ +Parse and consume source maps. + +WWW: https://github.com/mozilla/source-map Added: head/devel/npm-source-map/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/npm-source-map/pkg-plist Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,19 @@ +lib/node_modules/source-map/CHANGELOG.md +lib/node_modules/source-map/LICENSE +lib/node_modules/source-map/README.md +lib/node_modules/source-map/dist/source-map.debug.js +lib/node_modules/source-map/dist/source-map.js +lib/node_modules/source-map/dist/source-map.min.js +lib/node_modules/source-map/dist/source-map.min.js.map +lib/node_modules/source-map/lib/array-set.js +lib/node_modules/source-map/lib/base64-vlq.js +lib/node_modules/source-map/lib/base64.js +lib/node_modules/source-map/lib/binary-search.js +lib/node_modules/source-map/lib/mapping-list.js +lib/node_modules/source-map/lib/quick-sort.js +lib/node_modules/source-map/lib/source-map-consumer.js +lib/node_modules/source-map/lib/source-map-generator.js +lib/node_modules/source-map/lib/source-node.js +lib/node_modules/source-map/lib/util.js +lib/node_modules/source-map/package.json +lib/node_modules/source-map/source-map.js Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Mon May 15 21:47:56 2017 (r440977) +++ head/www/Makefile Mon May 15 22:05:46 2017 (r440978) @@ -547,6 +547,7 @@ SUBDIR += npm SUBDIR += npm2 SUBDIR += npm3 + SUBDIR += npm-less-plugin-clean-css SUBDIR += nspluginwrapper SUBDIR += nuvolaplayer-8tracks SUBDIR += nuvolaplayer-all-services Added: head/www/npm-less-plugin-clean-css/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/npm-less-plugin-clean-css/Makefile Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,36 @@ +# Created by: Rodrigo Osorio <rodrigo@freebsd.org> +# $FreeBSD$ + +PORTNAME= npm-less-plugin-clean-css +PORTVERSION= 20170503 +CATEGORIES= www devel + +MAINTAINER= rodrigo@FreeBSD.org +COMMENT= Compresses the css output from less using clean-css + +LICENSE= APACHE20 + +BUILD_DEPENDS= npm>=0:www/npm +RUN_DEPENDS= npm>=0:www/npm \ + ${LOCALBASE}/lib/node_modules/clean-css/index.js:devel/npm-clean-css \ + ${LOCALBASE}/bin/lessc:www/lessc + +USE_GITHUB= yes +GH_ACCOUNT= less +GH_TAGNAME= 19c7f4bfc7d1f30243f24944d44b794a407211fb +GH_PROJECT= less-plugin-clean-css + +# npm install both builds and installs. To avoid building in the stage phase, +# allow npm to install in a temporary directory and move from there. +# Moreover, only a fraction of what is installed by npm needs to be packaged +do-build: + ${MKDIR} ${WRKDIR}/build-lib + (cd ${WRKDIR}/build-lib && \ + ${SETENV} HOME=${WRKDIR} npm install ${WRKSRC}) + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/node_modules/ && \ + ${MV} ${WRKDIR}/build-lib/node_modules/less-plugin-clean-css \ + ${STAGEDIR}${PREFIX}/lib/node_modules/ + +.include <bsd.port.mk> Added: head/www/npm-less-plugin-clean-css/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/npm-less-plugin-clean-css/distinfo Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,3 @@ +TIMESTAMP = 1494337132 +SHA256 (less-less-plugin-clean-css-20170503-19c7f4bfc7d1f30243f24944d44b794a407211fb_GH0.tar.gz) = 7e55f25a051b4f54565fbaad7fbb587a939a719b2c5c635754c6e174c4f8ad3c +SIZE (less-less-plugin-clean-css-20170503-19c7f4bfc7d1f30243f24944d44b794a407211fb_GH0.tar.gz) = 6539 Added: head/www/npm-less-plugin-clean-css/files/patch-package.json ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/npm-less-plugin-clean-css/files/patch-package.json Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,12 @@ +--- package.json.orig 2017-05-14 10:36:05 UTC ++++ package.json +@@ -19,9 +19,6 @@ + "engines": { + "node": ">=0.10" + }, +- "dependencies": { +- "clean-css": "^3.0.1" +- }, + "keywords": [ + "less plugins", + "cleancss", Added: head/www/npm-less-plugin-clean-css/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/npm-less-plugin-clean-css/pkg-descr Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,3 @@ +clean-css compresses the css output from less using clean-css. + +WWW: https://github.com/less/less-plugin-clean-css Added: head/www/npm-less-plugin-clean-css/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/npm-less-plugin-clean-css/pkg-plist Mon May 15 22:05:46 2017 (r440978) @@ -0,0 +1,8 @@ +lib/node_modules/less-plugin-clean-css/.npmignore +lib/node_modules/less-plugin-clean-css/LICENSE +lib/node_modules/less-plugin-clean-css/README.md +lib/node_modules/less-plugin-clean-css/lib/clean-css-processor.js +lib/node_modules/less-plugin-clean-css/lib/index.js +lib/node_modules/less-plugin-clean-css/lib/parse-options.js +lib/node_modules/less-plugin-clean-css/lib/usage.js +lib/node_modules/less-plugin-clean-css/package.json
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705152205.v4FM5kIw055373>