Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Nov 2008 07:57:53 GMT
From:      Samy Al Bahra <sbahra@kerneled.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/129162: New port: textproc/hs-bytestring-csv
Message-ID:  <200811250757.mAP7vrDB049264@www.freebsd.org>
Resent-Message-ID: <200811250800.mAP80DjK008478@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         129162
>Category:       ports
>Synopsis:       New port: textproc/hs-bytestring-csv
>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 Nov 25 08:00:12 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Samy Al Bahra
>Release:        
>Organization:
>Environment:
>Description:
A small library that allows you to parse CSV formatted data efficiently
with Haskell.
>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-bytestring-csv
#	hs-bytestring-csv/Makefile
#	hs-bytestring-csv/distinfo
#	hs-bytestring-csv/pkg-descr
#	hs-bytestring-csv/pkg-plist
#
echo c - hs-bytestring-csv
mkdir -p hs-bytestring-csv > /dev/null 2>&1
echo x - hs-bytestring-csv/Makefile
sed 's/^X//' >hs-bytestring-csv/Makefile << 'b1f3149d9e7a9c0d556d9070987a6407'
X# New ports collection makefile for:	bytestring-csv
X# Date created:				November 25, 2008
X# Whom:					Samy Al Bahra <sbahra@kerneled.org>
X#
X# $FreeBSD$
X
XPORTNAME=	bytestring-csv
XPORTVERSION=	0.1.2
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=	Parse CSV formatted data efficiently with Haskell
X
XBUILD_DEPENDS=	ghc:${PORTSDIR}/lang/ghc		\
X		dlist>=0.4.1:${PORTSDIR}/devel/hs-dlist
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>
b1f3149d9e7a9c0d556d9070987a6407
echo x - hs-bytestring-csv/distinfo
sed 's/^X//' >hs-bytestring-csv/distinfo << '17f42a74a67ec518b05a582411c19d03'
XMD5 (bytestring-csv-0.1.2.tar.gz) = 45adcabc345af6bc8201e254a7de0683
XSHA256 (bytestring-csv-0.1.2.tar.gz) = 19480f2f60c474b18ef507a657daa63b18a40f97a3171883cf9d4b33169df874
XSIZE (bytestring-csv-0.1.2.tar.gz) = 76022
17f42a74a67ec518b05a582411c19d03
echo x - hs-bytestring-csv/pkg-descr
sed 's/^X//' >hs-bytestring-csv/pkg-descr << '349f1cd8b5264c48b02b3793d837ac38'
XA small library that allows you to parse CSV formatted data efficiently
Xwith Haskell.
X
XWWW: http://code.haskell.org/~dons/code/bytestring-csv
349f1cd8b5264c48b02b3793d837ac38
echo x - hs-bytestring-csv/pkg-plist
sed 's/^X//' >hs-bytestring-csv/pkg-plist << '45108b253bd2d59b7db14648dce7aadc'
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/libHSbytestring-csv-%%PORTVERSION%%.a
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/HSbytestring-csv-%%PORTVERSION%%.o
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Text/CSV/ByteString.hi
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Text/CSV/ByteString/Lex.hi
X%%SUBDIR%%/register.sh
Xshare/doc/bytestring-csv-%%PORTVERSION%%/LICENSE
X@dirrm share/doc/bytestring-csv-%%PORTVERSION%%
X@dirrm lib/bytestring-csv-%%PORTVERSION%%/ghc-%%GHC_VERSION%%/Text/CSV/ByteString
X@dirrm lib/bytestring-csv-%%PORTVERSION%%/ghc-%%GHC_VERSION%%/Text/CSV
X@dirrm lib/bytestring-csv-%%PORTVERSION%%/ghc-%%GHC_VERSION%%/Text
X@dirrm lib/bytestring-csv-%%PORTVERSION%%/ghc-%%GHC_VERSION%%
X@dirrm lib/bytestring-csv-%%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 bytestring-csv 
X@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
45108b253bd2d59b7db14648dce7aadc
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811250757.mAP7vrDB049264>