git.iko.soy/typeable/pandoc
on master help sign in
Added freebsd directory, with freebsd port, to repository.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@531 788f1e2b-df1e-0410-8736-df70ead52e1b

commit5a9b7c229dfa3c5b7801dff31a8d2d534b4ab170 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateWed 14 Feb 2007, 17:09 (20 years ago) parent7f65a4e
3 files changed+66
freebsd/Makefile+44 freebsd/distinfo+3 freebsd/pkg-descr+19
freebsd/Makefilenew file+44
@@ -0,0 +1,44 @@
1+# New ports collection makefile for: pandoc
2+# Date created: 9 February 2007
3+# Whom: John MacFarlane <jgm@berkeley.edu>
4+#
5+# $FreeBSD: ports/textproc/pandoc/Makefile,v 1.1 2007/02/11 17:21:55 nox Exp $
6+#
7+
8+PORTNAME= pandoc
9+PORTVERSION= 0.3
10+CATEGORIES= textproc haskell
11+MASTER_SITES= http://pandoc.googlecode.com/files/
12+DISTNAME= pandoc-${PORTVERSION}
13+
14+MAINTAINER= jgm@berkeley.edu
15+COMMENT= A general markup converter
16+
17+BUILD_DEPENDS= ghc>=6.4:${PORTSDIR}/lang/ghc
18+
19+MANCOMPRESSED= no
20+MAN1= pandoc.1 markdown2pdf.1 html2markdown.1 hsmarkdown.1
21+
22+USE_GMAKE= yes
23+USE_PERL5= yes
24+
25+PLIST_FILES= bin/pandoc bin/markdown2pdf bin/html2markdown bin/hsmarkdown
26+PORTDOCS= BUGS README README.html
27+SCRIPTS= hsmarkdown html2markdown markdown2pdf
28+
29+do-install:
30+ @${INSTALL_PROGRAM} ${WRKSRC}/dist/build/pandoc/pandoc ${PREFIX}/bin
31+.for script in ${SCRIPTS}
32+ @${INSTALL_SCRIPT} ${WRKSRC}/${script} ${PREFIX}/bin
33+.endfor
34+.for man in ${MAN1}
35+ @${INSTALL_MAN} ${WRKSRC}/man/man1/${man} ${PREFIX}/man/man1
36+.endfor
37+.if !defined(NOPORTDOCS)
38+ @${MKDIR} ${DOCSDIR}
39+.for doc in ${PORTDOCS}
40+ @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
41+.endfor
42+.endif
43+
44+.include <bsd.port.mk>
freebsd/distinfonew file+3
@@ -0,0 +1,3 @@
1+MD5 (pandoc-0.3.tar.gz) = 08ea5da564b721bd3cd52eee316143a1
2+SHA256 (pandoc-0.3.tar.gz) = b010436d325c8ec67e2f9c238474089f76c895bec3ef19ca13c82da5860a4b05
3+SIZE (pandoc-0.3.tar.gz) = 243335
freebsd/pkg-descrnew file+19
@@ -0,0 +1,19 @@
1+Pandoc is a command-line tool for converting from one markup format
2+to another. It can read markdown and (subsets of) reStructuredText,
3+HTML, and LaTeX, and it can write markdown, reStructuredText, HTML,
4+LaTeX, DocBook, RTF, and S5 HTML slide shows.
5+
6+Pandoc extends standard markdown syntax with footnotes, embedded LaTeX,
7+and other features. A compatibility mode is provided for those who
8+need a drop-in replacement for Markdown.pl. Included wrapper scripts
9+make it easy to convert markdown documents to PDFs and to convert web
10+pages to markdown documents.
11+
12+In contrast to existing tools for converting markdown to HTML, which
13+use regex substitutions, pandoc has a modular design: it consists of a
14+set of readers, which parse text in a given format and produce a native
15+representation of the document, and a set of writers, which convert
16+this native representation into a target format. Thus, adding an input
17+or output format requires only adding a reader or writer.
18+
19+WWW: http://sophos.berkeley.edu/macfarlane/pandoc/