summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorszptvlfn <szptvlfn@pkgsrc.org>2014-09-10 21:38:06 +0000
committerszptvlfn <szptvlfn@pkgsrc.org>2014-09-10 21:38:06 +0000
commitf349551c6a10d127a90dd31b988f1b8c56e95c9b (patch)
tree7127f2c055f9280de34557b429fa9e167a3f6ac3 /textproc
parenta8dc2a761299b579665e65387e70759264a40544 (diff)
downloadpkgsrc-f349551c6a10d127a90dd31b988f1b8c56e95c9b.tar.gz
Import texmath-0.8 as textproc/hs-texmath,
packaged for wip. The texmath library provides functions to read and write TeX math, presentation MathML, and OMML (Office Math Markup Language, used in Microsoft Office). Support is also included for converting math formats to pandoc's native format (allowing conversion, via pandoc, to a variety of different markup formats). The TeX reader supports basic LaTeX and AMS extensions, and it can parse and apply LaTeX macros. (See http://johnmacfarlane.net/texmath for a live demo of bidirectional conversion between LaTeX and MathML.) The package also includes several utility modules which may be useful for anyone looking to manipulate either TeX math or MathML. For example, a copy of the MathML operator dictionary is included.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/hs-texmath/DESCR12
-rw-r--r--textproc/hs-texmath/Makefile16
-rw-r--r--textproc/hs-texmath/PLIST64
-rw-r--r--textproc/hs-texmath/buildlink3.mk19
-rw-r--r--textproc/hs-texmath/distinfo5
5 files changed, 116 insertions, 0 deletions
diff --git a/textproc/hs-texmath/DESCR b/textproc/hs-texmath/DESCR
new file mode 100644
index 00000000000..6cf2d9893d1
--- /dev/null
+++ b/textproc/hs-texmath/DESCR
@@ -0,0 +1,12 @@
+The texmath library provides functions to read and write TeX math,
+presentation MathML, and OMML (Office Math Markup Language, used in
+Microsoft Office). Support is also included for converting math formats to
+pandoc's native format (allowing conversion, via pandoc, to a variety of
+different markup formats). The TeX reader supports basic LaTeX and AMS
+extensions, and it can parse and apply LaTeX macros.
+(See http://johnmacfarlane.net/texmath for a live demo of
+ bidirectional conversion between LaTeX and MathML.)
+
+The package also includes several utility modules which may be useful for
+anyone looking to manipulate either TeX math or MathML. For example, a copy
+of the MathML operator dictionary is included.
diff --git a/textproc/hs-texmath/Makefile b/textproc/hs-texmath/Makefile
new file mode 100644
index 00000000000..e1a268bd75f
--- /dev/null
+++ b/textproc/hs-texmath/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2014/09/10 21:38:06 szptvlfn Exp $
+
+DISTNAME= texmath-0.8
+CATEGORIES= textproc
+
+MAINTAINER= szptvlfn@NetBSD.org
+COMMENT= Conversion between formats used to represent mathematics
+LICENSE= gnu-gpl-v2
+
+.include "../../mk/haskell.mk"
+.include "../../devel/hs-mtl/buildlink3.mk"
+.include "../../textproc/hs-pandoc-types/buildlink3.mk"
+.include "../../textproc/hs-parsec/buildlink3.mk"
+.include "../../devel/hs-syb/buildlink3.mk"
+.include "../../textproc/hs-xml/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/hs-texmath/PLIST b/textproc/hs-texmath/PLIST
new file mode 100644
index 00000000000..761b9193883
--- /dev/null
+++ b/textproc/hs-texmath/PLIST
@@ -0,0 +1,64 @@
+@comment $NetBSD: PLIST,v 1.1 2014/09/10 21:38:06 szptvlfn Exp $
+lib/texmath-${PKGVERSION}/${HASKELL_VERSION}/HStexmath-${PKGVERSION}.o
+lib/texmath-${PKGVERSION}/${HASKELL_VERSION}/Text/TeXMath.hi
+lib/texmath-${PKGVERSION}/${HASKELL_VERSION}/Text/TeXMath/Compat.hi
+lib/texmath-${PKGVERSION}/${HASKELL_VERSION}/Text/TeXMath/Readers/MathML.hi
+lib/texmath-${PKGVERSION}/${HASKELL_VERSION}/Text/TeXMath/Readers/MathML/EntityMap.hi
+lib/texmath-${PKGVERSION}/${HASKELL_VERSION}/Text/TeXMath/Readers/MathML/MMLDict.hi
+lib/texmath-${PKGVERSION}/${HASKELL_VERSION}/Text/TeXMath/Readers/OMML.hi
+lib/texmath-${PKGVERSION}/${HASKELL_VERSION}/Text/TeXMath/Readers/TeX.hi
+lib/texmath-${PKGVERSION}/${HASKELL_VERSION}/Text/TeXMath/Readers/TeX/Macros.hi
+lib/texmath-${PKGVERSION}/${HASKELL_VERSION}/Text/TeXMath/Shared.hi
+lib/texmath-${PKGVERSION}/${HASKELL_VERSION}/Text/TeXMath/TeX.hi
+lib/texmath-${PKGVERSION}/${HASKELL_VERSION}/Text/TeXMath/Types.hi
+lib/texmath-${PKGVERSION}/${HASKELL_VERSION}/Text/TeXMath/Unicode/ToASCII.hi
+lib/texmath-${PKGVERSION}/${HASKELL_VERSION}/Text/TeXMath/Unicode/ToTeX.hi
+lib/texmath-${PKGVERSION}/${HASKELL_VERSION}/Text/TeXMath/Unicode/ToUnicode.hi
+lib/texmath-${PKGVERSION}/${HASKELL_VERSION}/Text/TeXMath/Writers/MathML.hi
+lib/texmath-${PKGVERSION}/${HASKELL_VERSION}/Text/TeXMath/Writers/OMML.hi
+lib/texmath-${PKGVERSION}/${HASKELL_VERSION}/Text/TeXMath/Writers/Pandoc.hi
+lib/texmath-${PKGVERSION}/${HASKELL_VERSION}/Text/TeXMath/Writers/TeX.hi
+lib/texmath-${PKGVERSION}/${HASKELL_VERSION}/libHStexmath-${PKGVERSION}.a
+lib/texmath-${PKGVERSION}/${HASKELL_VERSION}/package-description
+share/doc/texmath-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/Text-TeXMath-Readers-MathML-EntityMap.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/Text-TeXMath-Readers-MathML-MMLDict.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/Text-TeXMath-Readers-MathML.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/Text-TeXMath-Readers-OMML.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/Text-TeXMath-Readers-TeX-Macros.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/Text-TeXMath-Readers-TeX.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/Text-TeXMath-Types.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/Text-TeXMath-Unicode-ToASCII.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/Text-TeXMath-Unicode-ToTeX.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/Text-TeXMath-Unicode-ToUnicode.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/Text-TeXMath-Writers-MathML.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/Text-TeXMath-Writers-OMML.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/Text-TeXMath-Writers-Pandoc.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/Text-TeXMath-Writers-TeX.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/Text-TeXMath.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/frames.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/haddock-util.js
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/hslogo-16.png
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/index-frames.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/mini_Text-TeXMath-Readers-MathML-EntityMap.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/mini_Text-TeXMath-Readers-MathML-MMLDict.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/mini_Text-TeXMath-Readers-MathML.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/mini_Text-TeXMath-Readers-OMML.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/mini_Text-TeXMath-Readers-TeX-Macros.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/mini_Text-TeXMath-Readers-TeX.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/mini_Text-TeXMath-Types.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/mini_Text-TeXMath-Unicode-ToASCII.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/mini_Text-TeXMath-Unicode-ToTeX.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/mini_Text-TeXMath-Unicode-ToUnicode.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/mini_Text-TeXMath-Writers-MathML.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/mini_Text-TeXMath-Writers-OMML.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/mini_Text-TeXMath-Writers-Pandoc.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/mini_Text-TeXMath-Writers-TeX.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/mini_Text-TeXMath.html
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/minus.gif
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/ocean.css
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/plus.gif
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/synopsis.png
+${PLIST.doc}share/doc/texmath-${PKGVERSION}/html/texmath.haddock
diff --git a/textproc/hs-texmath/buildlink3.mk b/textproc/hs-texmath/buildlink3.mk
new file mode 100644
index 00000000000..f1b1bdb4533
--- /dev/null
+++ b/textproc/hs-texmath/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/09/10 21:38:06 szptvlfn Exp $
+
+BUILDLINK_TREE+= hs-texmath
+
+.if !defined(HS_TEXMATH_BUILDLINK3_MK)
+HS_TEXMATH_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-texmath+= hs-texmath>=0.8
+BUILDLINK_ABI_DEPENDS.hs-texmath+= hs-texmath>=0.8
+BUILDLINK_PKGSRCDIR.hs-texmath?= ../../textproc/hs-texmath
+
+.include "../../devel/hs-mtl/buildlink3.mk"
+.include "../../textproc/hs-pandoc-types/buildlink3.mk"
+.include "../../textproc/hs-parsec/buildlink3.mk"
+.include "../../devel/hs-syb/buildlink3.mk"
+.include "../../textproc/hs-xml/buildlink3.mk"
+.endif # HS_TEXMATH_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-texmath
diff --git a/textproc/hs-texmath/distinfo b/textproc/hs-texmath/distinfo
new file mode 100644
index 00000000000..0a127070265
--- /dev/null
+++ b/textproc/hs-texmath/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/09/10 21:38:06 szptvlfn Exp $
+
+SHA1 (texmath-0.8.tar.gz) = efb3912dc0a16ca5e2f91c6ba1804d3e6c962a01
+RMD160 (texmath-0.8.tar.gz) = 4c3d6f1e37af8c472c9331deb8da47b7cb5a09c3
+Size (texmath-0.8.tar.gz) = 1613635 bytes