ports/129700: [UPDATE] textproc/pandoc - Update to 1.1 and take maintainership

Gabor PALI pgj at FreeBSD.org
Wed Dec 17 01:50:01 UTC 2008


>Number:         129700
>Category:       ports
>Synopsis:       [UPDATE] textproc/pandoc - Update to 1.1 and take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 17 01:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Gabor PALI
>Release:        7.1-PRERELEASE
>Organization:
The FreeBSD Project
>Environment:
FreeBSD kolbasz 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #2: Mon Dec  8 02:19:56 CET 2008     pgj at kolbasz:/usr/obj/usr/src/sys/GEN-DTRACE-USB_KMOD  i386
>Description:
Update from 0.46 to 1.1.  It also includes and option for enabling syntax highlighting support (defaults to "off").  Take maintainership (requested by the actual maintainer).

NOTE: This update requires archivers/hs-zip-archive [1] and textproc/hs-highlighting-kate [2] to be committed.

[1] http://www.freebsd.org/cgi/query-pr.cgi?pr=129679
[2] http://www.freebsd.org/cgi/query-pr.cgi?pr=129690

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/textproc/pandoc/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	6 Mar 2008 22:19:52 -0000	1.6
+++ Makefile	17 Dec 2008 01:33:38 -0000
@@ -6,14 +6,16 @@
 #
 
 PORTNAME=	pandoc
-PORTVERSION=	0.46
+PORTVERSION=	1.1
 CATEGORIES=	textproc haskell
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 
-MAINTAINER=	jgm at berkeley.edu
+MAINTAINER=	pgj at FreeBSD.org
 COMMENT=	A general markup converter
 
-BUILD_DEPENDS=	ghc>=6.6:${PORTSDIR}/lang/ghc
+BUILD_DEPENDS=	ghc>=6.8:${PORTSDIR}/lang/ghc \
+		hs-utf8-string-ghc>=0.3:${PORTSDIR}/devel/hs-utf8-string-ghc \
+		hs-zip-archive>=0.1:${PORTSDIR}/archivers/hs-zip-archive
 
 MANCOMPRESSED=	no
 MAN1=		pandoc.1 markdown2pdf.1 html2markdown.1 hsmarkdown.1
@@ -25,6 +27,15 @@
 PORTDOCS=	BUGS README README.html
 SCRIPTS=	hsmarkdown html2markdown markdown2pdf
 
+OPTIONS=	HIGHLIGHTING "Syntax highlighting support" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_HIGHLIGHTING)
+BUILD_DEPENDS+=	hs-highlighting-kate>=0.2:${PORTSDIR}/textproc/hs-highlighting-kate
+MAKE_ARGS=	CABALOPTS+="-fhighlighting"
+.endif
+
 do-install:
 	@${INSTALL_PROGRAM} ${WRKSRC}/dist/build/pandoc/pandoc ${PREFIX}/bin
 .for script in ${SCRIPTS}
@@ -40,4 +51,4 @@
 .endfor
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/textproc/pandoc/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo	12 Jan 2008 13:10:56 -0000	1.4
+++ distinfo	17 Dec 2008 01:33:38 -0000
@@ -1,3 +1,3 @@
-MD5 (pandoc-0.46.tar.gz) = 9a92a800678767393adab6eb1b69c04b
-SHA256 (pandoc-0.46.tar.gz) = 40d75fb5bf0d8757d896b3ee68cab6c7ac4e351c47ce91feb77a7896e7194abb
-SIZE (pandoc-0.46.tar.gz) = 408031
+MD5 (pandoc-1.1.tar.gz) = 2550a383dda6053907405dedacee860d
+SHA256 (pandoc-1.1.tar.gz) = 0d09d9b500c82c249359db9595c98e9566fd25a1d5d9fed362157a67045aadfc
+SIZE (pandoc-1.1.tar.gz) = 329070


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



More information about the freebsd-ports-bugs mailing list