Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2019 23:59:22 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r490993 - in head/textproc: . minify
Message-ID:  <201901222359.x0MNxM9S048632@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <sunpoet@FreeBSD.org>
+# $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 <bsd.port.mk>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901222359.x0MNxM9S048632>