summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorszptvlfn <szptvlfn@pkgsrc.org>2014-08-18 21:20:36 +0000
committerszptvlfn <szptvlfn@pkgsrc.org>2014-08-18 21:20:36 +0000
commit1d33be54d8abe42f6155768aabfe4a8135699706 (patch)
treec23683d4fc13f4008f21b924ff743752da9e3feb
parent8cdb9b7bfa558f5d337ee7e7e87e9b622c7a4512 (diff)
downloadpkgsrc-1d33be54d8abe42f6155768aabfe4a8135699706.tar.gz
Import hscolour-1.20.3 as textproc/hs-hscolour,
packaged for wip by pho. hscolour is a small Haskell script to colourise Haskell code. It currently has six output formats: ANSI terminal codes (optionally XTerm-256colour codes), HTML 3.2 with font tags, HTML 4.01 with CSS, HTML 4.01 with CSS and mouseover annotations, XHTML 1.0 with inline CSS styling, LaTeX, and mIRC chat codes.
-rw-r--r--textproc/hs-hscolour/DESCR5
-rw-r--r--textproc/hs-hscolour/Makefile11
-rw-r--r--textproc/hs-hscolour/PLIST67
-rw-r--r--textproc/hs-hscolour/buildlink3.mk12
-rw-r--r--textproc/hs-hscolour/distinfo5
5 files changed, 100 insertions, 0 deletions
diff --git a/textproc/hs-hscolour/DESCR b/textproc/hs-hscolour/DESCR
new file mode 100644
index 00000000000..0b2d58a7df1
--- /dev/null
+++ b/textproc/hs-hscolour/DESCR
@@ -0,0 +1,5 @@
+hscolour is a small Haskell script to colourise Haskell code. It currently
+has six output formats: ANSI terminal codes (optionally XTerm-256colour
+codes), HTML 3.2 with font tags, HTML 4.01 with CSS, HTML 4.01 with CSS and
+mouseover annotations, XHTML 1.0 with inline CSS styling, LaTeX, and mIRC
+chat codes.
diff --git a/textproc/hs-hscolour/Makefile b/textproc/hs-hscolour/Makefile
new file mode 100644
index 00000000000..51205f7f79e
--- /dev/null
+++ b/textproc/hs-hscolour/Makefile
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2014/08/18 21:20:36 szptvlfn Exp $
+
+DISTNAME= hscolour-1.20.3
+CATEGORIES= textproc
+
+MAINTAINER= pho@cielonegro.org
+COMMENT= Colourise Haskell code
+LICENSE= gnu-gpl-v2
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/hs-hscolour/PLIST b/textproc/hs-hscolour/PLIST
new file mode 100644
index 00000000000..ee59c430e26
--- /dev/null
+++ b/textproc/hs-hscolour/PLIST
@@ -0,0 +1,67 @@
+@comment $NetBSD: PLIST,v 1.1 2014/08/18 21:20:36 szptvlfn Exp $
+bin/HsColour
+lib/hscolour-${PKGVERSION}/${HASKELL_VERSION}/HShscolour-${PKGVERSION}.o
+lib/hscolour-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/HsColour.hi
+lib/hscolour-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/HsColour/ACSS.hi
+lib/hscolour-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/HsColour/ANSI.hi
+lib/hscolour-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/HsColour/Anchors.hi
+lib/hscolour-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/HsColour/CSS.hi
+lib/hscolour-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/HsColour/Classify.hi
+lib/hscolour-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/HsColour/ColourHighlight.hi
+lib/hscolour-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/HsColour/Colourise.hi
+lib/hscolour-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/HsColour/General.hi
+lib/hscolour-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/HsColour/HTML.hi
+lib/hscolour-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/HsColour/InlineCSS.hi
+lib/hscolour-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/HsColour/LaTeX.hi
+lib/hscolour-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/HsColour/MIRC.hi
+lib/hscolour-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/HsColour/Options.hi
+lib/hscolour-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/HsColour/Output.hi
+lib/hscolour-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/HsColour/TTY.hi
+lib/hscolour-${PKGVERSION}/${HASKELL_VERSION}/libHShscolour-${PKGVERSION}.a
+lib/hscolour-${PKGVERSION}/${HASKELL_VERSION}/package-description
+share/doc/hscolour-${PKGVERSION}/LICENCE-GPL
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/Language-Haskell-HsColour-ACSS.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/Language-Haskell-HsColour-ANSI.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/Language-Haskell-HsColour-Anchors.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/Language-Haskell-HsColour-CSS.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/Language-Haskell-HsColour-Classify.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/Language-Haskell-HsColour-ColourHighlight.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/Language-Haskell-HsColour-Colourise.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/Language-Haskell-HsColour-General.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/Language-Haskell-HsColour-HTML.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/Language-Haskell-HsColour-InlineCSS.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/Language-Haskell-HsColour-LaTeX.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/Language-Haskell-HsColour-MIRC.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/Language-Haskell-HsColour-Options.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/Language-Haskell-HsColour-Output.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/Language-Haskell-HsColour-TTY.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/Language-Haskell-HsColour.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/frames.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/haddock-util.js
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/hscolour.haddock
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/hslogo-16.png
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/index-frames.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/mini_Language-Haskell-HsColour-ACSS.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/mini_Language-Haskell-HsColour-ANSI.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/mini_Language-Haskell-HsColour-Anchors.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/mini_Language-Haskell-HsColour-CSS.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/mini_Language-Haskell-HsColour-Classify.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/mini_Language-Haskell-HsColour-ColourHighlight.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/mini_Language-Haskell-HsColour-Colourise.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/mini_Language-Haskell-HsColour-General.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/mini_Language-Haskell-HsColour-HTML.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/mini_Language-Haskell-HsColour-InlineCSS.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/mini_Language-Haskell-HsColour-LaTeX.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/mini_Language-Haskell-HsColour-MIRC.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/mini_Language-Haskell-HsColour-Options.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/mini_Language-Haskell-HsColour-Output.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/mini_Language-Haskell-HsColour-TTY.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/mini_Language-Haskell-HsColour.html
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/minus.gif
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/ocean.css
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/plus.gif
+${PLIST.doc}share/doc/hscolour-${PKGVERSION}/html/synopsis.png
+share/hscolour-${PKGVERSION}/data/rgb24-example-.hscolour
+share/hscolour-${PKGVERSION}/hscolour.css
diff --git a/textproc/hs-hscolour/buildlink3.mk b/textproc/hs-hscolour/buildlink3.mk
new file mode 100644
index 00000000000..d090de3f1c6
--- /dev/null
+++ b/textproc/hs-hscolour/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/08/18 21:20:36 szptvlfn Exp $
+
+BUILDLINK_TREE+= hs-hscolour
+
+.if !defined(HS_HSCOLOUR_BUILDLINK3_MK)
+HS_HSCOLOUR_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-hscolour+= hs-hscolour>=1.20.3
+BUILDLINK_PKGSRCDIR.hs-hscolour?= ../../textproc/hs-hscolour
+.endif # HS_HSCOLOUR_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-hscolour
diff --git a/textproc/hs-hscolour/distinfo b/textproc/hs-hscolour/distinfo
new file mode 100644
index 00000000000..f6d6efc4a3c
--- /dev/null
+++ b/textproc/hs-hscolour/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/08/18 21:20:36 szptvlfn Exp $
+
+SHA1 (hscolour-1.20.3.tar.gz) = 5d20145aea08a372ce476718a5aae3ff8be32536
+RMD160 (hscolour-1.20.3.tar.gz) = 2d875ecdb910a5955a5ec049935a74c60edbc4cc
+Size (hscolour-1.20.3.tar.gz) = 25810 bytes