From jacula@gmail.com  Fri Jul 24 18:43:45 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 A57E9106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Jul 2009 18:43:45 +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 279B08FC14
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Jul 2009 18:43:44 +0000 (UTC)
	(envelope-from jacula@gmail.com)
Received: by mail-bw0-f219.google.com with SMTP id 19so1561972bwz.43
        for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Jul 2009 11:43:44 -0700 (PDT)
Received: by 10.204.102.14 with SMTP id e14mr13294bko.183.1248461024648;
        Fri, 24 Jul 2009 11:43:44 -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 31sm5534693fkt.13.2009.07.24.11.43.43
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Fri, 24 Jul 2009 11:43:44 -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 n6OIhhSh009847
 	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Jul 2009 18:43:43 GMT
Received: by splork.wirewater.yow (Sendmail: 8.14.3/8.14.3/Submit) id n6OIhhcr009846
	;
 	Fri, 24 Jul 2009 18:43:43 GMT
Message-Id: <200907241843.n6OIhhcr009846@splork.wirewater.yow>
Date: Fri, 24 Jul 2009 11:43:44 -0700 (PDT)
From: Jacula Modyun <jacula@gmail.com>
Reply-To: Jacula Modyun <jacula@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch]: update of devel/hs-hdoc to ghc-6.10.4
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         137092
>Category:       ports
>Synopsis:       [patch]: update of devel/hs-hdoc to ghc-6.10.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pgj
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 24 18:50:01 UTC 2009
>Closed-Date:    Wed Sep 02 17:11:49 UTC 2009
>Last-Modified:  Wed Sep 02 17:11:49 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-hdoc.diff begins here ---
diff -uNr hs-hdoc.orig/Makefile hs-hdoc/Makefile
--- hs-hdoc.orig/Makefile	2007-05-19 20:02:51.000000000 +0000
+++ hs-hdoc/Makefile	2009-07-16 13:43:50.000000000 +0000
@@ -6,7 +6,7 @@
 
 PORTNAME=	hdoc
 PORTVERSION=	0.8.3
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel haskell
 MASTER_SITES=	http://staff.fmi.uni-passau.de/~groessli/hdoc/
 PKGNAMEPREFIX=	hs-
@@ -15,12 +15,26 @@
 COMMENT=	HTML documentation tool for Haskell
 
 BUILD_DEPENDS=	ghc:${PORTSDIR}/lang/ghc
+LIB_DEPENDS+=	gmp.8:${PORTSDIR}/math/libgmp4
+
+DOCSDIR=	${PREFIX}/share/doc/${DISTNAME}
 
 PLIST_FILES=	bin/hdoc
+.if !defined(NOPORTDOCS)
+PLIST_DIRS=	share/doc/${DISTNAME}
+PLIST_FILES+=	share/doc/${DISTNAME}/hdoc.pdf
+.endif
+
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 
 CONFIGURE_ARGS+=	--prefix=${PREFIX}
 ALL_TARGET=	# empty
 
+post-install:
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${DOCSDIR} && \
+	  cd ${WRKSRC}/docs && ${INSTALL_DATA} hdoc.pdf ${DOCSDIR}
+.endif
+
 .include <bsd.port.mk>
--- patch-hs-hdoc.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:50:17 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

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

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

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

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