From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Feb 10 20:20:17 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7BD9B16A4D5 for ; Sat, 10 Feb 2007 20:20:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 5DB0F13C47E for ; Sat, 10 Feb 2007 20:20:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1AKKH6j020761 for ; Sat, 10 Feb 2007 20:20:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1AKKHGD020760; Sat, 10 Feb 2007 20:20:17 GMT (envelope-from gnats) Resent-Date: Sat, 10 Feb 2007 20:20:17 GMT Resent-Message-Id: <200702102020.l1AKKHGD020760@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, John MacFarlane Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 935F216A400 for ; Sat, 10 Feb 2007 20:16:32 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 857E913C441 for ; Sat, 10 Feb 2007 20:16:32 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l1AKGWpG055338 for ; Sat, 10 Feb 2007 20:16:32 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l1AKGWmI055337; Sat, 10 Feb 2007 20:16:32 GMT (envelope-from nobody) Message-Id: <200702102016.l1AKGWmI055337@www.freebsd.org> Date: Sat, 10 Feb 2007 20:16:32 GMT From: John MacFarlane To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: ports/109028: New port: textproc/pandoc - A general markup converter X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Feb 2007 20:20:17 -0000 >Number: 109028 >Category: ports >Synopsis: New port: textproc/pandoc - A general markup converter >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Feb 10 20:20:16 GMT 2007 >Closed-Date: >Last-Modified: >Originator: John MacFarlane >Release: 6.2-RELEASE >Organization: >Environment: >Description: New port for Pandoc (http://sophos.berkeley.edu/macfarlane/pandoc/): 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, DocBook, RTF, 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 PDFs and to convert web pages to markdown documents. >How-To-Repeat: >Fix: See attached file pandoc-port.shar.txt Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # pandoc/ # pandoc/Makefile # pandoc/distinfo # pandoc/pkg-descr # echo c - pandoc/ mkdir -p pandoc/ > /dev/null 2>&1 echo x - pandoc/Makefile sed 's/^X//' >pandoc/Makefile << 'END-of-pandoc/Makefile' X# New ports collection makefile for: pandoc X# Date created: 9 February 2007 X# Whom: John MacFarlane X# X# $FreeBSD$ X# X XPORTNAME= pandoc XPORTVERSION= 0.3 XCATEGORIES= textproc haskell XMASTER_SITES= http://pandoc.googlecode.com/files/ XDISTNAME= pandoc-${PORTVERSION} X XMAINTAINER= jgm@berkeley.edu XCOMMENT= A general markup converter X XBUILD_DEPENDS= perl>=5.8:${PORTSDIR}/lang/perl5.8 \ X ghc>=6.4:${PORTSDIR}/lang/ghc X XMANCOMPRESSED= no XMAN1= pandoc.1 markdown2pdf.1 html2markdown.1 hsmarkdown.1 X XUSE_GMAKE= yes X XPLIST_FILES= bin/pandoc bin/markdown2pdf bin/html2markdown bin/hsmarkdown XPORTDOCS= BUGS README README.html XSCRIPTS= hsmarkdown html2markdown markdown2pdf X Xdo-install: X @${INSTALL_PROGRAM} ${WRKSRC}/dist/build/pandoc/pandoc ${PREFIX}/bin X.for script in ${SCRIPTS} X @${INSTALL_SCRIPT} ${WRKSRC}/${script} ${PREFIX}/bin X.endfor X.for man in ${MAN1} X @${INSTALL_MAN} ${WRKSRC}/man/man1/${man} ${PREFIX}/man/man1 X.endfor X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for doc in ${PORTDOCS} X @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} X.endfor X.endif X X.include END-of-pandoc/Makefile echo x - pandoc/distinfo sed 's/^X//' >pandoc/distinfo << 'END-of-pandoc/distinfo' XMD5 (pandoc-0.3.tar.gz) = 08ea5da564b721bd3cd52eee316143a1 XSHA256 (pandoc-0.3.tar.gz) = b010436d325c8ec67e2f9c238474089f76c895bec3ef19ca13c82da5860a4b05 XSIZE (pandoc-0.3.tar.gz) = 243335 END-of-pandoc/distinfo echo x - pandoc/pkg-descr sed 's/^X//' >pandoc/pkg-descr << 'END-of-pandoc/pkg-descr' XPandoc is a command-line tool for converting from one markup format Xto another. It can read markdown and (subsets of) reStructuredText, XHTML, and LaTeX, and it can write markdown, reStructuredText, HTML, XLaTeX, DocBook, RTF, and S5 HTML slide shows. X XPandoc extends standard markdown syntax with footnotes, embedded LaTeX, Xand other features. A compatibility mode is provided for those who Xneed a drop-in replacement for Markdown.pl. Included wrapper scripts Xmake it easy to convert markdown documents to PDFs and to convert web Xpages to markdown documents. X XIn contrast to existing tools for converting markdown to HTML, which Xuse regex substitutions, pandoc has a modular design: it consists of a Xset of readers, which parse text in a given format and produce a native Xrepresentation of the document, and a set of writers, which convert Xthis native representation into a target format. Thus, adding an input Xor output format requires only adding a reader or writer. X XWWW: http://sophos.berkeley.edu/macfarlane/pandoc/ END-of-pandoc/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted: