ports/115628: Update port: pandoc (0.41 release)

John MacFarlane jgm at berkeley.edu
Sun Aug 19 17:00:04 UTC 2007


>Number:         115628
>Category:       ports
>Synopsis:       Update port:  pandoc (0.41 release)
>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:   Sun Aug 19 17:00:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     John MacFarlane
>Release:        6.2
>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:
Updated port for pandoc (0.41 release).
>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:                      19 August 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.41
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.41.tar.gz) = 732d5b690dda755c3b0b34d485488dd3
XSHA256 (pandoc-0.41.tar.gz) = e0eb2d5f934c209d6bc3af54c12e59dfa4f33e1e607a5140f5e7f166abb74d2d
XSIZE (pandoc-0.41.tar.gz) = 310303
END-of-/usr/ports/textproc/pandoc/distinfo
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list