Date: Tue, 16 Dec 2008 16:57:43 GMT From: Gabor PALI <pgj@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/129683: New port: devel/hs-pcre-light A lightweight Haskell regex library compatible with Perl 5 Message-ID: <200812161657.mBGGvhD6075298@www.freebsd.org> Resent-Message-ID: <200812161700.mBGH02DP033566@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 129683 >Category: ports >Synopsis: New port: devel/hs-pcre-light A lightweight Haskell regex library compatible with Perl 5 >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 17:00:02 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: A small, efficient and portable Haskell regex library for Perl 5 compatible regular expressions. The PCRE library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5. WWW: http://code.haskell.org/~dons/code/pcre-light >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-pcre-light # hs-pcre-light/Makefile # hs-pcre-light/distinfo # hs-pcre-light/pkg-descr # hs-pcre-light/pkg-plist # echo c - hs-pcre-light mkdir -p hs-pcre-light > /dev/null 2>&1 echo x - hs-pcre-light/Makefile sed 's/^X//' >hs-pcre-light/Makefile << 'ac98456b5ba3f698badf20bff0a207c2' X# New ports collection makefile for: pcre-light X# Date created: December 16, 2008 X# Whom: Gabor Pali <pgj@FreeBSD.org> X# X# $FreeBSD$ X# X XPORTNAME= pcre-light XPORTVERSION= 0.3.1 XCATEGORIES= devel haskell XMASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/ XPKGNAMEPREFIX= hs- X XMAINTAINER= haskell@FreeBSD.org XCOMMENT= A lightweight Haskell regex library compatible with Perl 5 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> ac98456b5ba3f698badf20bff0a207c2 echo x - hs-pcre-light/distinfo sed 's/^X//' >hs-pcre-light/distinfo << '4d92f7ea3be49e09af5e0012d057b773' XMD5 (pcre-light-0.3.1.tar.gz) = 14d8d6e2fd200c385b1d63c888794014 XSHA256 (pcre-light-0.3.1.tar.gz) = 3585c3f0acccf866a958e78bf7192184d021f83e5e6f88e74fa53389b78318c0 XSIZE (pcre-light-0.3.1.tar.gz) = 28824 4d92f7ea3be49e09af5e0012d057b773 echo x - hs-pcre-light/pkg-descr sed 's/^X//' >hs-pcre-light/pkg-descr << 'faca0fd6de8ce8c7a4adead21e9f980f' XA small, efficient and portable Haskell regex library for Perl 5 Xcompatible regular expressions. X XThe PCRE library is a set of functions that implement regular expression Xpattern matching using the same syntax and semantics as Perl 5. X XWWW: http://code.haskell.org/~dons/code/pcre-light faca0fd6de8ce8c7a4adead21e9f980f echo x - hs-pcre-light/pkg-plist sed 's/^X//' >hs-pcre-light/pkg-plist << 'da80d4d6b9697ed017aa5b6eed12dec9' X%%SUBDIR%%/ghc-%%GHC_VERSION%%/HSpcre-light-%%PORTVERSION%%.o X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Text/Regex/PCRE/Light.hi X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Text/Regex/PCRE/Light/Base.hi X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Text/Regex/PCRE/Light/Char8.hi X%%SUBDIR%%/ghc-%%GHC_VERSION%%/libHSpcre-light-%%PORTVERSION%%.a X%%SUBDIR%%/register.sh Xshare/doc/pcre-light-%%PORTVERSION%%/LICENSE X@dirrm share/doc/pcre-light-%%PORTVERSION%% X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%%/Text/Regex/PCRE/Light X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%%/Text/Regex/PCRE X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%%/Text/Regex X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%%/Text 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 pcre-light X@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old X X da80d4d6b9697ed017aa5b6eed12dec9 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812161657.mBGGvhD6075298>