Date: Sun, 03 Jan 2010 15:47:36 -0800 (PST) From: Jacula Modyun <jacula@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/142292: [new port]: haskell port math/hs-probability Message-ID: <201001032347.o03NlVlA026465@splork.wirewater.yow> Resent-Message-ID: <201001032350.o03No3fY036765@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 142292 >Category: ports >Synopsis: [new port]: haskell port math/hs-probability >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jan 03 23:50:03 UTC 2010 >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: 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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001032347.o03NlVlA026465>