aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
Diffstat (limited to 'archivers')
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/py-rcssmin/Makefile19
-rw-r--r--archivers/py-rcssmin/distinfo2
-rw-r--r--archivers/py-rcssmin/pkg-descr9
4 files changed, 31 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index cfd1837abe7d..a6f713c6d5ca 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -170,6 +170,7 @@
SUBDIR += py-pyliblzma
SUBDIR += py-python-snappy
SUBDIR += py-rarfile
+ SUBDIR += py-rcssmin
SUBDIR += py-warctools
SUBDIR += py3-libarchive-c
SUBDIR += qpress
diff --git a/archivers/py-rcssmin/Makefile b/archivers/py-rcssmin/Makefile
new file mode 100644
index 000000000000..dc4f6e6fc298
--- /dev/null
+++ b/archivers/py-rcssmin/Makefile
@@ -0,0 +1,19 @@
+# Created by: Ultima <ultima1252@gmail.com>
+# $FreeBSD$
+
+PORTNAME= rcssmin
+PORTVERSION= 1.0.6
+CATEGORIES= archivers python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ultima1252@gmail.com
+COMMENT= Fast CSS minifier for Python
+
+LICENSE= APACHE20
+
+USES= python
+USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/archivers/py-rcssmin/distinfo b/archivers/py-rcssmin/distinfo
new file mode 100644
index 000000000000..1815c9cc1857
--- /dev/null
+++ b/archivers/py-rcssmin/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rcssmin-1.0.6.tar.gz) = ca87b695d3d7864157773a61263e5abb96006e9ff0e021eff90cbe0e1ba18270
+SIZE (rcssmin-1.0.6.tar.gz) = 582894
diff --git a/archivers/py-rcssmin/pkg-descr b/archivers/py-rcssmin/pkg-descr
new file mode 100644
index 000000000000..ffeafa243fa1
--- /dev/null
+++ b/archivers/py-rcssmin/pkg-descr
@@ -0,0 +1,9 @@
+This module is a re-implementation aiming for speed instead of maximum
+compression, so it can be used at runtime (rather than during a
+preprocessing step). RCSSmin does syntactical compression only (removing
+spaces, comments and possibly semicolons). It does not provide semantic
+compression (like removing empty blocks, collapsing redundant properties
+etc). It does, however, support various CSS hacks (by keeping them
+working as intended).
+
+WWW: https://github.com/ndparker/rcssmin