Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2013 15:40:04 +0000 (UTC)
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r330891 - in head/www: . csso
Message-ID:  <201310191540.r9JFe4Db019924@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nivit
Date: Sat Oct 19 15:40:04 2013
New Revision: 330891
URL: http://svnweb.freebsd.org/changeset/ports/330891

Log:
  CSSO (CSS Optimizer) is a CSS minimizer unlike others. In addition to usual
  minification techniques it can perform structural optimization of CSS files,
  resulting in smaller file size compared to other minifiers.
  
  WWW: http://bem.info/tools/csso/
  
  Build logs:	https://redports.org/buildarchive/20131019150900-23459/

Added:
  head/www/csso/
  head/www/csso/Makefile   (contents, props changed)
  head/www/csso/distinfo   (contents, props changed)
  head/www/csso/pkg-descr   (contents, props changed)
  head/www/csso/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Sat Oct 19 15:36:32 2013	(r330890)
+++ head/www/Makefile	Sat Oct 19 15:40:04 2013	(r330891)
@@ -118,6 +118,7 @@
     SUBDIR += crp
     SUBDIR += css-mode.el
     SUBDIR += cssed
+    SUBDIR += csso
     SUBDIR += csstidy
     SUBDIR += ctemplate
     SUBDIR += cutycapt

Added: head/www/csso/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/csso/Makefile	Sat Oct 19 15:40:04 2013	(r330891)
@@ -0,0 +1,32 @@
+# Created by: Nicola Vitale <nivit@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	csso
+PORTVERSION=	1.3.9
+#PORTREVISION=	0
+CATEGORIES=	www
+MASTER_SITES=	http://nivit.altervista.org/FreeBSD/ports/distfiles/
+
+MAINTAINER=	nivit@FreeBSD.org
+COMMENT=	CSS optimizer
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	node:${PORTSDIR}/www/node
+
+GH_ACCOUNT=	css
+GH_COMMIT=	99ae4ad
+GH_TAGNAME=	v${PORTVERSION}
+
+NO_BUILD=	yes
+
+USE_GITHUB=	yes
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${DATADIR}/bin
+	${INSTALL_DATA} ${WRKSRC}/USAGE ${STAGEDIR}${DATADIR}/USAGE
+	${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${DATADIR}/bin/${PORTNAME}
+	${LN} -s ${STAGEDIR}${DATADIR}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/lib
+
+.include <bsd.port.mk>

Added: head/www/csso/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/csso/distinfo	Sat Oct 19 15:40:04 2013	(r330891)
@@ -0,0 +1,2 @@
+SHA256 (csso-1.3.9.tar.gz) = dda3e6d845929482d88d98572360120f76c7249256c0701ee995e77e260cacd3
+SIZE (csso-1.3.9.tar.gz) = 118023

Added: head/www/csso/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/csso/pkg-descr	Sat Oct 19 15:40:04 2013	(r330891)
@@ -0,0 +1,5 @@
+CSSO (CSS Optimizer) is a CSS minimizer unlike others. In addition to usual
+minification techniques it can perform structural optimization of CSS files,
+resulting in smaller file size compared to other minifiers.
+
+WWW: http://bem.info/tools/csso/

Added: head/www/csso/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/csso/pkg-plist	Sat Oct 19 15:40:04 2013	(r330891)
@@ -0,0 +1,12 @@
+bin/csso
+%%DATADIR%%/USAGE
+%%DATADIR%%/bin/csso
+%%DATADIR%%/lib/compressor.js
+%%DATADIR%%/lib/csso.js
+%%DATADIR%%/lib/cssoapi.js
+%%DATADIR%%/lib/gonzales.cssp.node.js
+%%DATADIR%%/lib/translator.js
+%%DATADIR%%/lib/util.js
+@dirrm %%DATADIR%%/lib
+@dirrm %%DATADIR%%/bin
+@dirrm %%DATADIR%%



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