Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2009 03:07:01 -0800 (PST)
From:      Jacula Modyun <jacula@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/142098: [patch]: update of textproc/hs-haxml from the 1.19.7 version to the 1.20 version
Message-ID:  <200912281106.nBSB6thT042210@splork.wirewater.yow>
Resent-Message-ID: <200912281110.nBSBA1Ns081541@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         142098
>Category:       ports
>Synopsis:       [patch]: update of textproc/hs-haxml from the 1.19.7 version to the 1.20  version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 28 11:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Jacula Modyun
>Release:        FreeBSD 7.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD splork.wirewater.yow 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sat Oct 18 11:22:07 UTC 2008 root@splork.wirewater.yow:/usr/obj/usr/src/sys/JACULA i386


	
>Description:

textproc/hs-haxml from the 1.19.7 version to the 1.20  version

>How-To-Repeat:
	
>Fix:

	

--- patch-hs-haxml begins here ---
diff -uNr hs-haxml.orig/Makefile hs-haxml/Makefile
--- hs-haxml.orig/Makefile	2009-12-06 20:56:53.000000000 +0000
+++ hs-haxml/Makefile	2009-12-28 10:54:04.000000000 +0000
@@ -5,8 +5,7 @@
 # $FreeBSD: ports/textproc/hs-haxml/Makefile,v 1.43 2009/12/06 20:56:53 pgj Exp $
 
 PORTNAME=	haxml
-PORTVERSION=	1.19.7
-PORTREVISION=	1
+PORTVERSION=	1.20
 CATEGORIES=	textproc haskell
 MASTER_SITES=	http://hackage.haskell.org/packages/archive/HaXml/${PORTVERSION}/
 PKGNAMEPREFIX=	hs-
@@ -54,8 +53,6 @@
 PORTDOCS=	*
 .endif
 
-PYSHARE=	${SH} -c '(${FIND} -d $$0 $$2)'
-
 .SILENT:
 
 do-configure:
@@ -67,16 +64,13 @@
 		     && ${SETUP_CMD} register --gen-script
 
 .if !defined(NOPORTDOCS)
-	cd ${WRKSRC} && ${SETUP_CMD} haddock --hyperlink-source \
+	cd ${WRKSRC} && ${SETUP_CMD} haddock --hyperlink-source --executables \
 					     --hscolour-css=${HSCOLOUR_DATADIR}/hscolour.css
 .endif
 
 do-install:
 	cd ${WRKSRC} && ${SETUP_CMD} install \
 		     && ${INSTALL_SCRIPT} register.sh ${PREFIX}/${HAXML_LIBDIR_REL}/register.sh
-.if !defined(NOPORTDOCS)
-	cd ${WRKSRC}/docs && ${COPYTREE_SHARE} \* ${DOCSDIR} " -not -regex HaXml.* "
-.endif
 
 post-install:
 	${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old
diff -uNr hs-haxml.orig/distinfo hs-haxml/distinfo
--- hs-haxml.orig/distinfo	2009-09-02 15:38:42.000000000 +0000
+++ hs-haxml/distinfo	2009-12-28 10:41:46.000000000 +0000
@@ -1,3 +1,3 @@
-MD5 (HaXml-1.19.7.tar.gz) = be31052aeeb4c6d509d6b6071f619242
-SHA256 (HaXml-1.19.7.tar.gz) = 3968bc9da06c4465bf6d63100245fc0d688f7646216b9380c90b970cb2890290
-SIZE (HaXml-1.19.7.tar.gz) = 630148
+MD5 (HaXml-1.20.tar.gz) = 6bba4da9c050b1b92c1a6a95741c0e44
+SHA256 (HaXml-1.20.tar.gz) = e71c3de60035761636a0b55a895ea896d51ce3dd229758098aa81097ab7f9397
+SIZE (HaXml-1.20.tar.gz) = 83947
diff -uNr hs-haxml.orig/files/patch-HaXml.cabal hs-haxml/files/patch-HaXml.cabal
--- hs-haxml.orig/files/patch-HaXml.cabal	2009-09-02 15:38:42.000000000 +0000
+++ hs-haxml/files/patch-HaXml.cabal	1970-01-01 00:00:00.000000000 +0000
@@ -1,11 +0,0 @@
---- HaXml.cabal.orig	2009-07-14 10:01:24.000000000 +0000
-+++ HaXml.cabal	2009-07-14 10:02:19.000000000 +0000
-@@ -52,7 +52,7 @@
-         Text.XML.HaXml.Xtract.Lex,
-         Text.XML.HaXml.Xtract.Parse
-   hs-source-dirs: src
--  build-depends: base, haskell98, polyparse==1.2, filepath
-+  build-depends: base, haskell98, polyparse >=1.2, filepath
-   if flag(splitBase)
-     build-depends: base >= 3, pretty, random, containers
-   else
diff -uNr hs-haxml.orig/pkg-descr hs-haxml/pkg-descr
--- hs-haxml.orig/pkg-descr	2009-09-02 15:38:42.000000000 +0000
+++ hs-haxml/pkg-descr	2009-12-28 10:55:09.000000000 +0000
@@ -2,4 +2,4 @@
 includes a parser for XML, a separate error-correcting parser for HTML, and
 pretty-printers for XML and HTML.
 
-WWW: http://www.haskell.org/HaXml/
+WWW: http://www.cs.york.ac.uk/fp/HaXml/
--- patch-hs-haxml ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912281106.nBSB6thT042210>