From owner-svn-ports-all@freebsd.org Tue Jan 22 23:59:23 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BE20E14B3B58; Tue, 22 Jan 2019 23:59:23 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 63AA676E49; Tue, 22 Jan 2019 23:59:23 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4B0B48B31; Tue, 22 Jan 2019 23:59:23 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x0MNxNY2048636; Tue, 22 Jan 2019 23:59:23 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0MNxM9S048632; Tue, 22 Jan 2019 23:59:22 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201901222359.x0MNxM9S048632@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Tue, 22 Jan 2019 23:59:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r490993 - in head/textproc: . minify X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/textproc: . minify X-SVN-Commit-Revision: 490993 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 63AA676E49 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.97)[-0.966,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2019 23:59:24 -0000 Author: sunpoet Date: Tue Jan 22 23:59:22 2019 New Revision: 490993 URL: https://svnweb.freebsd.org/changeset/ports/490993 Log: Add 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, ...). WWW: https://github.com/tdewolff/minify Added: head/textproc/minify/ head/textproc/minify/Makefile (contents, props changed) head/textproc/minify/distinfo (contents, props changed) head/textproc/minify/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Tue Jan 22 23:46:12 2019 (r490992) +++ head/textproc/Makefile Tue Jan 22 23:59:22 2019 (r490993) @@ -504,6 +504,7 @@ SUBDIR += mi-aspell SUBDIR += mifluz SUBDIR += miller + SUBDIR += minify SUBDIR += minised SUBDIR += minixmlto SUBDIR += mk-aspell Added: head/textproc/minify/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/minify/Makefile Tue Jan 22 23:59:22 2019 (r490993) @@ -0,0 +1,34 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= minify +PORTVERSION= 2.3.8 +DISTVERSIONPREFIX= v +CATEGORIES= textproc www + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Go minifiers for web formats + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +USES= go + +GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT} +GO_TARGET= ${GO_PKGNAME}/cmd/${GH_PROJECT} + +PLIST_FILES= bin/minify + +GH_ACCOUNT= tdewolff +GH_TUPLE= dustin:go-humanize:v1.0.0:dustin_go_humanize/../src/github.com/dustin/go-humanize \ + fsnotify:fsnotify:v1.4.7:fsnotify_fsnotify/../src/github.com/fsnotify/fsnotify \ + golang:sys:770c602:golang_sys/../src/golang.org/x/sys \ + matryer:try:v1:matryer_try/../src/github.com/matryer/try \ + spf13:pflag:v1.0.3:spf13_pflag/../src/github.com/spf13/pflag \ + tdewolff:parse:v2.3.5:tdewolff_parse/../src/github.com/tdewolff/parse +USE_GITHUB= yes + +do-install: + ${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/minify ${STAGEDIR}${PREFIX}/bin/minify + +.include Added: head/textproc/minify/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/minify/distinfo Tue Jan 22 23:59:22 2019 (r490993) @@ -0,0 +1,15 @@ +TIMESTAMP = 1548102446 +SHA256 (tdewolff-minify-v2.3.8_GH0.tar.gz) = b767118737eda7c2aade905d2fdeaf78d707a8cd202a0624b24dd477091ba669 +SIZE (tdewolff-minify-v2.3.8_GH0.tar.gz) = 2125614 +SHA256 (dustin-go-humanize-v1.0.0_GH0.tar.gz) = e4540bd50ac855143b4f2e509313079c50cf5d8774f09cc10dbca5ae9803d8ba +SIZE (dustin-go-humanize-v1.0.0_GH0.tar.gz) = 17260 +SHA256 (fsnotify-fsnotify-v1.4.7_GH0.tar.gz) = b7530d973d0ab0e58ad8ce1b9a4b963d6f57b3d72f2f9e13d49846976361b1cd +SIZE (fsnotify-fsnotify-v1.4.7_GH0.tar.gz) = 31139 +SHA256 (golang-sys-770c602_GH0.tar.gz) = 7886385551f7097416028f612a9f2994d6aa9c9c913ef7ca949a030cce6909e2 +SIZE (golang-sys-770c602_GH0.tar.gz) = 1238669 +SHA256 (matryer-try-v1_GH0.tar.gz) = a01c6644fc2e1403a4489306a4fbca52dd3b2e1b6374e6a2f86f57fd430104be +SIZE (matryer-try-v1_GH0.tar.gz) = 2924 +SHA256 (spf13-pflag-v1.0.3_GH0.tar.gz) = 9e57f86f493f04d9077fccd04e7139ebf243dd544e917ab83d35729b3e54a124 +SIZE (spf13-pflag-v1.0.3_GH0.tar.gz) = 46002 +SHA256 (tdewolff-parse-v2.3.5_GH0.tar.gz) = e7d691607f6f53336af7c03a92ba24b78c709513b31a31e719620d4d2d07d813 +SIZE (tdewolff-parse-v2.3.5_GH0.tar.gz) = 75027 Added: head/textproc/minify/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/minify/pkg-descr Tue Jan 22 23:59:22 2019 (r490993) @@ -0,0 +1,14 @@ +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, ...). + +WWW: https://github.com/tdewolff/minify