From 3bc720dfd2503b5266ec1a1283bcadfa9d21928e Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Sat, 16 Apr 2016 17:31:35 +0000 Subject: [PATCH] New port: archivers/py-rjsmin rJSmin is a javascript minifier written in python. The minifier is based on the semantics of jsmin.c by Douglas Crockford. The module is a re-implementation aiming for speed, so it can be used at runtime (rather than during a preprocessing step). Usually it produces the same results as the original jsmin.c. WWW: https://github.com/ndparker/rjsmin PR: 208834 Submitted by: Ultima1252@gmail.com --- archivers/Makefile | 1 + archivers/py-rjsmin/Makefile | 19 +++++++++++++++++++ archivers/py-rjsmin/distinfo | 2 ++ archivers/py-rjsmin/pkg-descr | 7 +++++++ 4 files changed, 29 insertions(+) create mode 100644 archivers/py-rjsmin/Makefile create mode 100644 archivers/py-rjsmin/distinfo create mode 100644 archivers/py-rjsmin/pkg-descr diff --git a/archivers/Makefile b/archivers/Makefile index a6f713c6d5ca..b9c0fafe17b1 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -171,6 +171,7 @@ SUBDIR += py-python-snappy SUBDIR += py-rarfile SUBDIR += py-rcssmin + SUBDIR += py-rjsmin SUBDIR += py-warctools SUBDIR += py3-libarchive-c SUBDIR += qpress diff --git a/archivers/py-rjsmin/Makefile b/archivers/py-rjsmin/Makefile new file mode 100644 index 000000000000..c657a8e08b6c --- /dev/null +++ b/archivers/py-rjsmin/Makefile @@ -0,0 +1,19 @@ +# Created by: Ultima +# $FreeBSD$ + +PORTNAME= rjsmin +PORTVERSION= 1.0.12 +CATEGORIES= archivers python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ultima1252@gmail.com +COMMENT= Fast javascript minifier for Python + +LICENSE= APACHE20 + +USES= python +USE_PYTHON= autoplist distutils +NO_ARCH= yes + +.include diff --git a/archivers/py-rjsmin/distinfo b/archivers/py-rjsmin/distinfo new file mode 100644 index 000000000000..a04a2195e664 --- /dev/null +++ b/archivers/py-rjsmin/distinfo @@ -0,0 +1,2 @@ +SHA256 (rjsmin-1.0.12.tar.gz) = dd9591aa73500b08b7db24367f8d32c6470021f39d5ab4e50c7c02e4401386f1 +SIZE (rjsmin-1.0.12.tar.gz) = 446822 diff --git a/archivers/py-rjsmin/pkg-descr b/archivers/py-rjsmin/pkg-descr new file mode 100644 index 000000000000..751a826d4cfb --- /dev/null +++ b/archivers/py-rjsmin/pkg-descr @@ -0,0 +1,7 @@ +rJSmin is a javascript minifier written in python. The minifier is based +on the semantics of jsmin.c by Douglas Crockford. The module is a +re-implementation aiming for speed, so it can be used at runtime +(rather than during a preprocessing step). Usually it produces the same +results as the original jsmin.c. + +WWW: https://github.com/ndparker/rjsmin