aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--freebsd/Makefile.in46
-rw-r--r--freebsd/pkg-descr20
-rw-r--r--macports/Portfile.in65
3 files changed, 0 insertions, 131 deletions
diff --git a/freebsd/Makefile.in b/freebsd/Makefile.in
deleted file mode 100644
index 77748dbbc..000000000
--- a/freebsd/Makefile.in
+++ /dev/null
@@ -1,46 +0,0 @@
-# New ports collection makefile for: pandoc
-# Date created: 9 February 2007
-# Whom: John MacFarlane <jgm@berkeley.edu>
-#
-# $FreeBSD: ports/textproc/pandoc/Makefile,v 1.2 2007/05/19 20:24:07 flz Exp $
-#
-
-PORTNAME= pandoc
-PORTVERSION= @VERSION@
-CATEGORIES= textproc haskell
-MASTER_SITES= http://pandoc.googlecode.com/files/
-
-MAINTAINER= jgm@berkeley.edu
-COMMENT= A general markup converter
-
-BUILD_DEPENDS= ghc>=6.6:${PORTSDIR}/lang/ghc
-
-MANCOMPRESSED= no
-MAN1= pandoc.1 markdown2pdf.1 html2markdown.1 hsmarkdown.1
-
-USE_GMAKE= yes
-USE_PERL5= yes
-
-PLIST_FILES= bin/pandoc bin/markdown2pdf bin/html2markdown bin/hsmarkdown
-PORTDOCS= BUGS README README.html
-SCRIPTS= markdown2pdf hsmarkdown html2markdown
-
-do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/dist/build/pandoc/pandoc ${PREFIX}/bin
-.for f in ${DATA_FILES}
- @${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
-.endfor
-.for script in ${SCRIPTS}
- @${INSTALL_SCRIPT} ${WRKSRC}/${script} ${PREFIX}/bin
-.endfor
-.for man in ${MAN1}
- @${INSTALL_MAN} ${WRKSRC}/man/man1/${man} ${PREFIX}/man/man1
-.endfor
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for doc in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
-.endfor
-.endif
-
-.include <bsd.port.mk>
diff --git a/freebsd/pkg-descr b/freebsd/pkg-descr
deleted file mode 100644
index cff194cfb..000000000
--- a/freebsd/pkg-descr
+++ /dev/null
@@ -1,20 +0,0 @@
-Pandoc is a command-line tool for converting from one markup format
-to another. It can read markdown and (subsets of) reStructuredText,
-HTML, and LaTeX, and it can write markdown, reStructuredText, HTML,
-LaTeX, ConTeXt, DocBook XML, OpenDocument XML, ODT, RTF, GNU
-Texinfo, MediaWiki markup, groff man pages, and S5 HTML slide shows.
-
-Pandoc extends standard markdown syntax with footnotes, embedded LaTeX,
-and other features. A compatibility mode is provided for those who
-need a drop-in replacement for Markdown.pl. Included wrapper scripts
-make it easy to convert markdown documents to PDF and to convert web
-pages to markdown documents.
-
-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/
diff --git a/macports/Portfile.in b/macports/Portfile.in
deleted file mode 100644
index c91cf16dd..000000000
--- a/macports/Portfile.in
+++ /dev/null
@@ -1,65 +0,0 @@
-# $Id$
-
-PortSystem 1.0
-
-name pandoc
-version @VERSION@
-categories textproc
-maintainers jgm@berkeley.edu
-description General markup converter
-long_description \
- Pandoc is a command-line tool for converting from one markup format \
- to another. It can read markdown and (subsets of) reStructuredText, \
- HTML, and LaTeX, and it can write markdown, reStructuredText, HTML, \
- LaTeX, ConTeXt, DocBook XML, OpenDocument XML, ODT, RTF, Texinfo, \
- MediaWiki markup, groff man, and S5 HTML slide shows.
-
-homepage http://johnmacfarlane.net/pandoc/
-platforms darwin
-master_sites http://pandoc.googlecode.com/files/
-checksums md5 @TARBALLMD5SUM@
-depends_build port:ghc port:haddock
-depends_lib port:gmp
-
-use_configure no
-build.args PREFIX=${prefix}
-build.target build-all
-
-destroot {
- # install pandoc executable, libraries, and library documentation:
- system "(cd ${worksrcpath}; ./setup copy --destdir=${destroot})"
- # strip the pandoc binary:
- system "strip ${destroot}${prefix}/bin/pandoc"
- # create scripts to register libraries in post-activate phase:
- system "(cd ${worksrcpath}; ./setup register --gen-script)"
- system "(cd ${worksrcpath}; ./setup unregister --gen-script)"
- # install register/unregister scripts:
- xinstall -d ${destroot}${prefix}/libexec/${name}-${version}
- xinstall -m 755 ${worksrcpath}/register.sh \
- ${destroot}${prefix}/libexec/${name}-${version}
- xinstall -m 755 ${worksrcpath}/unregister.sh \
- ${destroot}${prefix}/libexec/${name}-${version}
- # install shell scripts:
- xinstall -m 755 -W ${worksrcpath} html2markdown hsmarkdown markdown2pdf \
- ${destroot}${prefix}/bin
- # install data file:
- xinstall -d ${destroot}${prefix}/share/${name}
- xinstall -m 644 -W ${worksrcpath} odt-styles/reference.odt \
- ${destroot}${prefix}/share/${name}
- # install user documentation and man pages:
- xinstall -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} README README.html COPYRIGHT BUGS \
- ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath}/man/man1 pandoc.1 hsmarkdown.1 \
- markdown2pdf.1 html2markdown.1 \
- ${destroot}${prefix}/share/man/man1
-}
-
-post-activate {
- # Register the library with the ghc package database:
- system "${prefix}/libexec/${name}-${version}/register.sh"
-}
-
-#pre-deactivate {
-# system "${prefix}/libexec/${name}-${version}/unregister.sh"
-#}