From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Dec 30 22:10:02 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 CE2FF106568D for ; Wed, 30 Dec 2009 22:10:02 +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 884CF8FC21 for ; Wed, 30 Dec 2009 22:10:02 +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 nBUMA1j2005171 for ; Wed, 30 Dec 2009 22:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBUMA14k005170; Wed, 30 Dec 2009 22:10:01 GMT (envelope-from gnats) Resent-Date: Wed, 30 Dec 2009 22:10:01 GMT Resent-Message-Id: <200912302210.nBUMA14k005170@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 07E5B106566B for ; Wed, 30 Dec 2009 22:02:56 +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 889B28FC0A for ; Wed, 30 Dec 2009 22:02:55 +0000 (UTC) Received: by fxm27 with SMTP id 27so11809803fxm.3 for ; Wed, 30 Dec 2009 14:02:45 -0800 (PST) Received: by 10.223.92.131 with SMTP id r3mr3844733fam.40.1262210565075; Wed, 30 Dec 2009 14:02:45 -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 z10sm20487162fka.30.2009.12.30.14.02.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 30 Dec 2009 14:02:44 -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 nBUM2hmf090818 for ; Wed, 30 Dec 2009 22:02:43 GMT Received: by splork.wirewater.yow (Sendmail: 8.14.3/8.14.3/Submit) id nBUM2hAA090817 ; Wed, 30 Dec 2009 22:02:43 GMT Message-Id: <200912302202.nBUM2hAA090817@splork.wirewater.yow> Date: Wed, 30 Dec 2009 14:02:44 -0800 (PST) From: Jacula Modyun To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/142180: [new port]: haskell port www/hs-url 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:10:02 -0000 >Number: 142180 >Category: ports >Synopsis: [new port]: haskell port www/hs-url >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:10:01 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: The URL library provides a module Network. URL that makes it easy to work with HTTP URLs. http://www.haskell.org/haskellwiki/Url >How-To-Repeat: >Fix: --- hs-url.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-url # hs-url/Makefile # hs-url/distinfo # hs-url/pkg-plist # hs-url/pkg-descr # echo c - hs-url mkdir -p hs-url > /dev/null 2>&1 echo x - hs-url/Makefile sed 's/^X//' >hs-url/Makefile << 'ac6eb9eaeb52099732a362cfd309c5ad' X# New ports collection makefile for: hs-url X# Date created: December 20 2009 X# Whom: Giuseppe Pilichi aka Jacula Modyun X# X XPORTNAME= url XPORTVERSION= 2.1 XCATEGORIES= www haskell XMASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/ XPKGNAMEPREFIX= hs- X XMAINTAINER= jacula@gmail.com XCOMMENT= A library for working with URLs X XBUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc \ X hs-utf8-string-ghc>=0.3.4:${PORTSDIR}/devel/hs-utf8-string-ghc X XRUN_DEPENDS+= ghc:${PORTSDIR}/lang/ghc \ X hs-utf8-string-ghc>=0.3.4:${PORTSDIR}/devel/hs-utf8-string-ghc X XGHC_VERSION= 6.10.4 XHSURL_VERSION= ${PORTVERSION} X XGHC_CMD= ${LOCALBASE}/bin/ghc XSETUP_CMD= ./setup X XDOCSDIR= ${PREFIX}/share/doc/${DISTNAME} XHSURL_LIBDIR_REL= lib/${DISTNAME} X XPLIST_SUB= GHC_VERSION=${GHC_VERSION} \ X HSURL_VERSION=${HSURL_VERSION} \ X HSURL_LIBDIR_REL=${HSURL_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}/${HSURL_LIBDIR_REL}/register.sh X Xpost-install: X ${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old X X.include ac6eb9eaeb52099732a362cfd309c5ad echo x - hs-url/distinfo sed 's/^X//' >hs-url/distinfo << 'def6fdb4db36b779f2122081fea2cbd9' XMD5 (url-2.1.tar.gz) = edb77448c22faf7cf4e2fab328432c7b XSHA256 (url-2.1.tar.gz) = 75eac84171ff3684e897d95e847c27dd91a17b12ae008f046eeb2629311c3386 XSIZE (url-2.1.tar.gz) = 4036 def6fdb4db36b779f2122081fea2cbd9 echo x - hs-url/pkg-plist sed 's/^X//' >hs-url/pkg-plist << '96ad879c96351654f60df661545a242c' X%%HSURL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HSurl-%%HSURL_VERSION%%.o X%%HSURL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/URL.hi X%%HSURL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSurl-%%HSURL_VERSION%%.a X%%HSURL_LIBDIR_REL%%/register.sh X%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE X%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%% X@dirrm %%HSURL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network X@dirrm %%HSURL_LIBDIR_REL%%/ghc-%%GHC_VERSION%% X@dirrm %%HSURL_LIBDIR_REL%% X@exec /bin/sh %D/%%HSURL_LIBDIR_REL%%/register.sh X@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old X@unexec %D/bin/ghc-pkg unregister url X@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old 96ad879c96351654f60df661545a242c echo x - hs-url/pkg-descr sed 's/^X//' >hs-url/pkg-descr << 'd7897751f03c0047f7e8bd13c95d27fc' XA library for working with URLs. X XWWW: http://www.haskell.org/haskellwiki/Url d7897751f03c0047f7e8bd13c95d27fc exit --- hs-url.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: