From nobody@FreeBSD.org  Fri Dec  5 01:34:44 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 932A9106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  5 Dec 2008 01:34:44 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 83CA58FC18
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  5 Dec 2008 01:34:44 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id mB51Yilj015612
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 5 Dec 2008 01:34:44 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id mB51Yibb015611;
	Fri, 5 Dec 2008 01:34:44 GMT
	(envelope-from nobody)
Message-Id: <200812050134.mB51Yibb015611@www.freebsd.org>
Date: Fri, 5 Dec 2008 01:34:44 GMT
From: Samy Al Bahra <sbahra@kerneled.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: textproc/hs-utf8-string
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         129427
>Category:       ports
>Synopsis:       New port: textproc/hs-utf8-string
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 05 01:40:02 UTC 2008
>Closed-Date:    Sat Dec 06 15:32:52 UTC 2008
>Last-Modified:  Sat Dec  6 15:40:04 UTC 2008
>Originator:     Samy Al Bahra
>Release:        
>Organization:
>Environment:
>Description:
A UTF8 layer for IO, ByteStrings 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://github.com/glguy/utf8-string/

>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-utf8-string
#	hs-utf8-string/pkg-plist
#	hs-utf8-string/pkg-descr
#	hs-utf8-string/distinfo
#	hs-utf8-string/Makefile
#
echo c - hs-utf8-string
mkdir -p hs-utf8-string > /dev/null 2>&1
echo x - hs-utf8-string/pkg-plist
sed 's/^X//' >hs-utf8-string/pkg-plist << '4e82f870d7b9f2e9db85fe99b69b2578'
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/libHSutf8-string-%%PORTVERSION%%.a
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/HSutf8-string-%%PORTVERSION%%.o
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Codec/Binary/UTF8/Generic.hi
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Codec/Binary/UTF8/String.hi
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/System/IO/UTF8.hi
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/ByteString/Lazy/UTF8.hi
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/ByteString/UTF8.hi
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/String/UTF8.hi
X%%SUBDIR%%/register.sh
Xshare/doc/utf8-string-%%PORTVERSION%%/LICENSE
X@dirrm share/doc/utf8-string-%%PORTVERSION%%
X@dirrm lib/utf8-string-%%PORTVERSION%%/ghc-%%GHC_VERSION%%/Data/ByteString/Lazy
X@dirrm lib/utf8-string-%%PORTVERSION%%/ghc-%%GHC_VERSION%%/Data/ByteString
X@dirrm lib/utf8-string-%%PORTVERSION%%/ghc-%%GHC_VERSION%%/Data/String
X@dirrm lib/utf8-string-%%PORTVERSION%%/ghc-%%GHC_VERSION%%/Data
X@dirrm lib/utf8-string-%%PORTVERSION%%/ghc-%%GHC_VERSION%%/System/IO
X@dirrm lib/utf8-string-%%PORTVERSION%%/ghc-%%GHC_VERSION%%/System
X@dirrm lib/utf8-string-%%PORTVERSION%%/ghc-%%GHC_VERSION%%/Codec/Binary/UTF8
X@dirrm lib/utf8-string-%%PORTVERSION%%/ghc-%%GHC_VERSION%%/Codec/Binary
X@dirrm lib/utf8-string-%%PORTVERSION%%/ghc-%%GHC_VERSION%%/Codec
X@dirrm lib/utf8-string-%%PORTVERSION%%/ghc-%%GHC_VERSION%%
X@dirrm lib/utf8-string-%%PORTVERSION%%
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 utf8-string 
X@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
4e82f870d7b9f2e9db85fe99b69b2578
echo x - hs-utf8-string/pkg-descr
sed 's/^X//' >hs-utf8-string/pkg-descr << 'dc7df5aa96100f4e7ccde0509369113f'
XA UTF8 layer for IO, ByteStrings and Strings. The utf8-string package provides
Xoperations for encoding UTF8 strings to Word8 lists and back, and for reading
Xand writing UTF8 without truncation. 
X
XWWW: http://github.com/glguy/utf8-string/
dc7df5aa96100f4e7ccde0509369113f
echo x - hs-utf8-string/distinfo
sed 's/^X//' >hs-utf8-string/distinfo << '10282ed0ce0ac9926dbe5898f2fc9fed'
XMD5 (utf8-string-0.3.3.tar.gz) = f311e85aebccffb272ebf3bd49a28c8f
XSHA256 (utf8-string-0.3.3.tar.gz) = a327daab89cbe9d687f0b612422da0e032f8cb4174abcf058e583a94099b40a5
XSIZE (utf8-string-0.3.3.tar.gz) = 7821
10282ed0ce0ac9926dbe5898f2fc9fed
echo x - hs-utf8-string/Makefile
sed 's/^X//' >hs-utf8-string/Makefile << '82ac40d8eab64df1a06690ac5f36a808'
X# New ports collection makefile for:	utf8-string
X# Date created:				December 4, 2008
X# Whom:					Samy Al Bahra <sbahra@kerneled.org>
X#
X# $FreeBSD$
X
XPORTNAME=	utf8-string
XPORTVERSION=	0.3.3
XCATEGORIES=	textproc haskell
XMASTER_SITES=	http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/ \
X		http://carte.kerneled.org/mirror/
XPKGNAMEPREFIX=	hs-
X
XMAINTAINER=	sbahra@kerneled.org
XCOMMENT=	Haskell UTF8 layer for IO, ByteStrings and Strings
X
XBUILD_DEPENDS=	ghc:${PORTSDIR}/lang/ghc
XLIB_DEPENDS=	gmp.7:${PORTSDIR}/math/libgmp4
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>
82ac40d8eab64df1a06690ac5f36a808
exit



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Fri Dec 5 05:23:24 UTC 2008 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129427 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Dec 6 15:32:51 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129427 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/129427: commit references a PR
Date: Sat,  6 Dec 2008 15:33:10 +0000 (UTC)

 miwi        2008-12-06 15:33:01 UTC
 
   FreeBSD ports repository
 
   Modified files:
     textproc             Makefile 
   Added files:
     textproc/hs-utf8-string Makefile distinfo pkg-descr pkg-plist 
   Log:
   A UTF8 layer for IO, ByteStrings 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://github.com/glguy/utf8-string/
   
   PR:             ports/129427
   Submitted by:   Samy Al Bahra <sbahra at kerneled.org>
   
   Revision  Changes    Path
   1.1280    +1 -0      ports/textproc/Makefile
   1.1       +37 -0     ports/textproc/hs-utf8-string/Makefile (new)
   1.1       +3 -0      ports/textproc/hs-utf8-string/distinfo (new)
   1.1       +5 -0      ports/textproc/hs-utf8-string/pkg-descr (new)
   1.1       +26 -0     ports/textproc/hs-utf8-string/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"
 
>Unformatted:
