Date: Wed, 30 Dec 2009 14:05:16 -0800 (PST) From: Jacula Modyun <jacula@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/142181: [new port]: haskell port www/hs-cgi Message-ID: <200912302205.nBUM5E4a091426@splork.wirewater.yow> Resent-Message-ID: <200912302210.nBUMA2ED005179@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 142181 >Category: ports >Synopsis: [new port]: haskell port www/hs-cgi >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:02 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: This is a Haskell library for writing CGI programs. http://hackage.haskell.org/package/cgi >How-To-Repeat: >Fix: --- hs-cgi.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-cgi # hs-cgi/Makefile # hs-cgi/distinfo # hs-cgi/pkg-plist # hs-cgi/pkg-descr # echo c - hs-cgi mkdir -p hs-cgi > /dev/null 2>&1 echo x - hs-cgi/Makefile sed 's/^X//' >hs-cgi/Makefile << '929e24784f93bb6061d196bf7b2d19f7' X# New ports collection makefile for: hs-cgi X# Date created: December 20 2009 X# Whom: Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com> X# X XPORTNAME= cgi XPORTVERSION= 3001.1.7.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 writing CGI programs X XBUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc XRUN_DEPENDS+= ghc:${PORTSDIR}/lang/ghc X XGHC_VERSION= 6.10.4 XCGI_VERSION= ${PORTVERSION} X XGHC_CMD= ${LOCALBASE}/bin/ghc XSETUP_CMD= ./setup X XDOCSDIR= ${PREFIX}/share/doc/${DISTNAME} XCGI_LIBDIR_REL= lib/${DISTNAME} X XPLIST_SUB= GHC_VERSION=${GHC_VERSION} \ X CGI_VERSION=${CGI_VERSION} \ X CGI_LIBDIR_REL=${CGI_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}/${CGI_LIBDIR_REL}/register.sh X Xpost-install: X ${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old X X.include <bsd.port.mk> 929e24784f93bb6061d196bf7b2d19f7 echo x - hs-cgi/distinfo sed 's/^X//' >hs-cgi/distinfo << '36966fdeed9d698883cc1c96982c0255' XMD5 (cgi-3001.1.7.1.tar.gz) = 02b1d2fe6f271a17c1eb8b897fbd1d7f XSHA256 (cgi-3001.1.7.1.tar.gz) = 7d1d710871fffbbec2a33d7288b2959ddbcfd794d47f0122127576c02550b339 XSIZE (cgi-3001.1.7.1.tar.gz) = 21144 36966fdeed9d698883cc1c96982c0255 echo x - hs-cgi/pkg-plist sed 's/^X//' >hs-cgi/pkg-plist << '31737f5c6c2d804684f478fa8a940d5d' X%%CGI_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HScgi-%%CGI_VERSION%%.o X%%CGI_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/CGI.hi X%%CGI_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/CGI/Accept.hi X%%CGI_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/CGI/Compat.hi X%%CGI_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/CGI/Cookie.hi X%%CGI_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/CGI/Header.hi X%%CGI_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/CGI/Monad.hi X%%CGI_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/CGI/Multipart.hi X%%CGI_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/CGI/Protocol.hi X%%CGI_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHScgi-%%CGI_VERSION%%.a X%%CGI_LIBDIR_REL%%/register.sh X%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE X%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%% X@dirrm %%CGI_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/CGI X@dirrm %%CGI_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network X@dirrm %%CGI_LIBDIR_REL%%/ghc-%%GHC_VERSION%% X@dirrm %%CGI_LIBDIR_REL%% X@exec /bin/sh %D/%%CGI_LIBDIR_REL%%/register.sh X@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old X@unexec %D/bin/ghc-pkg unregister cgi X@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old 31737f5c6c2d804684f478fa8a940d5d echo x - hs-cgi/pkg-descr sed 's/^X//' >hs-cgi/pkg-descr << '795744d063ebdfc980f8337fc3f6bc1e' XThis is a Haskell library for writing CGI programs. X XWWW: http://hackage.haskell.org/package/cgi 795744d063ebdfc980f8337fc3f6bc1e exit --- hs-cgi.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912302205.nBUM5E4a091426>