Date: Tue, 16 Dec 2008 13:13:05 GMT From: Gabor PALI <pgj@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/129678: New port: devel/hs-binary Efficient binary serialisation for Haskell Message-ID: <200812161313.mBGDD5SJ056938@www.freebsd.org> Resent-Message-ID: <200812161320.mBGDK0fE069350@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 129678 >Category: ports >Synopsis: New port: devel/hs-binary Efficient binary serialisation for Haskell >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: Tue Dec 16 13:20:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Gabor PALI >Release: 7.1-PRERELEASE >Organization: The FreeBSD Project >Environment: FreeBSD kolbasz 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #2: Mon Dec 8 02:19:56 CET 2008 pgj@kolbasz:/usr/obj/usr/src/sys/GEN-DTRACE-USB_KMOD i386 >Description: Efficient, pure binary serialisation using lazy ByteStrings. Haskell values may be encoded to and from binary formats, written to disk as binary, or sent over the network. Serialisation speeds of over 1 G/sec have been observed, so this library should be suitable for high performance scenarios. WWW: http://code.haskell.org/binary/ >How-To-Repeat: >Fix: Patch attached with submission follows: # 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-binary # hs-binary/Makefile # hs-binary/distinfo # hs-binary/pkg-descr # hs-binary/pkg-plist # echo c - hs-binary mkdir -p hs-binary > /dev/null 2>&1 echo x - hs-binary/Makefile sed 's/^X//' >hs-binary/Makefile << '4cc0ea30a53681df9ac7a087b49567cc' X# New ports collection makefile for: binary X# Date created: December 15, 2008 X# Whom: Gabor Pali <pgj@FreeBSD.org> X# X# $FreeBSD$ X# X XPORTNAME= binary XPORTVERSION= 0.4.4 XCATEGORIES= devel haskell XMASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/ XPKGNAMEPREFIX= hs- X XMAINTAINER= haskell@FreeBSD.org XCOMMENT= Efficient binary serialisation for Haskell X XBUILD_DEPENDS= ghc>=6.8:${PORTSDIR}/lang/ghc X XCABAL= ${LOCALBASE}/bin/runghc Setup.lhs XGHC_VERSION= `${LOCALBASE}/bin/ghc --numeric-version` XSUBDIR= lib/${PORTNAME}-${PORTVERSION} XPLIST_SUB= GHC_VERSION="${GHC_VERSION}" \ X PORTVERSION=${PORTVERSION} \ X SUBDIR=${SUBDIR} X Xdo-configure: X cd ${WRKSRC} && ${CABAL} configure --prefix=${PREFIX} --ghc X Xdo-build: X cd ${WRKSRC} && ${CABAL} build && ${CABAL} register --gen-script X Xdo-install: X cd ${WRKSRC} && ${CABAL} install X ${INSTALL_SCRIPT} ${WRKSRC}/register.sh ${PREFIX}/${SUBDIR}/register.sh X X.include <bsd.port.mk> 4cc0ea30a53681df9ac7a087b49567cc echo x - hs-binary/distinfo sed 's/^X//' >hs-binary/distinfo << '20ff9264b0a62063a50fbc9c8a1f7b34' XMD5 (binary-0.4.4.tar.gz) = 48fc6454e82e0aec7f648be107bfc0b8 XSHA256 (binary-0.4.4.tar.gz) = 23dac14ce7eb7542e19b1ae6f8bec78e95c65ef8364416df43aa2b1751949536 XSIZE (binary-0.4.4.tar.gz) = 41466 20ff9264b0a62063a50fbc9c8a1f7b34 echo x - hs-binary/pkg-descr sed 's/^X//' >hs-binary/pkg-descr << '7c168c07cf2a99d859c413c70da971ca' XEfficient, pure binary serialisation using lazy ByteStrings. Haskell Xvalues may be encoded to and from binary formats, written to disk as Xbinary, or sent over the network. Serialisation speeds of over 1 G/sec Xhave been observed, so this library should be suitable for high Xperformance scenarios. X XWWW: http://code.haskell.org/binary/ 7c168c07cf2a99d859c413c70da971ca echo x - hs-binary/pkg-plist sed 's/^X//' >hs-binary/pkg-plist << 'b9a03651d2c07c4e679e670f2529c629' X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/Binary.hi X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/Binary/Builder.hi X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/Binary/Get.hi X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/Binary/Put.hi X%%SUBDIR%%/ghc-%%GHC_VERSION%%/HSbinary-%%PORTVERSION%%.o X%%SUBDIR%%/ghc-%%GHC_VERSION%%/libHSbinary-%%PORTVERSION%%.a X%%SUBDIR%%/register.sh Xshare/doc/binary-%%PORTVERSION%%/LICENSE X@dirrm share/doc/binary-%%PORTVERSION%% X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/Binary X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%%/Data X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%% X@dirrm %%SUBDIR%% X@exec /bin/sh %D/%%SUBDIR%%/register.sh X@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old X@unexec %D/bin/ghc-pkg unregister binary X@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old b9a03651d2c07c4e679e670f2529c629 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812161313.mBGDD5SJ056938>