Date: Fri, 08 Jan 2010 13:47:55 -0800 (PST) From: Jacula Modyun <jacula@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/142490: [new port]: haskell port devel/hs-unamb Message-ID: <201001082147.o08Llrwk026918@splork.wirewater.yow> Resent-Message-ID: <201001082150.o08Lo2Dl085102@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 142490 >Category: ports >Synopsis: [new port]: haskell port devel/hs-unamb >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: Fri Jan 08 21:50:02 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: unamb contains the unambiguous choice operator unamb, which wraps thread racing up in a purely functional, semantically simple wrapper. Originally a part of Reactive, I moved unamb to its own package in order to encourage experimentation. Project wiki page: http://haskell.org/haskellwiki/unamb >How-To-Repeat: >Fix: --- hs-unamb.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-unamb # hs-unamb/Makefile # hs-unamb/distinfo # hs-unamb/pkg-plist # hs-unamb/pkg-descr # echo c - hs-unamb mkdir -p hs-unamb > /dev/null 2>&1 echo x - hs-unamb/Makefile sed 's/^X//' >hs-unamb/Makefile << 'f53221a39e36bb3b6acd818319a1e0c0' X# New ports collection makefile for: hs-unamb X# Date created: December 20 2009 X# Whom: Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com> X# X XPORTNAME= unamb XPORTVERSION= 0.2.2 XCATEGORIES= devel haskell XMASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/ XPKGNAMEPREFIX= hs- X XMAINTAINER= jacula@gmail.com XCOMMENT= Unambiguous choice X XBUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc XRUN_DEPENDS+= ghc:${PORTSDIR}/lang/ghc X XGHC_VERSION= 6.10.4 XUNAMB_VERSION= ${PORTVERSION} X XGHC_CMD= ${LOCALBASE}/bin/ghc XSETUP_CMD= ./setup X XDOCSDIR= ${PREFIX}/share/doc/${DISTNAME} XUNAMB_LIBDIR_REL= lib/${DISTNAME} X XPLIST_SUB= GHC_VERSION=${GHC_VERSION} \ X UNAMB_VERSION=${UNAMB_VERSION} \ X UNAMB_LIBDIR_REL=${UNAMB_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}/${UNAMB_LIBDIR_REL}/register.sh X Xpost-install: X ${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old X X.include <bsd.port.mk> f53221a39e36bb3b6acd818319a1e0c0 echo x - hs-unamb/distinfo sed 's/^X//' >hs-unamb/distinfo << 'd6cb508133b07ee5a039809035632ff7' XMD5 (unamb-0.2.2.tar.gz) = 8418a80d2ba94da77bbcb0e14cf1d95d XSHA256 (unamb-0.2.2.tar.gz) = f2552f212296554b999fb8a7ade9f8957546745e628c9016d304faaf84f72363 XSIZE (unamb-0.2.2.tar.gz) = 7661 d6cb508133b07ee5a039809035632ff7 echo x - hs-unamb/pkg-plist sed 's/^X//' >hs-unamb/pkg-plist << '8163b7f73a1653377162cd079fedde2f' X%%UNAMB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Unamb.hi X%%UNAMB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HSunamb-%%UNAMB_VERSION%%.o X%%UNAMB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSunamb-%%UNAMB_VERSION%%.a X%%UNAMB_LIBDIR_REL%%/register.sh X%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%% X@dirrm %%UNAMB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data X@dirrm %%UNAMB_LIBDIR_REL%%/ghc-%%GHC_VERSION%% X@dirrm %%UNAMB_LIBDIR_REL%% X@exec /bin/sh %D/%%UNAMB_LIBDIR_REL%%/register.sh X@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old X@unexec %D/bin/ghc-pkg unregister unamb X@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old 8163b7f73a1653377162cd079fedde2f echo x - hs-unamb/pkg-descr sed 's/^X//' >hs-unamb/pkg-descr << '667557402640ea68b27b7fb40855576a' Xunamb contains the "unambiguous choice" operator "unamb", which Xwraps thread racing up in a purely functional, semantically simple Xwrapper. Originally a part of Reactive, the author moved unamb Xto its own package in order to encourage experimentation. X XWWW: http://haskell.org/haskellwiki/unamb 667557402640ea68b27b7fb40855576a exit --- hs-unamb.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?201001082147.o08Llrwk026918>