svn commit: r379051 - in head: devel/hs-ShellCheck devel/hs-ShellCheck/files lang/ghc
Gabor Pali
pgj at FreeBSD.org
Sun Feb 15 21:45:55 UTC 2015
Author: pgj
Date: Sun Feb 15 21:45:52 2015
New Revision: 379051
URL: https://svnweb.freebsd.org/changeset/ports/379051
QAT: https://qat.redports.org/buildarchive/r379051/
Log:
Add new port: devel/hs-ShellCheck
The goals of ShellCheck are:
* To point out and clarify typical beginner's syntax issues, that causes
a shell to give cryptic error messages.
* To point out and clarify typical intermediate level semantic problems,
that causes a shell to behave strangely and counter-intuitively.
* To point out subtle caveats, corner cases and pitfalls, that may cause
an advanced user's otherwise working script to fail under future
circumstances.
WWW: http://www.shellcheck.net/
PR: 197302
Submitted by: luca.pizzamiglio at gmail.com
Obtained from: FreeBSD Haskell
Added:
head/devel/hs-ShellCheck/
head/devel/hs-ShellCheck/Makefile (contents, props changed)
head/devel/hs-ShellCheck/distinfo (contents, props changed)
head/devel/hs-ShellCheck/files/
head/devel/hs-ShellCheck/files/patch-ShellCheck.cabal (contents, props changed)
head/devel/hs-ShellCheck/pkg-descr (contents, props changed)
Modified:
head/lang/ghc/bsd.hackage.mk
Added: head/devel/hs-ShellCheck/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/hs-ShellCheck/Makefile Sun Feb 15 21:45:52 2015 (r379051)
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+PORTNAME= ShellCheck
+PORTVERSION= 0.3.5
+CATEGORIES= devel haskell
+
+MAINTAINER= luca.pizzamiglio at gmail.com
+COMMENT= Shell script analysis tool
+
+LICENSE= AGPLv3
+
+USE_CABAL= json>=0.7 parsec QuickCheck>=2.6 regex-posix>=0.95.2 \
+ regex-compat>=0.95.1 tf-random>=0.5
+
+EXECUTABLE= shellcheck
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
Added: head/devel/hs-ShellCheck/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/hs-ShellCheck/distinfo Sun Feb 15 21:45:52 2015 (r379051)
@@ -0,0 +1,2 @@
+SHA256 (cabal/ShellCheck-0.3.5.tar.gz) = 9289fda0b3683f4e7c2c003f875a9e308897368fe956ed924a76cafc2fdc9974
+SIZE (cabal/ShellCheck-0.3.5.tar.gz) = 77173
Added: head/devel/hs-ShellCheck/files/patch-ShellCheck.cabal
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/hs-ShellCheck/files/patch-ShellCheck.cabal Sun Feb 15 21:45:52 2015 (r379051)
@@ -0,0 +1,28 @@
+--- ShellCheck.cabal.orig 2014-11-10 01:30:00.000000000 +0100
++++ ShellCheck.cabal 2015-02-03 18:19:38.355225341 +0100
+@@ -42,7 +42,7 @@
+ mtl,
+ parsec,
+ regex-compat,
+- QuickCheck >= 2.7.4
++ QuickCheck >= 2.6
+ exposed-modules:
+ ShellCheck.Analytics
+ ShellCheck.AST
+@@ -64,7 +64,7 @@
+ parsec,
+ regex-compat,
+ transformers,
+- QuickCheck >= 2.7.4
++ QuickCheck >= 2.6
+ main-is: shellcheck.hs
+
+ test-suite test-shellcheck
+@@ -79,6 +79,6 @@
+ parsec,
+ regex-compat,
+ transformers,
+- QuickCheck >= 2.7.4
++ QuickCheck >= 2.6
+ main-is: test/shellcheck.hs
+
Added: head/devel/hs-ShellCheck/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/hs-ShellCheck/pkg-descr Sun Feb 15 21:45:52 2015 (r379051)
@@ -0,0 +1,13 @@
+The goals of ShellCheck are:
+
+ * To point out and clarify typical beginner's syntax issues, that causes
+ a shell to give cryptic error messages.
+
+ * To point out and clarify typical intermediate level semantic problems,
+ that causes a shell to behave strangely and counter-intuitively.
+
+ * To point out subtle caveats, corner cases and pitfalls, that may cause
+ an advanced user's otherwise working script to fail under future
+ circumstances.
+
+WWW: http://www.shellcheck.net/
Modified: head/lang/ghc/bsd.hackage.mk
==============================================================================
--- head/lang/ghc/bsd.hackage.mk Sun Feb 15 21:36:29 2015 (r379050)
+++ head/lang/ghc/bsd.hackage.mk Sun Feb 15 21:45:52 2015 (r379051)
@@ -345,6 +345,7 @@ setenv_port=
SHA_port= security/hs-SHA # executable
shake_port= devel/hs-shake # executable
shakespeare_port= www/hs-shakespeare
+ShellCheck_port= devel/hs-ShellCheck # executable
show_port= devel/hs-show
silently_port= devel/hs-silently
simple-reflect_port= devel/hs-simple-reflect
More information about the svn-ports-all
mailing list