aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorshaun <shaun@FreeBSD.org>2017-04-12 10:32:08 +0800
committershaun <shaun@FreeBSD.org>2017-04-12 10:32:08 +0800
commitb2f5f94164a06fc3a2d65702a1c526a3dde98fa0 (patch)
tree41a296220088429b4f9a23fdb2f00911752e01e2 /devel
parentba83797d33567d4e9afde3a49b3a678fecc5c7f5 (diff)
downloadfreebsd-ports-gnome-b2f5f94164a06fc3a2d65702a1c526a3dde98fa0.tar.gz
freebsd-ports-gnome-b2f5f94164a06fc3a2d65702a1c526a3dde98fa0.tar.zst
freebsd-ports-gnome-b2f5f94164a06fc3a2d65702a1c526a3dde98fa0.zip
New port: JavaScript unobfuscator and beautifier.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-jsbeautifier/Makefile22
-rw-r--r--devel/py-jsbeautifier/distinfo3
-rw-r--r--devel/py-jsbeautifier/pkg-descr4
4 files changed, 30 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 725bb5f1e980..6e06b0c01ef6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4369,6 +4369,7 @@
SUBDIR += py-jira
SUBDIR += py-jmespath
SUBDIR += py-joblib
+ SUBDIR += py-jsbeautifier
SUBDIR += py-jsmin
SUBDIR += py-json-py
SUBDIR += py-json-sempai
diff --git a/devel/py-jsbeautifier/Makefile b/devel/py-jsbeautifier/Makefile
new file mode 100644
index 000000000000..bade3af9cf83
--- /dev/null
+++ b/devel/py-jsbeautifier/Makefile
@@ -0,0 +1,22 @@
+# Created by: Shaun Amott <shaun@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= jsbeautifier
+PORTVERSION= 1.6.12
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= shaun@FreeBSD.org
+COMMENT= JavaScript unobfuscator and beautifier
+
+LICENSE= MIT
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.6.1:devel/py-six \
+ ${PYTHON_PKGNAMEPREFIX}editorconfig>=0.12.0:editors/py-editorconfig
+
+USES?= python
+USE_PYTHON= distutils autoplist
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-jsbeautifier/distinfo b/devel/py-jsbeautifier/distinfo
new file mode 100644
index 000000000000..1dd7e3186b0b
--- /dev/null
+++ b/devel/py-jsbeautifier/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1491952862
+SHA256 (jsbeautifier-1.6.12.tar.gz) = 64a8f205c9cfd7e30888ed4da23237dcee9c300c871df84463ea2bb251495f5d
+SIZE (jsbeautifier-1.6.12.tar.gz) = 55636
diff --git a/devel/py-jsbeautifier/pkg-descr b/devel/py-jsbeautifier/pkg-descr
new file mode 100644
index 000000000000..9f913e855ffb
--- /dev/null
+++ b/devel/py-jsbeautifier/pkg-descr
@@ -0,0 +1,4 @@
+Beautify, unpack or deobfuscate JavaScript. Handles popular online
+obfuscators.
+
+WWW: http://jsbeautifier.org/