From djf@sphinx.doesntexist.org  Sun Jan 31 21:07:16 2010
Return-Path: <djf@sphinx.doesntexist.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 81C89106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 31 Jan 2010 21:07:16 +0000 (UTC)
	(envelope-from djf@sphinx.doesntexist.org)
Received: from sphinx.doesntexist.org (adsl-84-226-84-152.adslplus.ch [84.226.84.152])
	by mx1.freebsd.org (Postfix) with ESMTP id 9F4848FC12
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 31 Jan 2010 21:07:14 +0000 (UTC)
Received: from sphinx.doesntexist.org (localhost [127.0.0.1])
	by sphinx.doesntexist.org (8.14.3/8.14.3) with ESMTP id o0VL7ThM018507
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 31 Jan 2010 22:07:30 +0100 (CET)
	(envelope-from djf@sphinx.doesntexist.org)
Received: (from root@localhost)
	by sphinx.doesntexist.org (8.14.3/8.14.3/Submit) id o0VL7T0W018506;
	Sun, 31 Jan 2010 22:07:29 +0100 (CET)
	(envelope-from djf)
Message-Id: <201001312107.o0VL7T0W018506@sphinx.doesntexist.org>
Date: Sun, 31 Jan 2010 22:07:29 +0100 (CET)
From: david fries <djf@gmx.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] devel/hs-cabal-install: The command line interface to Cabal and hackage
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         143413
>Category:       ports
>Synopsis:       [NEW PORT] devel/hs-cabal-install: The command line interface to Cabal and hackage
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    haskell
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 31 21:10:04 UTC 2010
>Closed-Date:    Thu May 13 06:01:50 UTC 2010
>Last-Modified:  Thu May 13 06:01:50 UTC 2010
>Originator:     david fries
>Release:        FreeBSD 8.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD sphinx.doesntexist.org 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009
>Description:
The 'cabal' command-line program simplifies the process of managing Haskell
software by automating the fetching, configuration, compilation and
installation of Haskell libraries and programs. 

WWW:	http://hackage.haskell.org/package/cabal-install

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- hs-cabal-install-0.6.4.shar begins here ---
# 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:
#
#	cabal-install
#	cabal-install/pkg-descr
#	cabal-install/Makefile
#	cabal-install/pkg-plist
#	cabal-install/distinfo
#
echo c - cabal-install
mkdir -p cabal-install > /dev/null 2>&1
echo x - cabal-install/pkg-descr
sed 's/^X//' >cabal-install/pkg-descr << '1efc3273169fa250b4475350ba645195'
XThe 'cabal' command-line program simplifies the process of managing Haskell
Xsoftware by automating the fetching, configuration, compilation and
Xinstallation of Haskell libraries and programs. 
X
XWWW:	http://hackage.haskell.org/package/cabal-install
1efc3273169fa250b4475350ba645195
echo x - cabal-install/Makefile
sed 's/^X//' >cabal-install/Makefile << 'bee2167e9c670fd2162d6e6c55da8b19'
X# New ports collection makefile for:	Cabal
X# Date created:		2010-01-31
X# Whom:			david fries <djf@gmx.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	cabal-install
XPORTVERSION=	0.6.4
X#PORTREVISION=	0
X#PORTEPOCH=	0
XCATEGORIES=	devel haskell
XMASTER_SITES=	http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
XPKGNAMEPREFIX=	hs-
X#DIST_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	djf@gmx.ch
XCOMMENT=	The command line interface to Cabal and hackage
X
XBUILD_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc \
X		hs-zlib>=0.4:${PORTSDIR}/archivers/hs-zlib \
X		hs-HTTP>=4000.0.2:${PORTSDIR}/www/hs-HTTP \
X		hs-Cabal>=1.6:${PORTSDIR}/devel/hs-Cabal
XRUN_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc \
X		hs-zlib>=0.4:${PORTSDIR}/archivers/hs-zlib \
X		hs-HTTP>=4000.0.2:${PORTSDIR}/www/hs-HTTP \
X		hs-Cabal>=1.6:${PORTSDIR}/devel/hs-Cabal
X
XGHC_VERSION=	6.10.4
XCABAL_INSTALL_VERSION=	${PORTVERSION}
X
XGHC_CMD=	${LOCALBASE}/bin/ghc
XSETUP_CMD=	./setup
X
XDOCSDIR=	${PREFIX}/share/doc/${DISTNAME}
X
X.SILENT:
X
Xdo-configure:
X	cd ${WRKSRC} && ${GHC_CMD} --make Setup.hs -o setup -package Cabal \
X		     && ${SETUP_CMD} configure --prefix=${PREFIX}
X
Xdo-build:
X	cd ${WRKSRC} && ${SETUP_CMD} build
X
Xdo-install:
X	cd ${WRKSRC} && ${SETUP_CMD} install
X
X.include <bsd.port.mk>
bee2167e9c670fd2162d6e6c55da8b19
echo x - cabal-install/pkg-plist
sed 's/^X//' >cabal-install/pkg-plist << 'b67056299d144c044a81e21e7b365ee7'
Xbin/cabal
X%%DOCSDIR%%/LICENSE
X@dirrm %%DOCSDIR%%
b67056299d144c044a81e21e7b365ee7
echo x - cabal-install/distinfo
sed 's/^X//' >cabal-install/distinfo << '6dc009e18d234f434e126b2374c0fc51'
XMD5 (cabal-install-0.6.4.tar.gz) = 35edc52cdcd00bc33d89d5269e714cc8
XSHA256 (cabal-install-0.6.4.tar.gz) = c0840c534704d29a6789ee501970fbe170c962a96da9645bddaf4c71a97b283e
XSIZE (cabal-install-0.6.4.tar.gz) = 95986
6dc009e18d234f434e126b2374c0fc51
exit
--- hs-cabal-install-0.6.4.shar ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->haskell 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Jan 31 21:10:18 UTC 2010 
Responsible-Changed-Why:  
haskell@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=143413 
State-Changed-From-To: open->analyzed 
State-Changed-By: pgj 
State-Changed-When: Sat Feb 6 23:35:55 UTC 2010 
State-Changed-Why:  
Using cabal-install would interfere with the ports installed through the 
FreeBSD Ports Collection.  While I understand the reason for existence 
(since I am myself ported it more than a year ago), I am not sure that 
this port should be added to the ports tree (at least not in this form). 

A solution for the problem might be to mark every Haskell port 
conflicting with this port, so the user could choose whether he or she 
wants to use cabal-install *only* or the ported Haskell packages. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=143413 
State-Changed-From-To: analyzed->closed 
State-Changed-By: pgj 
State-Changed-When: Thu May 13 06:01:23 UTC 2010 
State-Changed-Why:  
It will be handled as part of a port for Haskell Platform. 

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