aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/hs-highlighting-kate-ghc/Makefile52
-rw-r--r--textproc/hs-highlighting-kate-ghc/distinfo3
-rw-r--r--textproc/hs-highlighting-kate-ghc/pkg-descr18
-rw-r--r--textproc/hs-highlighting-kate-ghc/pkg-plist141
-rw-r--r--textproc/hs-highlighting-kate/Makefile52
-rw-r--r--textproc/hs-highlighting-kate/distinfo3
-rw-r--r--textproc/hs-highlighting-kate/pkg-descr18
-rw-r--r--textproc/hs-highlighting-kate/pkg-plist141
9 files changed, 429 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 72dbb586ced8..aa520cece941 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -206,6 +206,7 @@
SUBDIR += hr-aspell
SUBDIR += hs-bytestring-csv
SUBDIR += hs-haxml
+ SUBDIR += hs-highlighting-kate-ghc
SUBDIR += hs-stringsearch
SUBDIR += hsb-aspell
SUBDIR += htdig
diff --git a/textproc/hs-highlighting-kate-ghc/Makefile b/textproc/hs-highlighting-kate-ghc/Makefile
new file mode 100644
index 000000000000..cda20a69a1b7
--- /dev/null
+++ b/textproc/hs-highlighting-kate-ghc/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: highlighting-kate
+# Date created: December 16, 2008
+# Whom: Gabor Pali <pgj@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= highlighting-kate
+PORTVERSION= 0.2.3
+CATEGORIES= textproc haskell
+MASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
+PKGNAMEPREFIX= hs-
+PKGNAMESUFFIX= -ghc
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= A Haskell syntax highlighting library for 50+ languages
+
+BUILD_DEPENDS= ghc>=6.8:${PORTSDIR}/lang/ghc \
+ hs-pcre-light-ghc>=0.3:${PORTSDIR}/devel/hs-pcre-light-ghc
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+GHC_VERSION= 6.8.3
+CABALCMD= ${LOCALBASE}/bin/runghc Setup.lhs
+CABALDIR= lib/ghc-${GHC_VERSION}/cabal
+
+SUBDIR= lib/${PORTNAME}-${PORTVERSION}
+PLIST_SUB= GHC_VERSION=${GHC_VERSION} \
+ PORTNAME=${PORTNAME} \
+ PORTVERSION=${PORTVERSION} \
+ SUBDIR=${CABALDIR}
+DOCSDIR= share/doc/${PORTNAME}-${PORTVERSION}
+
+CONFIGURE_ARGS= --ghc --prefix=${PREFIX} --libdir=${PREFIX}/${CABALDIR} --libsubdir='' --datasubdir=''
+
+.ifndef (NOPORTDOCS)
+BUILD_DEPENDS+= haddock:${PORTSDIR}/devel/hs-haddock
+.endif
+
+do-configure:
+ cd ${WRKSRC} && ${CABALCMD} configure ${CONFIGURE_ARGS}
+
+do-build:
+ cd ${WRKSRC} && ${CABALCMD} build && ${CABALCMD} --gen-script register
+.ifndef (NOPORTDOCS)
+ cd ${WRKSRC} && ${CABALCMD} haddock
+.endif
+
+do-install:
+ cd ${WRKSRC} && ${CABALCMD} install
+ ${INSTALL_SCRIPT} ${WRKSRC}/register.sh ${PREFIX}/${CABALDIR}/${PORTNAME}-register.sh
+
+.include <bsd.port.mk>
diff --git a/textproc/hs-highlighting-kate-ghc/distinfo b/textproc/hs-highlighting-kate-ghc/distinfo
new file mode 100644
index 000000000000..165fe0d77e0a
--- /dev/null
+++ b/textproc/hs-highlighting-kate-ghc/distinfo
@@ -0,0 +1,3 @@
+MD5 (highlighting-kate-0.2.3.tar.gz) = 903db32203038eab86b5adbdffbd15dd
+SHA256 (highlighting-kate-0.2.3.tar.gz) = 90fd3d402a3d0f02efe48c500302e26b867a45de5d744f097655edc929af0f2b
+SIZE (highlighting-kate-0.2.3.tar.gz) = 412081
diff --git a/textproc/hs-highlighting-kate-ghc/pkg-descr b/textproc/hs-highlighting-kate-ghc/pkg-descr
new file mode 100644
index 000000000000..8794db9d31a2
--- /dev/null
+++ b/textproc/hs-highlighting-kate-ghc/pkg-descr
@@ -0,0 +1,18 @@
+highlighting-kate is a syntax highlighting library for Haskell with
+support for over 50 languages. The syntax parsers are automatically
+generated from Kate syntax descriptions [1], so any syntax supported by
+Kate can be added. An (optional) command-line program is provided,
+along with a utility for generating new parsers from Kate XML syntax
+descriptions.
+
+Currently the following languages are supported: Ada, Asp, Awk, Bash,
+Bibtex, C, Cmake, Coldfusion, Commonlisp, Cpp, Css, D, Djangotemplate,
+Doxygen, Dtd, Eiffel, Erlang, Fortran, Haskell, Html, Java, Javadoc,
+Javascript, Json, Latex, Lex, LiterateHaskell, Lua, Makefile, Matlab,
+Mediawiki, Modula3, Nasm, Objectivec, Ocaml, Pascal, Perl, Php,
+Postscript, Prolog, Python, Rhtml, Ruby, Scala, Scheme, Sgml, Sql,
+SqlMysql, SqlPostgresql, Tcl, Texinfo, Xml, Xslt, Yacc.
+
+[1] http://kate-editor.org
+
+WWW: http://johnmacfarlane.net/highlighting-kate
diff --git a/textproc/hs-highlighting-kate-ghc/pkg-plist b/textproc/hs-highlighting-kate-ghc/pkg-plist
new file mode 100644
index 000000000000..78c67d0a690b
--- /dev/null
+++ b/textproc/hs-highlighting-kate-ghc/pkg-plist
@@ -0,0 +1,141 @@
+%%SUBDIR%%/HShighlighting-kate-%%PORTVERSION%%.o
+%%SUBDIR%%/Text/Highlighting/Kate.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Common.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Definitions.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Format.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Ada.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Alert.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Asp.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Awk.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Bash.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Bibtex.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/C.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Cmake.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Coldfusion.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Commonlisp.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Cpp.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Css.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/D.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Djangotemplate.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Doxygen.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Dtd.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Eiffel.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Erlang.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Fortran.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Haskell.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Html.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Java.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Javadoc.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Javascript.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Json.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Latex.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Lex.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/LiterateHaskell.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Lua.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Makefile.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Matlab.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Mediawiki.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Modula3.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Nasm.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Objectivec.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Ocaml.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Pascal.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Perl.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Php.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Postscript.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Prolog.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Python.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Rhtml.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Ruby.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Scala.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Scheme.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Sgml.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Sql.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/SqlMysql.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/SqlPostgresql.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Tcl.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Texinfo.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Xml.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Xslt.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Yacc.hi
+%%SUBDIR%%/libHShighlighting-kate-%%PORTVERSION%%.a
+%%SUBDIR%%/%%PORTNAME%%-register.sh
+%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/html/%%PORTNAME%%.haddock
+%%PORTDOCS%%%%DOCSDIR%%/html/doc-index.html
+%%PORTDOCS%%%%DOCSDIR%%/html/haddock-util.js
+%%PORTDOCS%%%%DOCSDIR%%/html/haddock.css
+%%PORTDOCS%%%%DOCSDIR%%/html/haskell_icon.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/index.html
+%%PORTDOCS%%%%DOCSDIR%%/html/minus.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/plus.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Definitions.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Format.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Ada.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Alert.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Asp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Awk.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Bash.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Bibtex.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-C.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Cmake.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Coldfusion.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Commonlisp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Css.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-D.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Djangotemplate.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Doxygen.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Dtd.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Eiffel.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Erlang.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Fortran.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Haskell.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Html.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Java.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Javadoc.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Javascript.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Json.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Latex.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Lex.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-LiterateHaskell.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Lua.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Makefile.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Matlab.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Mediawiki.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Modula3.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Nasm.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Objectivec.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Ocaml.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Pascal.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Perl.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Php.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Postscript.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Prolog.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Python.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Rhtml.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Ruby.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Scala.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Scheme.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Sgml.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Sql.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-SqlMysql.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-SqlPostgresql.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Tcl.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Texinfo.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Xml.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Xslt.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Yacc.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
+@dirrm %%DOCSDIR%%
+@dirrmtry %%SUBDIR%%/Text/Highlighting/Kate/Syntax
+@dirrmtry %%SUBDIR%%/Text/Highlighting/Kate
+@dirrmtry %%SUBDIR%%/Text/Highlighting
+@dirrmtry %%SUBDIR%%/Text
+@exec sh %D/%%SUBDIR%%/%%PORTNAME%%-register.sh
+@exec rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
+@unexec ghc-pkg unregister %%PORTNAME%%
+@unexec rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
diff --git a/textproc/hs-highlighting-kate/Makefile b/textproc/hs-highlighting-kate/Makefile
new file mode 100644
index 000000000000..cda20a69a1b7
--- /dev/null
+++ b/textproc/hs-highlighting-kate/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: highlighting-kate
+# Date created: December 16, 2008
+# Whom: Gabor Pali <pgj@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= highlighting-kate
+PORTVERSION= 0.2.3
+CATEGORIES= textproc haskell
+MASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
+PKGNAMEPREFIX= hs-
+PKGNAMESUFFIX= -ghc
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= A Haskell syntax highlighting library for 50+ languages
+
+BUILD_DEPENDS= ghc>=6.8:${PORTSDIR}/lang/ghc \
+ hs-pcre-light-ghc>=0.3:${PORTSDIR}/devel/hs-pcre-light-ghc
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+GHC_VERSION= 6.8.3
+CABALCMD= ${LOCALBASE}/bin/runghc Setup.lhs
+CABALDIR= lib/ghc-${GHC_VERSION}/cabal
+
+SUBDIR= lib/${PORTNAME}-${PORTVERSION}
+PLIST_SUB= GHC_VERSION=${GHC_VERSION} \
+ PORTNAME=${PORTNAME} \
+ PORTVERSION=${PORTVERSION} \
+ SUBDIR=${CABALDIR}
+DOCSDIR= share/doc/${PORTNAME}-${PORTVERSION}
+
+CONFIGURE_ARGS= --ghc --prefix=${PREFIX} --libdir=${PREFIX}/${CABALDIR} --libsubdir='' --datasubdir=''
+
+.ifndef (NOPORTDOCS)
+BUILD_DEPENDS+= haddock:${PORTSDIR}/devel/hs-haddock
+.endif
+
+do-configure:
+ cd ${WRKSRC} && ${CABALCMD} configure ${CONFIGURE_ARGS}
+
+do-build:
+ cd ${WRKSRC} && ${CABALCMD} build && ${CABALCMD} --gen-script register
+.ifndef (NOPORTDOCS)
+ cd ${WRKSRC} && ${CABALCMD} haddock
+.endif
+
+do-install:
+ cd ${WRKSRC} && ${CABALCMD} install
+ ${INSTALL_SCRIPT} ${WRKSRC}/register.sh ${PREFIX}/${CABALDIR}/${PORTNAME}-register.sh
+
+.include <bsd.port.mk>
diff --git a/textproc/hs-highlighting-kate/distinfo b/textproc/hs-highlighting-kate/distinfo
new file mode 100644
index 000000000000..165fe0d77e0a
--- /dev/null
+++ b/textproc/hs-highlighting-kate/distinfo
@@ -0,0 +1,3 @@
+MD5 (highlighting-kate-0.2.3.tar.gz) = 903db32203038eab86b5adbdffbd15dd
+SHA256 (highlighting-kate-0.2.3.tar.gz) = 90fd3d402a3d0f02efe48c500302e26b867a45de5d744f097655edc929af0f2b
+SIZE (highlighting-kate-0.2.3.tar.gz) = 412081
diff --git a/textproc/hs-highlighting-kate/pkg-descr b/textproc/hs-highlighting-kate/pkg-descr
new file mode 100644
index 000000000000..8794db9d31a2
--- /dev/null
+++ b/textproc/hs-highlighting-kate/pkg-descr
@@ -0,0 +1,18 @@
+highlighting-kate is a syntax highlighting library for Haskell with
+support for over 50 languages. The syntax parsers are automatically
+generated from Kate syntax descriptions [1], so any syntax supported by
+Kate can be added. An (optional) command-line program is provided,
+along with a utility for generating new parsers from Kate XML syntax
+descriptions.
+
+Currently the following languages are supported: Ada, Asp, Awk, Bash,
+Bibtex, C, Cmake, Coldfusion, Commonlisp, Cpp, Css, D, Djangotemplate,
+Doxygen, Dtd, Eiffel, Erlang, Fortran, Haskell, Html, Java, Javadoc,
+Javascript, Json, Latex, Lex, LiterateHaskell, Lua, Makefile, Matlab,
+Mediawiki, Modula3, Nasm, Objectivec, Ocaml, Pascal, Perl, Php,
+Postscript, Prolog, Python, Rhtml, Ruby, Scala, Scheme, Sgml, Sql,
+SqlMysql, SqlPostgresql, Tcl, Texinfo, Xml, Xslt, Yacc.
+
+[1] http://kate-editor.org
+
+WWW: http://johnmacfarlane.net/highlighting-kate
diff --git a/textproc/hs-highlighting-kate/pkg-plist b/textproc/hs-highlighting-kate/pkg-plist
new file mode 100644
index 000000000000..78c67d0a690b
--- /dev/null
+++ b/textproc/hs-highlighting-kate/pkg-plist
@@ -0,0 +1,141 @@
+%%SUBDIR%%/HShighlighting-kate-%%PORTVERSION%%.o
+%%SUBDIR%%/Text/Highlighting/Kate.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Common.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Definitions.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Format.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Ada.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Alert.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Asp.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Awk.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Bash.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Bibtex.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/C.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Cmake.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Coldfusion.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Commonlisp.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Cpp.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Css.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/D.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Djangotemplate.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Doxygen.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Dtd.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Eiffel.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Erlang.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Fortran.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Haskell.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Html.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Java.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Javadoc.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Javascript.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Json.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Latex.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Lex.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/LiterateHaskell.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Lua.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Makefile.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Matlab.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Mediawiki.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Modula3.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Nasm.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Objectivec.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Ocaml.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Pascal.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Perl.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Php.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Postscript.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Prolog.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Python.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Rhtml.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Ruby.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Scala.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Scheme.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Sgml.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Sql.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/SqlMysql.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/SqlPostgresql.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Tcl.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Texinfo.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Xml.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Xslt.hi
+%%SUBDIR%%/Text/Highlighting/Kate/Syntax/Yacc.hi
+%%SUBDIR%%/libHShighlighting-kate-%%PORTVERSION%%.a
+%%SUBDIR%%/%%PORTNAME%%-register.sh
+%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/html/%%PORTNAME%%.haddock
+%%PORTDOCS%%%%DOCSDIR%%/html/doc-index.html
+%%PORTDOCS%%%%DOCSDIR%%/html/haddock-util.js
+%%PORTDOCS%%%%DOCSDIR%%/html/haddock.css
+%%PORTDOCS%%%%DOCSDIR%%/html/haskell_icon.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/index.html
+%%PORTDOCS%%%%DOCSDIR%%/html/minus.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/plus.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Definitions.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Format.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Ada.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Alert.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Asp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Awk.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Bash.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Bibtex.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-C.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Cmake.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Coldfusion.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Commonlisp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Css.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-D.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Djangotemplate.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Doxygen.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Dtd.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Eiffel.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Erlang.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Fortran.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Haskell.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Html.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Java.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Javadoc.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Javascript.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Json.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Latex.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Lex.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-LiterateHaskell.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Lua.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Makefile.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Matlab.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Mediawiki.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Modula3.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Nasm.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Objectivec.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Ocaml.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Pascal.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Perl.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Php.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Postscript.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Prolog.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Python.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Rhtml.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Ruby.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Scala.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Scheme.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Sgml.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Sql.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-SqlMysql.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-SqlPostgresql.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Tcl.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Texinfo.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Xml.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Xslt.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax-Yacc.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate-Syntax.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Text-Highlighting-Kate.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
+@dirrm %%DOCSDIR%%
+@dirrmtry %%SUBDIR%%/Text/Highlighting/Kate/Syntax
+@dirrmtry %%SUBDIR%%/Text/Highlighting/Kate
+@dirrmtry %%SUBDIR%%/Text/Highlighting
+@dirrmtry %%SUBDIR%%/Text
+@exec sh %D/%%SUBDIR%%/%%PORTNAME%%-register.sh
+@exec rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
+@unexec ghc-pkg unregister %%PORTNAME%%
+@unexec rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old