ports/128770: New port: devel/hs-dlist
Samy Al Bahra
sbahra at kerneled.org
Tue Nov 11 00:20:05 UTC 2008
>Number: 128770
>Category: ports
>Synopsis: New port: devel/hs-dlist
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Nov 11 00:20:05 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Samy Al Bahra
>Release:
>Organization:
>Environment:
>Description:
Differences lists are a list-like type supporting O(1) append. This is particularly useful for efficient logging and pretty printing, (e.g. with the Writer monad), where list append quickly becomes too expensive.
>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-dlist
# hs-dlist/Makefile
# hs-dlist/distinfo
# hs-dlist/pkg-descr
# hs-dlist/pkg-plist
#
echo c - hs-dlist
mkdir -p hs-dlist > /dev/null 2>&1
echo x - hs-dlist/Makefile
sed 's/^X//' >hs-dlist/Makefile << 'd8de365335cedb434de7a0601fd80678'
X# New ports collection makefile for: dlist
X# Date created: November 10, 2008
X# Whom: Samy Al Bahra <sbahra at kerneled.org>
X#
X# $FreeBSD$
X
XPORTNAME= dlist
XPORTVERSION= 0.4.1
XCATEGORIES= devel haskell
XMASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/ \
X http://carte.kerneled.org/mirror/
XPKGNAMEPREFIX= hs-
X
XMAINTAINER= sbahra at kerneled.org
XCOMMENT= A list-like type supporting O(1) append for Haskell
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>
d8de365335cedb434de7a0601fd80678
echo x - hs-dlist/distinfo
sed 's/^X//' >hs-dlist/distinfo << '104a5ba9f05ad244a448d6746c8d1129'
XMD5 (dlist-0.4.1.tar.gz) = c1d0bcebbb62a60f56a42cfdc1b32758
XSHA256 (dlist-0.4.1.tar.gz) = 5e3271b7962e002a86c62cd13aa27960ef643cdf87908324a781e9a437898b10
XSIZE (dlist-0.4.1.tar.gz) = 5841
104a5ba9f05ad244a448d6746c8d1129
echo x - hs-dlist/pkg-descr
sed 's/^X//' >hs-dlist/pkg-descr << '8c3392027a0049b934df5dc00ec173a5'
XDifferences lists are a list-like type supporting O(1) append. This is
Xparticularly useful for efficient logging and pretty printing, (e.g.
Xwith the Writer monad), where list append quickly becomes too expensive.
X
XWWW: http://code.haskell.org/~dons/code/dlist/
8c3392027a0049b934df5dc00ec173a5
echo x - hs-dlist/pkg-plist
sed 's/^X//' >hs-dlist/pkg-plist << 'a4b1cdc42f0d053b33a36fde722b78c2'
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/libHSdlist-%%PORTVERSION%%.a
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/HSdlist-%%PORTVERSION%%.o
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/DList.hi
X%%SUBDIR%%/register.sh
Xshare/doc/dlist-%%PORTVERSION%%/LICENSE
X at dirrm share/doc/dlist-%%PORTVERSION%%
X at dirrm lib/dlist-%%PORTVERSION%%/ghc-%%GHC_VERSION%%/Data
X at dirrm lib/dlist-%%PORTVERSION%%/ghc-%%GHC_VERSION%%
X at dirrm lib/dlist-%%PORTVERSION%%
X at exec /bin/sh %D/%%SUBDIR%%/register.sh
X at exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
X at unexec %D/bin/ghc-pkg unregister dlist
X at unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
a4b1cdc42f0d053b33a36fde722b78c2
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list