From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Dec 30 22:20:04 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CADB1065679 for ; Wed, 30 Dec 2009 22:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6FF0A8FC1A for ; Wed, 30 Dec 2009 22:20:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBUMK4q5015570 for ; Wed, 30 Dec 2009 22:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBUMK4jn015569; Wed, 30 Dec 2009 22:20:04 GMT (envelope-from gnats) Resent-Date: Wed, 30 Dec 2009 22:20:04 GMT Resent-Message-Id: <200912302220.nBUMK4jn015569@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jacula Modyun Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 033EA1065694 for ; Wed, 30 Dec 2009 22:13:46 +0000 (UTC) (envelope-from jacula@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 83ED58FC1D for ; Wed, 30 Dec 2009 22:13:45 +0000 (UTC) Received: by fxm27 with SMTP id 27so11815320fxm.3 for ; Wed, 30 Dec 2009 14:13:39 -0800 (PST) Received: by 10.223.144.195 with SMTP id a3mr2241548fav.103.1262211218660; Wed, 30 Dec 2009 14:13:38 -0800 (PST) Received: from splork.wirewater.yow (host246-84-dynamic.246-95-r.retail.telecomitalia.it [95.246.84.246]) by mx.google.com with ESMTPS id 1sm15216018fks.29.2009.12.30.14.13.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 30 Dec 2009 14:13:38 -0800 (PST) Received: from localhost.wirewater.yow [127.0.0.1] by splork.wirewater.yow (Sendmail: 8.14.3/8.14.3) with ESMTP id nBUMDbeK092710 for ; Wed, 30 Dec 2009 22:13:37 GMT Received: by splork.wirewater.yow (Sendmail: 8.14.3/8.14.3/Submit) id nBUMDaV4092709 ; Wed, 30 Dec 2009 22:13:36 GMT Message-Id: <200912302213.nBUMDaV4092709@splork.wirewater.yow> Date: Wed, 30 Dec 2009 14:13:38 -0800 (PST) From: Jacula Modyun To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/142184: [new port]: haskell port converters/hs-json X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jacula Modyun List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2009 22:20:04 -0000 >Number: 142184 >Category: ports >Synopsis: [new port]: haskell port converters/hs-json >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: Wed Dec 30 22:20:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Jacula Modyun >Release: FreeBSD 7.1-PRERELEASE i386 >Organization: >Environment: System: FreeBSD splork.wirewater.yow 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sat Oct 18 11:22:07 UTC 2008 root@splork.wirewater.yow:/usr/obj/usr/src/sys/JACULA i386 >Description: json: Support for serialising Haskell to and from JSON. http://hackage.haskell.org/package/json >How-To-Repeat: >Fix: --- hs-json.shar begins here --- # 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-json # hs-json/Makefile # hs-json/distinfo # hs-json/pkg-plist # hs-json/pkg-descr # echo c - hs-json mkdir -p hs-json > /dev/null 2>&1 echo x - hs-json/Makefile sed 's/^X//' >hs-json/Makefile << 'b74ccf5d420715afefa134f5da71c405' X# New ports collection makefile for: hs-json X# Date created: December 20 2009 X# Whom: Giuseppe Pilichi aka Jacula Modyun X# X XPORTNAME= json XPORTVERSION= 0.4.3 XCATEGORIES= converters haskell XMASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/ XPKGNAMEPREFIX= hs- X XMAINTAINER= jacula@gmail.com XCOMMENT= Support for serialising Haskell to and from JSON X XBUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc XRUN_DEPENDS+= ghc:${PORTSDIR}/lang/ghc X XGHC_VERSION= 6.10.4 XHSJSON_VERSION= ${PORTVERSION} X XGHC_CMD= ${LOCALBASE}/bin/ghc XSETUP_CMD= ./setup X XDOCSDIR= ${PREFIX}/share/doc/${DISTNAME} XHSJSON_LIBDIR_REL= lib/${DISTNAME} X XPLIST_SUB= GHC_VERSION=${GHC_VERSION} \ X HSJSON_VERSION=${HSJSON_VERSION} \ X HSJSON_LIBDIR_REL=${HSJSON_LIBDIR_REL} X X.if defined(NOPORTDOCS) XPLIST_SUB+= NOPORTDOCS="" X.else XPLIST_SUB+= NOPORTDOCS="@comment " X.endif X X.if !defined(NOPORTDOCS) X XPORT_HADDOCK!= (cd ${.CURDIR}/../../lang/ghc && ${MAKE} -V PORT_HADDOCK) X.if !empty(PORT_HADDOCK:M?0) XBUILD_DEPENDS+= haddock:${PORTSDIR}/devel/hs-haddock X.endif XBUILD_DEPENDS+= HsColour:${PORTSDIR}/print/hs-hscolour X XHSCOLOUR_VERSION= 1.15 XHSCOLOUR_DATADIR= ${PREFIX}/share/hscolour-${HSCOLOUR_VERSION} X XPORTDOCS= * X.endif X X.SILENT: X Xdo-configure: X cd ${WRKSRC} && ${GHC_CMD} --make Setup.hs -o setup -package Cabal \ X && ${SETUP_CMD} configure --haddock-options=-w --prefix=${PREFIX} X Xdo-build: X cd ${WRKSRC} && ${SETUP_CMD} build \ X && ${SETUP_CMD} register --gen-script X X.if !defined(NOPORTDOCS) X cd ${WRKSRC} && ${SETUP_CMD} haddock --hyperlink-source \ X --hscolour-css=${HSCOLOUR_DATADIR}/hscolour.css X.endif X Xdo-install: X cd ${WRKSRC} && ${SETUP_CMD} install \ X && ${INSTALL_SCRIPT} register.sh ${PREFIX}/${HSJSON_LIBDIR_REL}/register.sh X Xpost-install: X ${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old X X.include b74ccf5d420715afefa134f5da71c405 echo x - hs-json/distinfo sed 's/^X//' >hs-json/distinfo << '7146d4bb1b9c85885c4664a40c8bf258' XMD5 (json-0.4.3.tar.gz) = 1af33c67594f69048b69d4aeafeea03e XSHA256 (json-0.4.3.tar.gz) = 56192d1e922cc71ad1aaf31baea8ee7e1f1b862f95bc72f60548caee4a484a87 XSIZE (json-0.4.3.tar.gz) = 22575 7146d4bb1b9c85885c4664a40c8bf258 echo x - hs-json/pkg-plist sed 's/^X//' >hs-json/pkg-plist << 'b65552db203942491ea22011cbddbbc7' X%%HSJSON_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HSjson-%%HSJSON_VERSION%%.o X%%HSJSON_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/JSON.hi X%%HSJSON_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/JSON/Generic.hi X%%HSJSON_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/JSON/Parsec.hi X%%HSJSON_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/JSON/Pretty.hi X%%HSJSON_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/JSON/ReadP.hi X%%HSJSON_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/JSON/String.hi X%%HSJSON_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/JSON/Types.hi X%%HSJSON_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSjson-%%HSJSON_VERSION%%.a X%%HSJSON_LIBDIR_REL%%/register.sh X%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE X%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%% X@dirrm %%HSJSON_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/JSON X@dirrm %%HSJSON_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text X@dirrm %%HSJSON_LIBDIR_REL%%/ghc-%%GHC_VERSION%% X@dirrm %%HSJSON_LIBDIR_REL%% X@exec /bin/sh %D/%%HSJSON_LIBDIR_REL%%/register.sh X@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old X@unexec %D/bin/ghc-pkg unregister json X@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old b65552db203942491ea22011cbddbbc7 echo x - hs-json/pkg-descr sed 's/^X//' >hs-json/pkg-descr << 'e0a9fbe1f3c1373e8d9225d7c7bce76f' XJSON (JavaScript Object Notation) is a lightweight data-interchange Xformat. It is easy for humans to read and write. It is easy for Xmachines to parse and generate. It is based on a subset of the XJavaScript Programming Language, Standard ECMA-262 3rd Edition - XDecember 1999. X XThis library provides a parser and pretty printer for converting Xbetween Haskell values and JSON. X XWWW: http://hackage.haskell.org/package/json e0a9fbe1f3c1373e8d9225d7c7bce76f exit --- hs-json.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: