From jacula@gmail.com  Sun Jan  3 23:47:42 2010
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 730DE106568F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  3 Jan 2010 23:47:42 +0000 (UTC)
	(envelope-from jacula@gmail.com)
Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227])
	by mx1.freebsd.org (Postfix) with ESMTP id F29948FC19
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  3 Jan 2010 23:47:41 +0000 (UTC)
Received: by fxm27 with SMTP id 27so356052fxm.3
        for <FreeBSD-gnats-submit@freebsd.org>; Sun, 03 Jan 2010 15:47:37 -0800 (PST)
Received: by 10.223.32.206 with SMTP id e14mr21099378fad.3.1262562456845;
        Sun, 03 Jan 2010 15:47:36 -0800 (PST)
Received: from splork.wirewater.yow ([95.237.31.42])
        by mx.google.com with ESMTPS id 1sm20446559fks.59.2010.01.03.15.47.36
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Sun, 03 Jan 2010 15:47:36 -0800 (PST)
Received: from localhost.wirewater.yow [127.0.0.1]
 	by splork.wirewater.yow (Sendmail: 8.14.3/8.14.3) with ESMTP id o03NlW0N026466
 	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 3 Jan 2010 23:47:32 GMT
Received: by splork.wirewater.yow (Sendmail: 8.14.3/8.14.3/Submit) id o03NlVlA026465
	;
 	Sun, 3 Jan 2010 23:47:31 GMT
Message-Id: <201001032347.o03NlVlA026465@splork.wirewater.yow>
Date: Sun, 03 Jan 2010 15:47:36 -0800 (PST)
From: Jacula Modyun <jacula@gmail.com>
Reply-To: Jacula Modyun <jacula@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [new port]: haskell port math/hs-probability
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         142292
>Category:       ports
>Synopsis:       [new port]: haskell port math/hs-probability
>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 03 23:50:03 UTC 2010
>Closed-Date:    Mon Jan 04 09:22:40 UTC 2010
>Last-Modified:  Mon Jan 04 09:22:40 UTC 2010
>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:

The Library allows exact computation with discrete random variables in terms
of their distributions by using a monad.
The monad is similar to the List monad for non-deterministic computations, but
extends the List monad by a measure of probability.
Small interface to R plotting.

http://haskell.org/haskellwiki/Probabilistic_Functional_Programming

>How-To-Repeat:
	
>Fix:

	

--- hs-probability.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:
#
#	hs-probability
#	hs-probability/Makefile
#	hs-probability/distinfo
#	hs-probability/pkg-plist
#	hs-probability/pkg-descr
#
echo c - hs-probability
mkdir -p hs-probability > /dev/null 2>&1
echo x - hs-probability/Makefile
sed 's/^X//' >hs-probability/Makefile << '8cb23d630451fa4fb58acee3daa069c1'
X# New ports collection makefile for: hs-probability
X# Date created:        December 20 2009
X# Whom:                Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
X#
X
XPORTNAME=	probability
XPORTVERSION=	0.2.2
XCATEGORIES=	math haskell
XMASTER_SITES=	http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
XPKGNAMEPREFIX=	hs-
X
XMAINTAINER=	jacula@gmail.com
XCOMMENT=	Probabilistic Functional Programming
X
XBUILD_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc \
X		hs-transformers>=0.0.1:${PORTSDIR}/devel/hs-transformers
XRUN_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc \
X		hs-transformers>=0.0.1:${PORTSDIR}/devel/hs-transformers
X
XGHC_VERSION=		6.10.4
XPROBABILITY_VERSION=	${PORTVERSION}
X
XGHC_CMD=	${LOCALBASE}/bin/ghc
XSETUP_CMD=	./setup
X
XDATADIR=		${PREFIX}/share/${DISTNAME}
XDOCSDIR=		${PREFIX}/share/doc/${DISTNAME}
XPROBABILITY_LIBDIR_REL=	lib/${DISTNAME}
X
XPLIST_SUB=	GHC_VERSION=${GHC_VERSION} \
X		PROBABILITY_VERSION=${PROBABILITY_VERSION} \
X		PROBABILITY_LIBDIR_REL=${PROBABILITY_LIBDIR_REL}
X
X.if defined(NOPORTDOCS)
XPLIST_SUB+=	NOPORTDOCS=""
X.else
XPLIST_SUB+=	NOPORTDOCS="@comment "
X.endif
X
X.if !defined(NOPORTDOCS)
X
XPORT_HADDOCK!=	(cd  ${.CURDIR}/../../lang/ghc && ${MAKE} -V PORT_HADDOCK)
X.if !empty(PORT_HADDOCK:M?0)
XBUILD_DEPENDS+=	haddock:${PORTSDIR}/devel/hs-haddock
X.endif
XBUILD_DEPENDS+=	HsColour:${PORTSDIR}/print/hs-hscolour
X
XHSCOLOUR_VERSION=	1.15
XHSCOLOUR_DATADIR=	${PREFIX}/share/hscolour-${HSCOLOUR_VERSION}
X
XPORTDOCS=	*
X.endif
X
X.SILENT:
X
Xdo-configure:
X	cd ${WRKSRC} && ${GHC_CMD} --make Setup.lhs -o setup -package Cabal \
X		     && ${SETUP_CMD} configure --haddock-options=-w --prefix=${PREFIX}
X
Xdo-build:
X	cd ${WRKSRC} && ${SETUP_CMD} build \
X		     && ${SETUP_CMD} register --gen-script
X
X.if !defined(NOPORTDOCS)
X	cd ${WRKSRC} && ${SETUP_CMD} haddock --hyperlink-source \
X					     --hscolour-css=${HSCOLOUR_DATADIR}/hscolour.css
X.endif
X
Xdo-install:
X	cd ${WRKSRC} && ${SETUP_CMD} install \
X		     && ${INSTALL_SCRIPT} register.sh ${PREFIX}/${PROBABILITY_LIBDIR_REL}/register.sh
X
Xpost-install:
X	${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old
X
X.include <bsd.port.mk>
8cb23d630451fa4fb58acee3daa069c1
echo x - hs-probability/distinfo
sed 's/^X//' >hs-probability/distinfo << '79620cfa2c4ecf9a50958f7ea5cfb2af'
XMD5 (probability-0.2.2.tar.gz) = e0b4eef29e488ecabf9b5883c1205a3c
XSHA256 (probability-0.2.2.tar.gz) = 8849f6f6cc6d33be0c44321f03853ae1eada252bf1d72aefa7638a31f4708128
XSIZE (probability-0.2.2.tar.gz) = 22984
79620cfa2c4ecf9a50958f7ea5cfb2af
echo x - hs-probability/pkg-plist
sed 's/^X//' >hs-probability/pkg-plist << '9875254997bb9ef86b22735eca07a916'
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HSprobability-%%PROBABILITY_VERSION%%.o
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Distribution.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Example/Alarm.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Example/Barber.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Example/Bayesian.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Example/Boys.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Example/Collection.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Example/Diagnosis.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Example/Dice.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Example/DiceAccum.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Example/MontyHall.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Example/NBoys.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Example/Predator.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Example/Profession.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Example/Queuing.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Example/TreeGrowth.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Expectation.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Monad.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Object.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Percentage.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/PrintList.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Random.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Shape.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Show.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Simulation.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Trace.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Transition.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Visualize.hi
X%%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSprobability-%%PROBABILITY_VERSION%%.a
X%%PROBABILITY_LIBDIR_REL%%/register.sh
X%%NOPORTDOCS%%%%DOCSDIR%%/COPYRIGHT
X%%DATADIR%%/README
X%%DATADIR%%/ToDo
X@dirrmtry %%DATADIR%%
X%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
X@dirrm %%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability/Example
X@dirrm %%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric/Probability
X@dirrm %%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Numeric
X@dirrm %%PROBABILITY_LIBDIR_REL%%/ghc-%%GHC_VERSION%%
X@dirrm %%PROBABILITY_LIBDIR_REL%%
X@exec /bin/sh %D/%%PROBABILITY_LIBDIR_REL%%/register.sh
X@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
X@unexec %D/bin/ghc-pkg unregister probability
X@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
9875254997bb9ef86b22735eca07a916
echo x - hs-probability/pkg-descr
sed 's/^X//' >hs-probability/pkg-descr << '9c151131c65d77db5acc4119361a8ad9'
XThe Library allows exact computation with discrete random variables
Xin terms of their distributions by using a monad.
XThe monad is similar to the List monad for non-deterministic computations,
Xbut extends the List monad by a measure of probability.
XSmall interface to R plotting.
X
XWWW: http://haskell.org/haskellwiki/Probabilistic_Functional_Programming
9c151131c65d77db5acc4119361a8ad9
exit
--- hs-probability.shar ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->haskell 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Jan 3 23:50: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=142292 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/142292: commit references a PR
Date: Mon,  4 Jan 2010 09:14:01 +0000 (UTC)

 pgj         2010-01-04 09:13:47 UTC
 
   FreeBSD ports repository
 
   Modified files:
     math                 Makefile 
   Added files:
     math/hs-probability  Makefile distinfo pkg-descr pkg-plist 
   Log:
   This Haskell library allows exact computation with discrete random variables
   in terms of their distributions by using a monad.
   The monad is similar to the List monad for non-deterministic computations,
   but extends the List monad by a measure of probability.
   Small interface to R plotting.
   
   WWW: http://haskell.org/haskellwiki/Probabilistic_Functional_Programming
   
   PR:             ports/142292
   Submitted by:   Jacula Modyun <jacula(at)gmail.com>
   
   Revision  Changes    Path
   1.628     +1 -0      ports/math/Makefile
   1.1       +85 -0     ports/math/hs-probability/Makefile (new)
   1.1       +3 -0      ports/math/hs-probability/distinfo (new)
   1.1       +7 -0      ports/math/hs-probability/pkg-descr (new)
   1.1       +42 -0     ports/math/hs-probability/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: pgj 
State-Changed-When: Mon Jan 4 09:22:10 UTC 2010 
State-Changed-Why:  
Your port has been committed.  Thank you for submitting it! 

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