git.iko.soy/typeable/pandoc
on master help sign in
Removed freebsd and macports directories.

They are no longer up to date. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1814 788f1e2b-df1e-0410-8736-df70ead52e1b

commit811ef9a0b847d9c7680f65980186fa18b8d72b21 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateSun 17 Jan 2010, 00:28 (17 years ago) parent79a8862
3 files changed−131
freebsd/Makefile.in−46 freebsd/pkg-descr−20 macports/Portfile.in−65
freebsd/Makefile.indeleted−46
@@ -1,46 +0,0 @@
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.2 2007/05/19 20:24:07 flz Exp $
6−#
7−
8−PORTNAME= pandoc
9−PORTVERSION= @VERSION@
10−CATEGORIES= textproc haskell
11−MASTER_SITES= http://pandoc.googlecode.com/files/
12−
13−MAINTAINER= jgm@berkeley.edu
14−COMMENT= A general markup converter
15−
16−BUILD_DEPENDS= ghc>=6.6:${PORTSDIR}/lang/ghc
17−
18−MANCOMPRESSED= no
19−MAN1= pandoc.1 markdown2pdf.1 html2markdown.1 hsmarkdown.1
20−
21−USE_GMAKE= yes
22−USE_PERL5= yes
23−
24−PLIST_FILES= bin/pandoc bin/markdown2pdf bin/html2markdown bin/hsmarkdown
25−PORTDOCS= BUGS README README.html
26−SCRIPTS= markdown2pdf hsmarkdown html2markdown
27−
28−do-install:
29− @${INSTALL_PROGRAM} ${WRKSRC}/dist/build/pandoc/pandoc ${PREFIX}/bin
30−.for f in ${DATA_FILES}
31− @${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
32−.endfor
33−.for script in ${SCRIPTS}
34− @${INSTALL_SCRIPT} ${WRKSRC}/${script} ${PREFIX}/bin
35−.endfor
36−.for man in ${MAN1}
37− @${INSTALL_MAN} ${WRKSRC}/man/man1/${man} ${PREFIX}/man/man1
38−.endfor
39−.if !defined(NOPORTDOCS)
40− @${MKDIR} ${DOCSDIR}
41−.for doc in ${PORTDOCS}
42− @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
43−.endfor
44−.endif
45−
46−.include <bsd.port.mk>
freebsd/pkg-descrdeleted−20
@@ -1,20 +0,0 @@
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, ConTeXt, DocBook XML, OpenDocument XML, ODT, RTF, GNU
5−Texinfo, MediaWiki markup, groff man pages, and S5 HTML slide shows.
6−
7−Pandoc extends standard markdown syntax with footnotes, embedded LaTeX,
8−and other features. A compatibility mode is provided for those who
9−need a drop-in replacement for Markdown.pl. Included wrapper scripts
10−make it easy to convert markdown documents to PDF and to convert web
11−pages to markdown documents.
12−
13−In contrast to existing tools for converting markdown to HTML, which
14−use regex substitutions, pandoc has a modular design: it consists of a
15−set of readers, which parse text in a given format and produce a native
16−representation of the document, and a set of writers, which convert
17−this native representation into a target format. Thus, adding an input
18−or output format requires only adding a reader or writer.
19−
20−WWW: http://johnmacfarlane.net/pandoc/
macports/Portfile.indeleted−65
@@ -1,65 +0,0 @@
1−# $Id$
2−
3−PortSystem 1.0
4−
5−name pandoc
6−version @VERSION@
7−categories textproc
8−maintainers jgm@berkeley.edu
9−description General markup converter
10−long_description \
11− Pandoc is a command-line tool for converting from one markup format \
12− to another. It can read markdown and (subsets of) reStructuredText, \
13− HTML, and LaTeX, and it can write markdown, reStructuredText, HTML, \
14− LaTeX, ConTeXt, DocBook XML, OpenDocument XML, ODT, RTF, Texinfo, \
15− MediaWiki markup, groff man, and S5 HTML slide shows.
16−
17−homepage http://johnmacfarlane.net/pandoc/
18−platforms darwin
19−master_sites http://pandoc.googlecode.com/files/
20−checksums md5 @TARBALLMD5SUM@
21−depends_build port:ghc port:haddock
22−depends_lib port:gmp
23−
24−use_configure no
25−build.args PREFIX=${prefix}
26−build.target build-all
27−
28−destroot {
29− # install pandoc executable, libraries, and library documentation:
30− system "(cd ${worksrcpath}; ./setup copy --destdir=${destroot})"
31− # strip the pandoc binary:
32− system "strip ${destroot}${prefix}/bin/pandoc"
33− # create scripts to register libraries in post-activate phase:
34− system "(cd ${worksrcpath}; ./setup register --gen-script)"
35− system "(cd ${worksrcpath}; ./setup unregister --gen-script)"
36− # install register/unregister scripts:
37− xinstall -d ${destroot}${prefix}/libexec/${name}-${version}
38− xinstall -m 755 ${worksrcpath}/register.sh \
39− ${destroot}${prefix}/libexec/${name}-${version}
40− xinstall -m 755 ${worksrcpath}/unregister.sh \
41− ${destroot}${prefix}/libexec/${name}-${version}
42− # install shell scripts:
43− xinstall -m 755 -W ${worksrcpath} html2markdown hsmarkdown markdown2pdf \
44− ${destroot}${prefix}/bin
45− # install data file:
46− xinstall -d ${destroot}${prefix}/share/${name}
47− xinstall -m 644 -W ${worksrcpath} odt-styles/reference.odt \
48− ${destroot}${prefix}/share/${name}
49− # install user documentation and man pages:
50− xinstall -d ${destroot}${prefix}/share/doc/${name}
51− xinstall -m 644 -W ${worksrcpath} README README.html COPYRIGHT BUGS \
52− ${destroot}${prefix}/share/doc/${name}
53− xinstall -m 644 -W ${worksrcpath}/man/man1 pandoc.1 hsmarkdown.1 \
54− markdown2pdf.1 html2markdown.1 \
55− ${destroot}${prefix}/share/man/man1
56−}
57−
58−post-activate {
59− # Register the library with the ghc package database:
60− system "${prefix}/libexec/${name}-${version}/register.sh"
61−}
62−
63−#pre-deactivate {
64−# system "${prefix}/libexec/${name}-${version}/unregister.sh"
65−#}