Date: Wed, 30 Dec 2009 14:21:35 -0800 (PST) From: Jacula Modyun <jacula@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/142188: [new port]: haskell port devel/hs-haskell-src-exts Message-ID: <200912302221.nBUMLYdb094567@splork.wirewater.yow> Resent-Message-ID: <200912302230.nBUMU2pl024621@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 142188 >Category: ports >Synopsis: [new port]: haskell port devel/hs-haskell-src-exts >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:30: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: haskell-src-exts: Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer. http://www.cs.chalmers.se/~d00nibro/haskell-src-exts/ >How-To-Repeat: >Fix: --- hs-haskell-src-exts.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-haskell-src-exts # hs-haskell-src-exts/Makefile # hs-haskell-src-exts/distinfo # hs-haskell-src-exts/pkg-plist # hs-haskell-src-exts/pkg-descr # echo c - hs-haskell-src-exts mkdir -p hs-haskell-src-exts > /dev/null 2>&1 echo x - hs-haskell-src-exts/Makefile sed 's/^X//' >hs-haskell-src-exts/Makefile << 'a20aecbbb34e705c9fe67d97facf784e' X# New ports collection makefile for: hs-haskell-src-exts X# Date created: December 30 2009 X# Whom: Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com> X# X XPORTNAME= haskell-src-exts XPORTVERSION= 1.5.1 XCATEGORIES= devel haskell XMASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/ XPKGNAMEPREFIX= hs- X XMAINTAINER= jacula@gmail.com XCOMMENT= Manipulating Haskell source X XBUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc \ X hs-happy>=1.17:${PORTSDIR}/devel/hs-happy \ X hs-cpphs>=1.3:${PORTSDIR}/devel/hs-cpphs XRUN_DEPENDS+= ghc:${PORTSDIR}/lang/ghc \ X hs-cpphs>=1.3:${PORTSDIR}/devel/hs-cpphs X XGHC_VERSION= 6.10.4 XHASKELLSRCEXTS_VERSION= ${PORTVERSION} X XGHC_CMD= ${LOCALBASE}/bin/ghc XSETUP_CMD= ./setup X XDOCSDIR= ${PREFIX}/share/doc/${DISTNAME} XHASKELLSRCEXTS_LIBDIR_REL= lib/${DISTNAME} X XPLIST_SUB= GHC_VERSION=${GHC_VERSION} \ X HASKELLSRCEXTS_VERSION=${HASKELLSRCEXTS_VERSION} \ X HASKELLSRCEXTS_LIBDIR_REL=${HASKELLSRCEXTS_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}/${HASKELLSRCEXTS_LIBDIR_REL}/register.sh X Xpost-install: X ${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old X X.include <bsd.port.mk> a20aecbbb34e705c9fe67d97facf784e echo x - hs-haskell-src-exts/distinfo sed 's/^X//' >hs-haskell-src-exts/distinfo << '46e6a461e0ebeae0c5a3590a3e7d8f33' XMD5 (haskell-src-exts-1.5.1.tar.gz) = 37a56e235b600185d8380266fa513b3a XSHA256 (haskell-src-exts-1.5.1.tar.gz) = 889135e90f11dfed4799b07c8b65b2c5063b0465aebb6ab98b87a16609c63346 XSIZE (haskell-src-exts-1.5.1.tar.gz) = 175945 46e6a461e0ebeae0c5a3590a3e7d8f33 echo x - hs-haskell-src-exts/pkg-plist sed 's/^X//' >hs-haskell-src-exts/pkg-plist << '46dceec5e98aea0cbce60cbf3c0f37d6' X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HShaskell-src-exts-%%HASKELLSRCEXTS_VERSION%%.o X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts.hi X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts/Annotated.hi X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts/Annotated/Build.hi X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts/Annotated/ExactPrint.hi X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts/Annotated/Fixity.hi X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts/Annotated/Simplify.hi X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts/Annotated/Syntax.hi X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts/Build.hi X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts/Comments.hi X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts/ExtScheme.hi X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts/Extension.hi X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts/Fixity.hi X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts/InternalParser.hi X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts/Lexer.hi X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts/ParseMonad.hi X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts/ParseSyntax.hi X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts/ParseUtils.hi X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts/Parser.hi X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts/Pretty.hi X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts/SrcLoc.hi X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts/Syntax.hi X%%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHShaskell-src-exts-%%HASKELLSRCEXTS_VERSION%%.a X%%HASKELLSRCEXTS_LIBDIR_REL%%/register.sh X%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE X%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%% X@dirrm %%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts/Annotated X@dirrm %%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Exts X@dirrm %%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell X@dirrm %%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language X@dirrm %%HASKELLSRCEXTS_LIBDIR_REL%%/ghc-%%GHC_VERSION%% X@dirrm %%HASKELLSRCEXTS_LIBDIR_REL%% X@exec /bin/sh %D/%%HASKELLSRCEXTS_LIBDIR_REL%%/register.sh X@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old X@unexec %D/bin/ghc-pkg unregister haskell-src-exts X@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old 46dceec5e98aea0cbce60cbf3c0f37d6 echo x - hs-haskell-src-exts/pkg-descr sed 's/^X//' >hs-haskell-src-exts/pkg-descr << '3c92c66542edd16fe0be7a472ae8f660' XHaskell-Source with Extensions (HSE, haskell-src-exts) Xis an extension of the standard haskell-src package, Xand handles most registered syntactic extensions to Haskell, including: X X * Multi-parameter type classes with functional dependencies X X * Indexed type families (including associated types) X X * Empty data declarations X X * GADTs X X * Implicit parameters X X * Template Haskell X Xand a few more. All extensions implemented in GHC are supported. XApart from these standard extensions, Xit also handles regular patterns as per the HaRP extension Xas well as HSX-style embedded XML syntax. X XFor details on usage, please see the website. X XWWW: http://www.cs.chalmers.se/~d00nibro/haskell-src-exts/ 3c92c66542edd16fe0be7a472ae8f660 exit --- hs-haskell-src-exts.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?200912302221.nBUMLYdb094567>