Date: Fri, 21 Nov 2008 13:57:21 GMT From: Ashish Shukla <wahjava@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/129048: New Port: devel/hs-utf8-string-ghc Support for reading/writing UTF8 strings for Haskell programs Message-ID: <200811211357.mALDvLUR083142@www.freebsd.org> Resent-Message-ID: <200811211400.mALE0Gkm075351@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 129048 >Category: ports >Synopsis: New Port: devel/hs-utf8-string-ghc Support for reading/writing UTF8 strings for Haskell programs >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 Nov 21 14:00:15 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Ashish Shukla >Release: 8.0-CURRENT >Organization: N/A >Environment: FreeBSD monte-cristo.france 8.0-CURRENT FreeBSD 8.0-CURRENT #21: Mon Nov 10 21:19:13 IST 2008 root@monte-cristo.france:/usr/obj/usr/src/sys/ULE amd64 >Description: A UTF8 layer for IO and Strings. The utf8-string package provides operations for encoding UTF8 strings to Word8 lists and back, and for reading and writing UTF8 without truncation. WWW: http://code.haskell.org/utf8-string/ >How-To-Repeat: >Fix: # 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-utf8-string-ghc/ # hs-utf8-string-ghc/pkg-descr # hs-utf8-string-ghc/Makefile # hs-utf8-string-ghc/pkg-plist # hs-utf8-string-ghc/distinfo # echo c - hs-utf8-string-ghc/ mkdir -p hs-utf8-string-ghc/ > /dev/null 2>&1 echo x - hs-utf8-string-ghc/pkg-descr sed 's/^X//' >hs-utf8-string-ghc/pkg-descr << 'b20a09c9d9d0d6a168af975d81770ccd' XA UTF8 layer for IO and Strings. The utf8-string package Xprovides operations for encoding UTF8 strings to Word8 lists Xand back, and for reading and writing UTF8 without truncation. X XWWW: http://code.haskell.org/utf8-string/ b20a09c9d9d0d6a168af975d81770ccd echo x - hs-utf8-string-ghc/Makefile sed 's/^X//' >hs-utf8-string-ghc/Makefile << '99e621a9c8057592789b0c2af14a5e02' X# New ports collection makefile for: hs-utf8-string-ghc X# Date created: 2008-10-21 X# Whom: Ashish Shukla <wahjava@gmail.com> X# X# $FreeBSD$ X# X XPORTNAME= utf8-string XPORTVERSION= 0.3.1.1 XCATEGORIES= devel haskell XMASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/ XPKGNAMEPREFIX= hs- XPKGNAMESUFFIX= -ghc X XMAINTAINER= wahjava@gmail.com XCOMMENT= Support for reading/writing UTF8 strings for Haskell programs X XBUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc XRUN_DEPENDS= ghc:${PORTSDIR}/lang/ghc X XCABALCMD= ${LOCALBASE}/bin/runghc Setup.lhs XCABALDIR= ${PREFIX}/lib/ghc-${GHC_VERSION}/cabal XGHC_VERSION= 6.8.3 XSUBDIR= lib/${PORTNAME}-${PORTVERSION} XPLIST_SUB+= GHC_VERSION=${GHC_VERSION} \ X PORTVERSION=${PORTVERSION} \ X PORTNAME=${PORTNAME} \ X SUBDIR=lib/ghc-${GHC_VERSION}/cabal XDOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} X XCONFIGURE_ARGS= --ghc --prefix=${PREFIX} --libdir=${CABALDIR} --libsubdir='' --datasubdir='' X X.ifndef (NOPORTDOCS) XBUILD_DEPENDS+= haddock:${PORTSDIR}/devel/hs-haddock X.endif X Xdo-configure: X cd ${WRKSRC} && ${CABALCMD} configure ${CONFIGURE_ARGS} X Xdo-build: X cd ${WRKSRC} && ${CABALCMD} build && ${CABALCMD} --gen-script register X.ifndef (NOPORTDOCS) X cd ${WRKSRC} && ${CABALCMD} haddock X.endif X Xdo-install: X cd ${WRKSRC} && ${CABALCMD} install \ X && ${INSTALL_SCRIPT} ${WRKSRC}/register.sh ${CABALDIR}/${PORTNAME}-register.sh X X.include <bsd.port.mk> 99e621a9c8057592789b0c2af14a5e02 echo x - hs-utf8-string-ghc/pkg-plist sed 's/^X//' >hs-utf8-string-ghc/pkg-plist << '44ee014d558bc01af982d0c6be65e593' X%%SUBDIR%%/Codec/Binary/UTF8/Generic.hi X%%SUBDIR%%/Codec/Binary/UTF8/String.hi X%%SUBDIR%%/Data/ByteString/Lazy/UTF8.hi X%%SUBDIR%%/Data/ByteString/UTF8.hi X%%SUBDIR%%/Data/String/UTF8.hi X%%SUBDIR%%/HSutf8-string-0.3.1.1.o X%%SUBDIR%%/System/IO/UTF8.hi X%%SUBDIR%%/libHSutf8-string-0.3.1.1.a X%%SUBDIR%%/utf8-string-register.sh X%%DOCSDIR%%/LICENSE X%%PORTDOCS%%%%DOCSDIR%%/html/Codec-Binary-UTF8-Generic.html X%%PORTDOCS%%%%DOCSDIR%%/html/Codec-Binary-UTF8-String.html X%%PORTDOCS%%%%DOCSDIR%%/html/Data-ByteString-Lazy-UTF8.html X%%PORTDOCS%%%%DOCSDIR%%/html/Data-ByteString-UTF8.html X%%PORTDOCS%%%%DOCSDIR%%/html/Data-String-UTF8.html X%%PORTDOCS%%%%DOCSDIR%%/html/System-IO-UTF8.html X%%PORTDOCS%%%%DOCSDIR%%/html/doc-index.html X%%PORTDOCS%%%%DOCSDIR%%/html/haddock-util.js X%%PORTDOCS%%%%DOCSDIR%%/html/haddock.css X%%PORTDOCS%%%%DOCSDIR%%/html/haskell_icon.gif X%%PORTDOCS%%%%DOCSDIR%%/html/index.html X%%PORTDOCS%%%%DOCSDIR%%/html/minus.gif X%%PORTDOCS%%%%DOCSDIR%%/html/plus.gif X%%PORTDOCS%%%%DOCSDIR%%/html/utf8-string.haddock X%%PORTDOCS%%@dirrm %%DOCSDIR%%/html X@dirrm %%DOCSDIR%% X@dirrm %%SUBDIR%%/System/IO X@dirrm %%SUBDIR%%/System X@dirrm %%SUBDIR%%/Data/String X@dirrm %%SUBDIR%%/Data/ByteString/Lazy X@dirrm %%SUBDIR%%/Data/ByteString X@dirrm %%SUBDIR%%/Data X@dirrm %%SUBDIR%%/Codec/Binary/UTF8 X@dirrm %%SUBDIR%%/Codec/Binary X@dirrm %%SUBDIR%%/Codec X@exec /bin/sh %D/%%SUBDIR%%/%%PORTNAME%%-register.sh X@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old X@unexec %D/bin/ghc-pkg unregister %%PORTNAME%% X@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old 44ee014d558bc01af982d0c6be65e593 echo x - hs-utf8-string-ghc/distinfo sed 's/^X//' >hs-utf8-string-ghc/distinfo << '75338889e3659dc494647e4e87785ba7' XMD5 (utf8-string-0.3.1.1.tar.gz) = 5fdaeff4c501e0d5e70ec9d99ff9931d XSHA256 (utf8-string-0.3.1.1.tar.gz) = a4f75f409812f1aaa7ecadec4b58e54ee1a343ae3cee75e58e5730ddc5addbb7 XSIZE (utf8-string-0.3.1.1.tar.gz) = 7810 75338889e3659dc494647e4e87785ba7 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811211357.mALDvLUR083142>