pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/go-minify www/go-minify: import go-minify-2.3.8
details: https://anonhg.NetBSD.org/pkgsrc/rev/57469732a1b1
branches: trunk
changeset: 325472:57469732a1b1
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Sun Nov 18 08:40:17 2018 +0000
description:
www/go-minify: import go-minify-2.3.8
Minify is a minifier package written in Go. It provides HTML5,
CSS3, JS, JSON, SVG and XML minifiers and an interface to implement
any other minifier. Minification is the process of removing bytes
from a file (such as whitespace) without changing its output and
therefore shrinking its size and speeding up transmission over the
internet and possibly parsing. The implemented minifiers are designed
for high performance.
The core functionality associates mimetypes with minification
functions, allowing embedded resources (like CSS or JS within HTML
files) to be minified as well. Users can add new implementations
that are triggered based on a mimetype (or pattern), or redirect
to an external command (like ClosureCompiler, UglifyCSS, ...).
diffstat:
www/go-minify/DESCR | 13 +++++++
www/go-minify/Makefile | 25 ++++++++++++++
www/go-minify/PLIST | 77 +++++++++++++++++++++++++++++++++++++++++++++
www/go-minify/buildlink3.mk | 16 +++++++++
www/go-minify/distinfo | 6 +++
5 files changed, 137 insertions(+), 0 deletions(-)
diffs (157 lines):
diff -r 33adface0625 -r 57469732a1b1 www/go-minify/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/go-minify/DESCR Sun Nov 18 08:40:17 2018 +0000
@@ -0,0 +1,13 @@
+Minify is a minifier package written in Go. It provides HTML5,
+CSS3, JS, JSON, SVG and XML minifiers and an interface to implement
+any other minifier. Minification is the process of removing bytes
+from a file (such as whitespace) without changing its output and
+therefore shrinking its size and speeding up transmission over the
+internet and possibly parsing. The implemented minifiers are designed
+for high performance.
+
+The core functionality associates mimetypes with minification
+functions, allowing embedded resources (like CSS or JS within HTML
+files) to be minified as well. Users can add new implementations
+that are triggered based on a mimetype (or pattern), or redirect
+to an external command (like ClosureCompiler, UglifyCSS, ...).
diff -r 33adface0625 -r 57469732a1b1 www/go-minify/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/go-minify/Makefile Sun Nov 18 08:40:17 2018 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2018/11/18 08:40:17 ryoon Exp $
+
+DISTNAME= minify-2.3.8
+PKGNAME= go-${DISTNAME}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=tdewolff/}
+CATEGORIES= www
+GITHUB_PROJECT= minify
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/tdewolff/minify
+COMMENT= Go minifiers for web formats
+LICENSE= mit
+
+GO_DIST_BASE= ${DISTNAME}
+GO_SRCPATH= github.com/tdewolff/minify
+
+.include "../../www/go-parse/buildlink3.mk"
+.include "../../devel/go-humanize/buildlink3.mk"
+.include "../../devel/go-fsnotify/buildlink3.mk"
+.include "../../devel/go-try/buildlink3.mk"
+.include "../../devel/go-pflag/buildlink3.mk"
+.include "../../devel/go-sys/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 33adface0625 -r 57469732a1b1 www/go-minify/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/go-minify/PLIST Sun Nov 18 08:40:17 2018 +0000
@@ -0,0 +1,77 @@
+@comment $NetBSD: PLIST,v 1.1 2018/11/18 08:40:17 ryoon Exp $
+bin/minify
+gopkg/pkg/${GO_PLATFORM}/github.com/tdewolff/minify.a
+gopkg/pkg/${GO_PLATFORM}/github.com/tdewolff/minify/css.a
+gopkg/pkg/${GO_PLATFORM}/github.com/tdewolff/minify/html.a
+gopkg/pkg/${GO_PLATFORM}/github.com/tdewolff/minify/js.a
+gopkg/pkg/${GO_PLATFORM}/github.com/tdewolff/minify/json.a
+gopkg/pkg/${GO_PLATFORM}/github.com/tdewolff/minify/svg.a
+gopkg/pkg/${GO_PLATFORM}/github.com/tdewolff/minify/xml.a
+gopkg/src/github.com/tdewolff/minify/LICENSE.md
+gopkg/src/github.com/tdewolff/minify/README.md
+gopkg/src/github.com/tdewolff/minify/benchmarks/css_test.go
+gopkg/src/github.com/tdewolff/minify/benchmarks/html_test.go
+gopkg/src/github.com/tdewolff/minify/benchmarks/js_test.go
+gopkg/src/github.com/tdewolff/minify/benchmarks/json_test.go
+gopkg/src/github.com/tdewolff/minify/benchmarks/main_test.go
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_ace.js
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_amazon.html
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_arctic.svg
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_bbc.html
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_blogpost.html
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_books.xml
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_bootstrap.css
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_catalog.xml
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_dot.js
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_es6.html
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_fontawesome.css
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_gopher.svg
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_gumby.css
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_jquery.js
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_jqueryui.js
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_large.json
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_moment.js
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_normalize.css
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_omg.xml
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_stackoverflow.html
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_testsuite.json
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_twitter.json
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_usa.svg
+gopkg/src/github.com/tdewolff/minify/benchmarks/sample_wikipedia.html
+gopkg/src/github.com/tdewolff/minify/benchmarks/svg_test.go
+gopkg/src/github.com/tdewolff/minify/benchmarks/xml_test.go
+gopkg/src/github.com/tdewolff/minify/cmd/minify/README.md
+gopkg/src/github.com/tdewolff/minify/cmd/minify/main.go
+gopkg/src/github.com/tdewolff/minify/cmd/minify/minify_bash_tab_completion
+gopkg/src/github.com/tdewolff/minify/cmd/minify/util.go
+gopkg/src/github.com/tdewolff/minify/cmd/minify/util_test.go
+gopkg/src/github.com/tdewolff/minify/cmd/minify/watch.go
+gopkg/src/github.com/tdewolff/minify/common.go
+gopkg/src/github.com/tdewolff/minify/common_test.go
+gopkg/src/github.com/tdewolff/minify/css/css.go
+gopkg/src/github.com/tdewolff/minify/css/css_test.go
+gopkg/src/github.com/tdewolff/minify/css/table.go
+gopkg/src/github.com/tdewolff/minify/go.mod
+gopkg/src/github.com/tdewolff/minify/go.sum
+gopkg/src/github.com/tdewolff/minify/html/buffer.go
+gopkg/src/github.com/tdewolff/minify/html/buffer_test.go
+gopkg/src/github.com/tdewolff/minify/html/html.go
+gopkg/src/github.com/tdewolff/minify/html/html_test.go
+gopkg/src/github.com/tdewolff/minify/html/table.go
+gopkg/src/github.com/tdewolff/minify/js/js.go
+gopkg/src/github.com/tdewolff/minify/js/js_test.go
+gopkg/src/github.com/tdewolff/minify/json/json.go
+gopkg/src/github.com/tdewolff/minify/json/json_test.go
+gopkg/src/github.com/tdewolff/minify/minify.go
+gopkg/src/github.com/tdewolff/minify/minify_test.go
+gopkg/src/github.com/tdewolff/minify/svg/buffer.go
+gopkg/src/github.com/tdewolff/minify/svg/buffer_test.go
+gopkg/src/github.com/tdewolff/minify/svg/pathdata.go
+gopkg/src/github.com/tdewolff/minify/svg/pathdata_test.go
+gopkg/src/github.com/tdewolff/minify/svg/svg.go
+gopkg/src/github.com/tdewolff/minify/svg/svg_test.go
+gopkg/src/github.com/tdewolff/minify/svg/table.go
+gopkg/src/github.com/tdewolff/minify/xml/buffer.go
+gopkg/src/github.com/tdewolff/minify/xml/buffer_test.go
+gopkg/src/github.com/tdewolff/minify/xml/xml.go
+gopkg/src/github.com/tdewolff/minify/xml/xml_test.go
diff -r 33adface0625 -r 57469732a1b1 www/go-minify/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/go-minify/buildlink3.mk Sun Nov 18 08:40:17 2018 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/11/18 08:40:17 ryoon Exp $
+
+BUILDLINK_TREE+= go-minify
+
+.if !defined(GO_MINIFY_BUILDLINK3_MK)
+GO_MINIFY_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-minify= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-minify?= build
+
+BUILDLINK_API_DEPENDS.go-minify+= go-minify>=2.3.5
+BUILDLINK_PKGSRCDIR.go-minify?= ../../www/go-minify
+
+.endif # GO_MINIFY_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-minify
diff -r 33adface0625 -r 57469732a1b1 www/go-minify/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/go-minify/distinfo Sun Nov 18 08:40:17 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/11/18 08:40:17 ryoon Exp $
+
+SHA1 (minify-2.3.8.tar.gz) = ca6c3e5820b83f32dc0d06ce32c27a4252f4d142
+RMD160 (minify-2.3.8.tar.gz) = 2b84a1aa4ca19e0065bda932096bfca497b3b582
+SHA512 (minify-2.3.8.tar.gz) = dced371cb18a7b69048a5c2fbb6df4bd9143e11f7d346c8378c819a8dd6dc810e2090c340a7d26ddaae0208578c92a307d534170a57fd9ff36093c19576803dd
+Size (minify-2.3.8.tar.gz) = 2125614 bytes
Home |
Main Index |
Thread Index |
Old Index