Conversion between markup formats Maintained by:haskell@FreeBSD.org Port Added: 24 May 2010 20:27:48 Also Listed In:haskell License: GPLv2
Pandoc is a Haskell library for converting from one markup format to
another, and a command-line tool that uses this library. It can read
markdown and (subsets of) HTML, reStructuredText, LaTeX, DocBook,
MediaWiki markup, and Textile, and it can write markdown,
reStructuredText, HTML, LaTeX, ConTeXt, Docbook, OpenDocument, ODT, Word
docx, RTF, MediaWiki, Textile, groff man pages, plain text, Emacs
Org-Mode, AsciiDoc, EPUB (v2 and v3), FictionBook2, and S5, Slidy and
Slideous HTML slide shows. Pandoc extends standard markdown syntax with
footnotes, embedded LaTeX, definition lists, tables, and other features.
A compatibility mode is provided for those who need a drop-in
replacement for Markdown.pl. In contrast to existing tools for
converting markdown to HTML, which use regex substitutions, pandoc has a
modular design: it consists of a set of readers, which parse text in a
given format and produce a native representation of the document, and a
set of writers, which convert this native representation into a target
format. Thus, adding an input or output format requires only adding a
reader or writer.
WWW: http://johnmacfarlane.net/pandoc
To install the port:cd /usr/ports/textproc/hs-pandoc/ && make install clean To add the package:pkg_add -r hs-pandoc
Configuration Options
===> The following configuration options are available for hs-pandoc-1.11.1_1:
DOCS=on: Build and/or install documentation
DYNAMIC=on: Add support for dynamic linking
EMBED_DATA_FILES=off: Embed data files in binary for relocatable executable
HSCOLOUR=off: Colorize generated documentation by HsColour
PROFILE=off: Add support for profiling
===> Use 'make config' to modify these settings
Reason:
Due to some unexpected dynamic linking problems, Haskell Cabal ports with
binaries that link to their own libraries may not work. With default
configuration, the following ports are known to have this problem:
Agda, BNFC, pandoc, and uuagc. (Their port revision are now bumped.)
In general, it is recommended to rebuild the port if you are
experiencing that the corresponding binary will not start, e.g.:
% agda
Shared object "libHSAgda-2.3.2-ghc7.4.2.so" not found, required by "agda"
2013-02-05
Affects: users of lang/ghc and */hs-*
Author: haskell@FreeBSD.org
Reason:
Note that the recent devel/libffi update caused some breakage in the Haskell
ports with the DYNAMIC option enabled. The problem has been identified and
fixed since then. All Haskell ports have been updated to their latest stable
versions or bumped as DYNAMIC is enabled by default.
Hence it is recommended to rebuild or reinstall all ports depending on GHC
by one of the following commands:
# portmaster -w -r ghc
or
# portupgrade -fr lang/ghc
or
# pkg install -fR lang/ghc
2012-12-20
Affects: users of lang/ghc and */hs-*
Author: haskell@FreeBSD.org
Reason:
Note that the Glorious Glasgow Haskell Compiler has been updated to
version 7.4.2.
Please rebuild or reinstall all dependent ports by issuing one of the
following commands, depending on the tool used:
# portmaster -w -r ghc
or
# portupgrade -fr lang/ghc
or
# pkg install -fR lang/ghc
2012-06-03
Affects: users of lang/ghc and */hs-*
Author: haskell@FreeBSD.org
Reason:
Note that The Glorious Glasgow Haskell Compiler and the Haskell Platform
have been updated to versions 7.4.1 and 2012.2.0.0, respectively. At the
same time, all Haskell ports have been updated to their latest working
versions.
To follow the changes, please issue one of the following commands
(depending on the tool used):
# portmaster -r ghc
or
# portupgrade -fr lang/ghc
2012-02-13
Affects: users of lang/ghc and */hs-*
Author: pgj@FreeBSD.org
Reason:
GHC has been updated to version 7.0.4, and Haskell Platform to version
2011.4.0.0, and other Haskell ports are also updated to their Haskell
Platform versions or latest versions.
To update all affected ports:
# portmaster -r lang/ghc
or
# portupgrade -r lang/ghc
2011-05-09
Affects: users of lang/ghc and */hs-*
Author: ashish@FreeBSD.org
Reason:
GHC has been updated to version 7.0.3 and other Haskell ports are also
updated to their Haskell Platform versions or latest versions.
To update all affected ports:
# portmaster -r lang/ghc
or
# portupgrade -r lang/ghc
Port Moves
port moved here from textproc/pandoc on 2010-05-24 REASON: Renamed: It has become a Cabal transcript
Number of commits found: 20
Commit History - (may be incomplete: see SVNWeb link above for full details)
- Fix a minor dynamic linking problem for certain Haskell Cabal ports
- Add an UPDATING entry for description and instructions
Submitted by: ashish
Approved by: portmgr (miwi)
Obtained from: FreeBSD Haskell
- Fix breakage in the DYNAMIC-enabled ports triggered by the recent
devel/libffi update
- Enable multithreaded build for lang/ghc (i.e. mark MAKE_JOBS_SAFE)
Please note that port revision for all the Haskell ports without version
changes are bumped.
New ports (20):
devel/hs-MonadRandom 0.1.8
devel/hs-base64-conduit 0.5.1
devel/hs-bifunctors 3.2
devel/hs-either 3.1
devel/hs-errors 1.3.1
devel/hs-generic-deriving 1.4.0
(Only the first 15 lines of the commit message are shown above )
- Update The Glorious Glasgow Haskell Compiler to version 7.4.2
- Update Haskell Platform to version 2012.4.0.0
- Update Gtk2Hs to 0.12.4
- Transfer maintainership of math/hs-math-functions to haskell@ [1]
Please note that port revisions for all the Haskell ports without version
changes are bumped.
Some further highlights of the update:
- Trim Makefile headers
- Enable dynamic libraries and dynamic linking by default
- Enable bootstrapping by versions of GHC and HsColour already installed
- Use GCC and binutils from ports
New ports (32):
(Only the first 15 lines of the commit message are shown above )
- Please welcome GHC 7.0.4
GHC in the ports tree has been updated to version 7.0.4 and the port revision
for all the Haskell ports without version changes are bumped. Other per-port
updates are coming soon.
This update also incorporates some improvements for bsd.cabal.mk that makes
working with Haskell ports even easier.
Thanks ashish@ for the help!
Obtained from: FreeBSD Haskell
- Update textproc/hs-tagsoup to 0.12.2.
- Bump PORTREVISION of dependent ports on textproc/hs-tagsoup, i.e.
devel/h-hoogle, science/hs-bio, and textproc/pandoc.
PR: ports/157826
Submitted by: Jin-Sih Lin <linpct@gmail.com>
Bump PORTREVISION of all ports dependent on lang/ghc as during
upgrade, lang/ghc cabal package cache gets invalidated causing all
dependent ports to be reinstalled.
Obtained from: FreeBSD Haskell
- Please welcome GHC 7.0.3
GHC in the ports tree has been updated to 7.0.3 and all other Haskell ports
are also updated to their corresponding Haskell Platform versions, or latest
versions.
We would like to acknowledge the support of the FreeBSD Donations Team and
Eotvos Lorand University, Faculty of Informatics who contributed to the server
that we used for testing.
We would also like to thank all the testers who tested FreeBSD Haskell ports
and provided their feedback.
PR: ports/156642
Approved by: tabthorpe (mentor)
Obtained from: FreeBSD Haskell