diff options
author | stefan <stefan@FreeBSD.org> | 2006-06-21 01:14:33 +0800 |
---|---|---|
committer | stefan <stefan@FreeBSD.org> | 2006-06-21 01:14:33 +0800 |
commit | ca5bffd0b06efe48b9153a869e7d7abf565f4815 (patch) | |
tree | 653f210fd1bc45c3e45ff9c1307f163e645b9ba1 /www/py-slimmer | |
parent | d5264740ddf2144aa85ca33c5bc2f704ee72c5e5 (diff) | |
download | freebsd-ports-gnome-ca5bffd0b06efe48b9153a869e7d7abf565f4815.tar.gz freebsd-ports-gnome-ca5bffd0b06efe48b9153a869e7d7abf565f4815.tar.zst freebsd-ports-gnome-ca5bffd0b06efe48b9153a869e7d7abf565f4815.zip |
Add py-slimmer, a Python script to remove redundant info (whitespaces,
comments, etc.) from XHTML, HTML and CSS. Useful in build systems to
pre-compress static content in production.
PR: 97668
Submitted by: Corey Smith <corsmith@gmail.com>
Approved by: arved (mentor)
Diffstat (limited to 'www/py-slimmer')
-rw-r--r-- | www/py-slimmer/Makefile | 27 | ||||
-rw-r--r-- | www/py-slimmer/distinfo | 3 | ||||
-rw-r--r-- | www/py-slimmer/pkg-descr | 5 |
3 files changed, 35 insertions, 0 deletions
diff --git a/www/py-slimmer/Makefile b/www/py-slimmer/Makefile new file mode 100644 index 000000000000..f10f8ff7c269 --- /dev/null +++ b/www/py-slimmer/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: py-slimmer +# Date created: 22 May 2006 +# Whom: Corey Smith +# +# $FreeBSD$ +# + +PORTNAME= slimmer +PORTVERSION= 0.1.21 +CATEGORIES= www python +MASTER_SITES= http://www.issuetrackerproduct.com/Download/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +EXTRACT_SUFX= .tgz + +MAINTAINER= corsmith@gmail.com +COMMENT= A whitespace optimizer for CSS, HTML and XHTML output + +WRKSRC= ${WRKDIR}/slimmer + +USE_PYTHON= yes +USE_PYDISTUTILS=yes + +PLIST_FILES= %%PYTHON_SITELIBDIR%%/slimmer.py \ + %%PYTHON_SITELIBDIR%%/slimmer.pyc \ + %%PYTHON_SITELIBDIR%%/slimmer.pyo + +.include <bsd.port.mk> diff --git a/www/py-slimmer/distinfo b/www/py-slimmer/distinfo new file mode 100644 index 000000000000..e93ffa368516 --- /dev/null +++ b/www/py-slimmer/distinfo @@ -0,0 +1,3 @@ +MD5 (slimmer-0.1.21.tgz) = 31cc521d4cb1a1f011d8973560c6f801 +SHA256 (slimmer-0.1.21.tgz) = 3be7f303b89d8b545f62c0bc4e6b5b996dbeb94406f0aa0846f1d6cff2173bc8 +SIZE (slimmer-0.1.21.tgz) = 15175 diff --git a/www/py-slimmer/pkg-descr b/www/py-slimmer/pkg-descr new file mode 100644 index 000000000000..1e3cb197cf49 --- /dev/null +++ b/www/py-slimmer/pkg-descr @@ -0,0 +1,5 @@ +Python script to remove redundant info (whitespaces, comments, etc...) from +XHTML, HTML and CSS. Useful in build systems to pre-compress static content +in production. + +WWW: http://www.issuetrackerproduct.com/Documentation#slimmer |