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.
This commit is contained in:
parent
700b5a4364
commit
2a22f0688f
5 changed files with 100 additions and 0 deletions
5
textproc/hs-hscolour/DESCR
Normal file
5
textproc/hs-hscolour/DESCR
Normal file
|
@ -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.
|
11
textproc/hs-hscolour/Makefile
Normal file
11
textproc/hs-hscolour/Makefile
Normal file
|
@ -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"
|
67
textproc/hs-hscolour/PLIST
Normal file
67
textproc/hs-hscolour/PLIST
Normal file
|
@ -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
|
12
textproc/hs-hscolour/buildlink3.mk
Normal file
12
textproc/hs-hscolour/buildlink3.mk
Normal file
|
@ -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
|
5
textproc/hs-hscolour/distinfo
Normal file
5
textproc/hs-hscolour/distinfo
Normal file
|
@ -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
|
Loading…
Reference in a new issue