ports/115562: Update port: textproc/pandoc version 0.4
John MacFarlane
jgm at berkeley.edu
Thu Aug 16 01:10:01 UTC 2007
>Number: 115562
>Category: ports
>Synopsis: Update port: textproc/pandoc version 0.4
>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: Thu Aug 16 01:10:00 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: John MacFarlane
>Release: 6.2-RELEASE
>Organization:
>Environment:
FreeBSD hippo.gateway.2wire.net 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Fri Feb 23 00:26:43 PST 2007 jgm at hippo.gateway.2wire.net:/usr/obj/usr/src/sys/CUSTOM-02-22-07 i386
>Description:
Slightly modified port for a new version of pandoc (0.4).
>How-To-Repeat:
>Fix:
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:
#
# /usr/ports/textproc/pandoc
# /usr/ports/textproc/pandoc/pkg-descr
# /usr/ports/textproc/pandoc/Makefile
# /usr/ports/textproc/pandoc/distinfo
#
echo c - /usr/ports/textproc/pandoc
mkdir -p /usr/ports/textproc/pandoc > /dev/null 2>&1
echo x - /usr/ports/textproc/pandoc/pkg-descr
sed 's/^X//' >/usr/ports/textproc/pandoc/pkg-descr << 'END-of-/usr/ports/textproc/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, ConTeXt, DocBook, RTF, groff man pages, 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-/usr/ports/textproc/pandoc/pkg-descr
echo x - /usr/ports/textproc/pandoc/Makefile
sed 's/^X//' >/usr/ports/textproc/pandoc/Makefile << 'END-of-/usr/ports/textproc/pandoc/Makefile'
X# New ports collection makefile for: pandoc
X# Date created: 9 February 2007
X# Whom: John MacFarlane <jgm at berkeley.edu>
X#
X# $FreeBSD: ports/textproc/pandoc/Makefile,v 1.1 2007/02/11 17:21:55 nox Exp $
X#
X
XPORTNAME= pandoc
XPORTVERSION= 0.4
XCATEGORIES= textproc haskell
XMASTER_SITES= http://pandoc.googlecode.com/files/
XDISTNAME= pandoc-${PORTVERSION}
X
XMAINTAINER= jgm at berkeley.edu
XCOMMENT= A general markup converter
X
XBUILD_DEPENDS= ghc>=6.6:${PORTSDIR}/lang/ghc
X
XMANCOMPRESSED= no
XMAN1= pandoc.1 markdown2pdf.1 html2markdown.1 hsmarkdown.1
X
XUSE_GMAKE= yes
XUSE_PERL5= 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 <bsd.port.mk>
END-of-/usr/ports/textproc/pandoc/Makefile
echo x - /usr/ports/textproc/pandoc/distinfo
sed 's/^X//' >/usr/ports/textproc/pandoc/distinfo << 'END-of-/usr/ports/textproc/pandoc/distinfo'
XMD5 (pandoc-0.4.tar.gz) = be8a21588ce4b37785c6b4fa4f89fe9e
XSHA256 (pandoc-0.4.tar.gz) = faf36389420cb83cf51db8dd04c548bf97970409854756460d5e1572ea7ae69b
XSIZE (pandoc-0.4.tar.gz) = 308979
END-of-/usr/ports/textproc/pandoc/distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list