aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 5a3d7e46e62..aa29f6dcda0 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 00000000000..f3a0c71a5a3
--- /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 00000000000..9618a1e5bad
--- /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 00000000000..83425f62d01
--- /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 00000000000..2cd313f142b
--- /dev/null
+++ b/www/closure-linter/pkg-plist
@@ -0,0 +1,4 @@
+@comment $FreeBSD$
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+bin/fixjsstyle
+bin/gjslint