From jacula@gmail.com  Fri Jul 24 18:23:51 2009
Return-Path: <jacula@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3CDDF1065679
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Jul 2009 18:23:51 +0000 (UTC)
	(envelope-from jacula@gmail.com)
Received: from mail-bw0-f219.google.com (mail-bw0-f219.google.com [209.85.218.219])
	by mx1.freebsd.org (Postfix) with ESMTP id A8B198FC08
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Jul 2009 18:23:50 +0000 (UTC)
	(envelope-from jacula@gmail.com)
Received: by bwz19 with SMTP id 19so1552274bwz.43
        for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Jul 2009 11:23:49 -0700 (PDT)
Received: by 10.204.118.207 with SMTP id w15mr16470bkq.97.1248459828815;
        Fri, 24 Jul 2009 11:23:48 -0700 (PDT)
Received: from splork.wirewater.yow (host247-86-dynamic.55-79-r.retail.telecomitalia.it [79.55.86.247])
        by mx.google.com with ESMTPS id 22sm5569261fkq.23.2009.07.24.11.23.48
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Fri, 24 Jul 2009 11:23:48 -0700 (PDT)
Received: from localhost.wirewater.yow [127.0.0.1]
 	by splork.wirewater.yow (Sendmail: 8.14.3/8.14.3) with ESMTP id n6OINl8e004243
 	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Jul 2009 18:23:47 GMT
Received: by splork.wirewater.yow (Sendmail: 8.14.3/8.14.3/Submit) id n6OINlOe004242
	;
 	Fri, 24 Jul 2009 18:23:47 GMT
Message-Id: <200907241823.n6OINlOe004242@splork.wirewater.yow>
Date: Fri, 24 Jul 2009 11:23:48 -0700 (PDT)
From: Jacula Modyun <jacula@gmail.com>
Reply-To: Jacula Modyun <jacula@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [maintainer update]: update of devel/hs-uulib from the 0.9.5 version to the 0.9.10 version
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         137086
>Category:       ports
>Synopsis:       [maintainer update]: update of devel/hs-uulib from the 0.9.5 version to the 0.9.10 version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pgj
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 24 18:30:06 UTC 2009
>Closed-Date:    Wed Sep 02 17:10:10 UTC 2009
>Last-Modified:  Wed Sep 02 17:10:10 UTC 2009
>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:

See the PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137055

>How-To-Repeat:
	
>Fix:

	

--- patch-hs-uulib.diff begins here ---
diff -uNr hs-uulib.orig/Makefile hs-uulib/Makefile
--- hs-uulib.orig/Makefile	2008-07-18 20:05:15.000000000 +0000
+++ hs-uulib/Makefile	2009-07-22 06:25:10.000000000 +0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	uulib
-PORTVERSION=	0.9.5
-PORTREVISION=	1
+PORTVERSION=	0.9.10
 CATEGORIES=	devel haskell
 MASTER_SITES=	http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
 PKGNAMEPREFIX=	hs-
@@ -16,8 +15,9 @@
 COMMENT=	Haskell Utrecht Tools Library
 
 BUILD_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc
+RUN_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc
 
-GHC_VERSION=	6.8.3
+GHC_VERSION=	6.10.4
 UULIB_VERSION=	${PORTVERSION}
 
 GHC_CMD=	${LOCALBASE}/bin/ghc
@@ -30,16 +30,41 @@
 		UULIB_VERSION=${UULIB_VERSION} \
 		UULIB_LIBDIR_REL=${UULIB_LIBDIR_REL}
 
+.if defined(NOPORTDOCS)
+PLIST_SUB+=		NOPORTDOCS=""
+.else
+PLIST_SUB+=		NOPORTDOCS="@comment "
+.endif
+
+.if !defined(NOPORTDOCS)
+
+PORT_HADDOCK!=	(cd  ${.CURDIR}/../../lang/ghc && ${MAKE} -V PORT_HADDOCK)
+.if !empty(PORT_HADDOCK:M?0)
+BUILD_DEPENDS+=	haddock:${PORTSDIR}/devel/hs-haddock
+.endif
+BUILD_DEPENDS+=	HsColour:${PORTSDIR}/print/hs-hscolour
+
+HSCOLOUR_VERSION=	1.13
+HSCOLOUR_DATADIR=	${PREFIX}/share/hscolour-${HSCOLOUR_VERSION}
+
+PORTDOCS=	*
+.endif
+
 .SILENT:
 
 do-configure:
 	cd ${WRKSRC} && ${GHC_CMD} --make Setup.hs -o setup -package Cabal \
-		     && ${SETUP_CMD} configure --prefix=${PREFIX}
+		     && ${SETUP_CMD} configure --haddock-options=-w --prefix=${PREFIX}
 
 do-build:
 	cd ${WRKSRC} && ${SETUP_CMD} build \
 		     && ${SETUP_CMD} register --gen-script
 
+.if !defined(NOPORTDOCS)
+	cd ${WRKSRC} && ${SETUP_CMD} haddock --hyperlink-source \
+					     --hscolour-css=${HSCOLOUR_DATADIR}/hscolour.css
+.endif
+
 do-install:
 	cd ${WRKSRC} && ${SETUP_CMD} install \
 		     && ${INSTALL_SCRIPT} register.sh ${PREFIX}/${UULIB_LIBDIR_REL}/register.sh
