aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2011-01-12 03:08:40 +0800
committerbapt <bapt@FreeBSD.org>2011-01-12 03:08:40 +0800
commitcf3d0faa3181c1123d938b00bf7e51d89c9ed4b2 (patch)
tree3b3ddf4c877d2e5a7ecb070f1fd53a5011aa6d23 /www
parent4ba176101a10ffc5cb20438c8ddf84007cce51b2 (diff)
downloadfreebsd-ports-gnome-cf3d0faa3181c1123d938b00bf7e51d89c9ed4b2.tar.gz
freebsd-ports-gnome-cf3d0faa3181c1123d938b00bf7e51d89c9ed4b2.tar.zst
freebsd-ports-gnome-cf3d0faa3181c1123d938b00bf7e51d89c9ed4b2.zip
Add closure-linter 2.2.6, javaScript linter.
The Closure Linter enforces the guidelines set by the Google JavaScript Style Guide. The linter handles style issues so that you can focus on the code. WWW: http://code.google.com/p/closure-linter/ PR: ports/153866 Submitted by: Julien Laffaye <kimelto at gmail.com> Feature safe: yes
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/closure-linter/Makefile25
-rw-r--r--www/closure-linter/distinfo2
-rw-r--r--www/closure-linter/pkg-descr4
-rw-r--r--www/closure-linter/pkg-plist4
5 files changed, 36 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 5a3d7e46e62f..aa29f6dcda06 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -106,6 +106,7 @@
SUBDIR += clearsilver-python
SUBDIR += clickheat
SUBDIR += closure-compiler
+ SUBDIR += closure-linter
SUBDIR += cmsmadesimple
SUBDIR += cntlm
SUBDIR += cocoon
diff --git a/www/closure-linter/Makefile b/www/closure-linter/Makefile
new file mode 100644
index 000000000000..f3a0c71a5a30
--- /dev/null
+++ b/www/closure-linter/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: closure-linter
+# Date created: 2011-01-10
+# Whom: Julien Laffaye <kimelto@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= closure-linter
+PORTVERSION= 2.2.6
+CATEGORIES= www devel
+MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+DISTNAME= closure_linter-${PORTVERSION}
+
+MAINTAINER= kimelto@gmail.com
+COMMENT= JavaScript linter
+
+BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/gflags:${PORTSDIR}/devel/py-gflags
+RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/gflags:${PORTSDIR}/devel/py-gflags
+
+LICENSE= ASL
+
+USE_PYTHON= yes
+USE_PYDISTUTILS=easy_install
+
+.include <bsd.port.mk>
diff --git a/www/closure-linter/distinfo b/www/closure-linter/distinfo
new file mode 100644
index 000000000000..9618a1e5bad9
--- /dev/null
+++ b/www/closure-linter/distinfo
@@ -0,0 +1,2 @@
+SHA256 (closure_linter-2.2.6.tar.gz) = 1ab0e890d675c9a60d839b8c4fcbac8279a93f251338401d138769c442c25f8f
+SIZE (closure_linter-2.2.6.tar.gz) = 57554
diff --git a/www/closure-linter/pkg-descr b/www/closure-linter/pkg-descr
new file mode 100644
index 000000000000..83425f62d016
--- /dev/null
+++ b/www/closure-linter/pkg-descr
@@ -0,0 +1,4 @@
+The Closure Linter enforces the guidelines set by the Google JavaScript Style
+Guide. The linter handles style issues so that you can focus on the code.
+
+WWW: http://code.google.com/p/closure-linter/
diff --git a/www/closure-linter/pkg-plist b/www/closure-linter/pkg-plist
new file mode 100644
index 000000000000..2cd313f142b7
--- /dev/null
+++ b/www/closure-linter/pkg-plist
@@ -0,0 +1,4 @@
+@comment $FreeBSD$
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+bin/fixjsstyle
+bin/gjslint