diff options
| author | la-ninpre <aaoth@aaoth.xyz> | 2023-05-03 17:40:34 +0300 |
|---|---|---|
| committer | la-ninpre <aaoth@aaoth.xyz> | 2023-05-03 17:40:34 +0300 |
| commit | 0fa2b14b3130a82ef218fc249c203b6c22798056 (patch) | |
| tree | c21aae7db63c77ca4257858fb03c4d6ebd4087ff | |
| parent | 4c5117bd09b8c44fb21c10b68eb692346cbeaff8 (diff) | |
| download | ports-0fa2b14b3130a82ef218fc249c203b6c22798056.tar.gz ports-0fa2b14b3130a82ef218fc249c203b6c22798056.zip | |
textproc/minify: add 2.12.5
| -rw-r--r-- | textproc/minify/Makefile | 25 | ||||
| -rw-r--r-- | textproc/minify/distinfo | 38 | ||||
| -rw-r--r-- | textproc/minify/modules.inc | 11 | ||||
| -rw-r--r-- | textproc/minify/pkg/DESCR | 11 | ||||
| -rw-r--r-- | textproc/minify/pkg/PLIST | 1 |
5 files changed, 86 insertions, 0 deletions
diff --git a/textproc/minify/Makefile b/textproc/minify/Makefile new file mode 100644 index 0000000..eb9700a --- /dev/null +++ b/textproc/minify/Makefile @@ -0,0 +1,25 @@ +COMMENT = minifier for web formats + +DISTNAME = minify-${MODGO_VERSION} + +CATEGORIES = textproc + +HOMEPAGE = https://go.tacodewolff.nl/minify + +MAINTAINER = la ninpre <aaoth@aaoth.xyz> + +# MIT +PERMIT_PACKAGE = Yes + +WANTLIB += c pthread + +MODGO_MODNAME = github.com/tdewolff/minify/v2 +MODGO_VERSION = v2.12.5 +MODGO_LDFLAGS += -X main.Version="${MODGO_VERSION}" +MODULES = lang/go + +ALL_TARGET = ${MODGO_MODNAME}/cmd/minify + +.include "modules.inc" + +.include <bsd.port.mk> diff --git a/textproc/minify/distinfo b/textproc/minify/distinfo new file mode 100644 index 0000000..7fc46d0 --- /dev/null +++ b/textproc/minify/distinfo @@ -0,0 +1,38 @@ +SHA256 (go_modules/github.com/cheekybits/is/@v/v0.0.0-20150225183255-68e9c0620927.mod) = wo1aGMOmDgJ++Tmy/juUYTaa7qDjgoEuKX1jE40yIGM= +SHA256 (go_modules/github.com/cheekybits/is/@v/v0.0.0-20150225183255-68e9c0620927.zip) = 97+axbH8V071o3M4KQmvVQ7xp/ARgkaeqhLhjHxfx8s= +SHA256 (go_modules/github.com/djherbis/atime/@v/v1.1.0.mod) = eeTo1yaP0hOZYOMTL2GJFTpskpSMtwZRii7NChkrb6I= +SHA256 (go_modules/github.com/djherbis/atime/@v/v1.1.0.zip) = GVzrzOttdjKPXl03MVS1xGpqm/ayeoj5wBWCdqB8fEE= +SHA256 (go_modules/github.com/dustin/go-humanize/@v/v1.0.1.mod) = QyWZnQpoQQMSWKJWHCKHnZ+993q8azKhexy27fCBD7I= +SHA256 (go_modules/github.com/dustin/go-humanize/@v/v1.0.1.zip) = MZQE6oTIpOLT2D8wmIsAbn3QSXbePhoakEhK2UZ5+kY= +SHA256 (go_modules/github.com/fsnotify/fsnotify/@v/v1.6.0.mod) = g79R/WDCioETn4QYnHuj6diP280g+v1YOSy3ZQGmGmQ= +SHA256 (go_modules/github.com/fsnotify/fsnotify/@v/v1.6.0.zip) = fUQI8S/8OBBuNYJERGhRooB37YDjwJQOmODjMrPtQ6s= +SHA256 (go_modules/github.com/matryer/try/@v/v0.0.0-20161228173917-9ac251b645a2.mod) = +lQkkRIwBSxVJNkPtoJri3Ba4U9qdmzdDHx0E+EhXNE= +SHA256 (go_modules/github.com/matryer/try/@v/v0.0.0-20161228173917-9ac251b645a2.zip) = 8a+jakvQvwmhKQ86/vlUBY4zTWsnWq5qWR2NrSdvXi8= +SHA256 (go_modules/github.com/spf13/pflag/@v/v1.0.5.mod) = FsbfwOtY6zyRE84ZfUYMZyXGR+RoisJtMcjtafHrvGg= +SHA256 (go_modules/github.com/spf13/pflag/@v/v1.0.5.zip) = /G5wTy9qhN3Nzm3gQE5TQPogyGdhgb9dOBsXiIEHuoQ= +SHA256 (go_modules/github.com/tdewolff/parse/v2/@v/v2.6.5.mod) = a1woS+NCCtGbfGAk6ZMyEqPTShal6JzrezGvMiwclb0= +SHA256 (go_modules/github.com/tdewolff/parse/v2/@v/v2.6.5.zip) = R8mlikeFVpOONMS5n0AgWmVnP26J8rpBvVpe8D3dCLU= +SHA256 (go_modules/github.com/tdewolff/test/@v/v1.0.7.mod) = wqX9LTkh+DUgtd0Jn6IPouMxmxHCOnP9yzMf/wVrBEA= +SHA256 (go_modules/github.com/tdewolff/test/@v/v1.0.7.zip) = JJhOhdYVu2gvVHB97FiThc7U1tPNlognuyW0hqSz7pc= +SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-20220908164124-27713097b956.mod) = 8DMzMJb+GY8xUd7tk/LeunTlC7/nc5E0BFvDt85KUCQ= +SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-20220908164124-27713097b956.zip) = 9cuK8StrJ4ROppnTu+6vWvrWdjf2e33Fd1leLzAKOu0= +SHA256 (minify-v2.12.5.zip) = qtdc7WrMKamaRLtZnn0ebUcYa7/2oidnFsOThHVTg44= +SIZE (go_modules/github.com/cheekybits/is/@v/v0.0.0-20150225183255-68e9c0620927.mod) = 32 +SIZE (go_modules/github.com/cheekybits/is/@v/v0.0.0-20150225183255-68e9c0620927.zip) = 7535 +SIZE (go_modules/github.com/djherbis/atime/@v/v1.1.0.mod) = 42 +SIZE (go_modules/github.com/djherbis/atime/@v/v1.1.0.zip) = 8732 +SIZE (go_modules/github.com/dustin/go-humanize/@v/v1.0.1.mod) = 46 +SIZE (go_modules/github.com/dustin/go-humanize/@v/v1.0.1.zip) = 27015 +SIZE (go_modules/github.com/fsnotify/fsnotify/@v/v1.6.0.mod) = 306 +SIZE (go_modules/github.com/fsnotify/fsnotify/@v/v1.6.0.zip) = 72788 +SIZE (go_modules/github.com/matryer/try/@v/v0.0.0-20161228173917-9ac251b645a2.mod) = 30 +SIZE (go_modules/github.com/matryer/try/@v/v0.0.0-20161228173917-9ac251b645a2.zip) = 4444 +SIZE (go_modules/github.com/spf13/pflag/@v/v1.0.5.mod) = 39 +SIZE (go_modules/github.com/spf13/pflag/@v/v1.0.5.zip) = 88931 +SIZE (go_modules/github.com/tdewolff/parse/v2/@v/v2.6.5.mod) = 86 +SIZE (go_modules/github.com/tdewolff/parse/v2/@v/v2.6.5.zip) = 138446 +SIZE (go_modules/github.com/tdewolff/test/@v/v1.0.7.mod) = 41 +SIZE (go_modules/github.com/tdewolff/test/@v/v1.0.7.zip) = 3926 +SIZE (go_modules/golang.org/x/sys/@v/v0.0.0-20220908164124-27713097b956.mod) = 33 +SIZE (go_modules/golang.org/x/sys/@v/v0.0.0-20220908164124-27713097b956.zip) = 1816840 +SIZE (minify-v2.12.5.zip) = 7092227 diff --git a/textproc/minify/modules.inc b/textproc/minify/modules.inc new file mode 100644 index 0000000..2b71f05 --- /dev/null +++ b/textproc/minify/modules.inc @@ -0,0 +1,11 @@ +MODGO_MODULES = \ + github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927 \ + github.com/djherbis/atime v1.1.0 \ + github.com/dustin/go-humanize v1.0.1 \ + github.com/fsnotify/fsnotify v1.6.0 \ + github.com/matryer/try v0.0.0-20161228173917-9ac251b645a2 \ + github.com/spf13/pflag v1.0.5 \ + github.com/tdewolff/parse/v2 v2.6.5 \ + github.com/tdewolff/test v1.0.7 \ + golang.org/x/sys v0.0.0-20220908164124-27713097b956 + diff --git a/textproc/minify/pkg/DESCR b/textproc/minify/pkg/DESCR new file mode 100644 index 0000000..552557a --- /dev/null +++ b/textproc/minify/pkg/DESCR @@ -0,0 +1,11 @@ +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. diff --git a/textproc/minify/pkg/PLIST b/textproc/minify/pkg/PLIST new file mode 100644 index 0000000..5f837d4 --- /dev/null +++ b/textproc/minify/pkg/PLIST @@ -0,0 +1 @@ +@bin bin/minify |