diff -uNr hs-uulib.orig/distinfo hs-uulib/distinfo
--- hs-uulib.orig/distinfo	2008-02-28 20:10:17.000000000 +0000
+++ hs-uulib/distinfo	2009-07-13 12:28:53.000000000 +0000
@@ -1,3 +1,3 @@
-MD5 (uulib-0.9.5.tar.gz) = 606dec3a8ea8797421e795336392f02f
-SHA256 (uulib-0.9.5.tar.gz) = 38415725133af464de582dadc7d7e60b1aeb96344b18b239d176bf2181f98563
-SIZE (uulib-0.9.5.tar.gz) =  93618
+MD5 (uulib-0.9.10.tar.gz) = 5db835e7ee4accd902a54eb26c4762d8
+SHA256 (uulib-0.9.10.tar.gz) = 1df7336ed76c278323c2e25ab53ec1afc9eba6a7c918c826e9f783e84479e08f
+SIZE (uulib-0.9.10.tar.gz) = 96312
diff -uNr hs-uulib.orig/pkg-descr hs-uulib/pkg-descr
--- hs-uulib.orig/pkg-descr	2008-02-28 20:10:17.000000000 +0000
+++ hs-uulib/pkg-descr	2009-07-13 12:14:59.000000000 +0000
@@ -7,18 +7,15 @@
 WWW:		http://www.cs.uu.nl/wiki/HUT/AttributeGrammarSystem
 package-url:	http://nix.cs.uu.nl/dist/hut/
 
-exposed-modules:
-	UU.Parsing.CharParser UU.Parsing.Derived
-	UU.Parsing.Interface UU.Parsing.MachineInterface
-	UU.Parsing.Merge UU.Parsing.Offside UU.Parsing.Perms
-	UU.Parsing.StateParser UU.Parsing UU.DData.IntBag 
-	UU.DData.Map UU.DData.MultiSet UU.DData.Queue
-	UU.DData.Scc UU.DData.Seq UU.DData.Set UU.PPrint
-	UU.Pretty.Ext UU.Pretty UU.Scanner.GenToken UU.Scanner.GenTokenOrd
-	UU.Scanner.GenTokenParser UU.Scanner.GenTokenSymbol
-	UU.Scanner.Position UU.Scanner.Scanner
-	UU.Scanner.Token UU.Scanner.TokenParser UU.Scanner.TokenShow
-	UU.Scanner UU.Util.BinaryTrees UU.Util.PermTree UU.Util.Utils
-	UU.Pretty.Basic UU.Parsing.Machine    
-	UU.DData.IntMap  
-	UU.DData.IntSet        
+exposed-modules: UU.Parsing.CharParser UU.Parsing.Derived
+		 UU.Parsing.Interface UU.Parsing.MachineInterface
+		 UU.Parsing.Merge UU.Parsing.Offside UU.Parsing.Perms
+		 UU.Parsing.StateParser UU.Parsing UU.DData.IntBag 
+		 UU.DData.Map UU.DData.MultiSet UU.DData.Queue
+		 UU.DData.Scc UU.DData.Seq UU.DData.Set UU.PPrint
+		 UU.Pretty.Ext UU.Pretty UU.Scanner.GenToken
+		 UU.Scanner.GenTokenOrd UU.Scanner.GenTokenParser
+		 UU.Scanner.GenTokenSymbol UU.Scanner.Position UU.Scanner.Scanner
+		 UU.Scanner.Token UU.Scanner.TokenParser UU.Scanner.TokenShow
+		 UU.Scanner UU.Util.BinaryTrees UU.Util.PermTree UU.Util.Utils
+		 UU.Pretty.Basic UU.Parsing.Machine UU.DData.IntMap UU.DData.IntSet	
diff -uNr hs-uulib.orig/pkg-plist hs-uulib/pkg-plist
--- hs-uulib.orig/pkg-plist	2008-02-28 20:10:17.000000000 +0000
+++ hs-uulib/pkg-plist	2009-07-13 13:11:14.000000000 +0000
@@ -37,8 +37,8 @@
 %%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Util/Utils.hi
 %%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSuulib-%%UULIB_VERSION%%.a
 %%UULIB_LIBDIR_REL%%/register.sh
-%%DOCSDIR%%/COPYRIGHT
-@dirrm %%DOCSDIR%%
+%%NOPORTDOCS%%%%DOCSDIR%%/COPYRIGHT
+%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
 @dirrm %%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Util
 @dirrm %%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Scanner
 @dirrm %%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Pretty
@@ -48,6 +48,6 @@
 @dirrm %%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%
 @dirrm %%UULIB_LIBDIR_REL%%
 @exec /bin/sh %D/%%UULIB_LIBDIR_REL%%/register.sh
-@exec rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
-@unexec if [ -x %D/bin/ghc-pkg ]; then %D/bin/ghc-pkg unregister uulib || /usr/bin/true; fi
-@unexec if [ -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old ]; then rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old || /usr/bin/true; fi
+@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
+@unexec %D/bin/ghc-pkg unregister uulib
+@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
--- patch-hs-uulib.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->haskell 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Jul 24 18:30:19 UTC 2009 
Responsible-Changed-Why:  
haskell@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137086 
Responsible-Changed-From-To: haskell->wxs 
Responsible-Changed-By: wxs 
Responsible-Changed-When: Fri Jul 24 19:32:10 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137086 
Responsible-Changed-From-To: wxs->pgj 
Responsible-Changed-By: pgj 
Responsible-Changed-When: Fri Aug 28 20:16:35 UTC 2009 
Responsible-Changed-Why:  
Over to me. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137086 
State-Changed-From-To: open->closed 
State-Changed-By: pgj 
State-Changed-When: Wed Sep 2 17:09:54 UTC 2009 
State-Changed-Why:  
Committed.  Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137086 
>Unformatted:
