Date: Sun, 31 Jan 2010 17:18:21 +0100 (CET) From: david fries <djf@gmx.ch> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/143409: [NEW PORT] devel/hs-Cabal: Common Architecture for Building Applications and Libraries Message-ID: <201001311618.o0VGILCj080344@sphinx.doesntexist.org> Resent-Message-ID: <201001311700.o0VH09VT090113@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 143409 >Category: ports >Synopsis: [NEW PORT] devel/hs-Cabal: Common Architecture for Building Applications and Libraries >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: Sun Jan 31 17:00:09 UTC 2010 >Closed-Date: >Last-Modified: >Originator: david fries >Release: FreeBSD 8.0-RELEASE i386 >Organization: >Environment: System: FreeBSD sphinx.nodomain.org 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 >Description: Cabal is a system for building and packaging Haskell libraries and programs It defines a common interface for package authors and distributors to easily build their applications in a portable way. Cabal is part of a larger infrastructure for distributing, organizing, and cataloging Haskell libraries and programs. Specifically, the Cabal describes what a Haskell package is, how these packages interact with the language, and what Haskell implementations must to do to support packages. The Cabal also specifies some infrastructure (code) that makes it easy for tool authors to build and distribute conforming packages. The Cabal is only one contribution to the larger goal. In particular, the Cabal says nothing about more global issues such as how authors decide where in the module name space their library should live; how users can find a package they want; how orphan packages find new owners; and so on. WWW: http://www.haskell.org/cabal/ Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- hs-Cabal-1.6.0.2.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: # # Cabal # Cabal/pkg-descr # Cabal/Makefile # Cabal/pkg-plist # Cabal/distinfo # echo c - Cabal mkdir -p Cabal > /dev/null 2>&1 echo x - Cabal/pkg-descr sed 's/^X//' >Cabal/pkg-descr << 'de5ec18830fd5946740039c3535017f7' XCabal is a system for building and packaging Haskell libraries and programs It Xdefines a common interface for package authors and distributors to easily build Xtheir applications in a portable way. Cabal is part of a larger infrastructure Xfor distributing, organizing, and cataloging Haskell libraries and programs. X XSpecifically, the Cabal describes what a Haskell package is, how these packages Xinteract with the language, and what Haskell implementations must to do to Xsupport packages. The Cabal also specifies some infrastructure (code) that makes Xit easy for tool authors to build and distribute conforming packages. X XThe Cabal is only one contribution to the larger goal. In particular, the Cabal Xsays nothing about more global issues such as how authors decide where in the Xmodule name space their library should live; how users can find a package they Xwant; how orphan packages find new owners; and so on. X XWWW: http://www.haskell.org/cabal/ de5ec18830fd5946740039c3535017f7 echo x - Cabal/Makefile sed 's/^X//' >Cabal/Makefile << '3d0459706e2ee5635c0414d6ac142619' X# New ports collection makefile for: Cabal X# Date created: 2010-01-31 X# Whom: david fries <djf@gmx.ch> X# X# $FreeBSD$ X# X XPORTNAME= Cabal XPORTVERSION= 1.6.0.2 X#PORTREVISION= 0 X#PORTEPOCH= 0 XCATEGORIES= devel haskell XMASTER_SITES= http://haskell.org/cabal/release/cabal-${PORTVERSION}/ http://www.mirrorservice.org/sites/www.haskell.org/cabal/release/cabal-${PORTVERSION}/ XPKGNAMEPREFIX= hs- X#DIST_SUBDIR= ${PORTNAME} X XMAINTAINER= djf@gmx.ch XCOMMENT= Common Architecture for Building Applications and Libraries X XBUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc XRUN_DEPENDS+= ghc:${PORTSDIR}/lang/ghc X XGHC_VERSION= 6.10.4 XCABAL_VERSION= ${PORTVERSION} X XGHC_CMD= ${LOCALBASE}/bin/ghc XSETUP_CMD= ./setup X XDOCSDIR= ${PREFIX}/share/doc/${DISTNAME} XCABAL_LIBDIR_REL= lib/${DISTNAME} X XPLIST_SUB= GHC_VERSION=${GHC_VERSION} \ X CABAL_VERSION=${CABAL_VERSION} \ X CABAL_LIBDIR_REL=${CABAL_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 ${PORTSDIR}/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 && ${SETUP_CMD} unregister --gen-script X Xdo-install: X cd ${WRKSRC} && ${SETUP_CMD} install \ X && ${INSTALL_SCRIPT} register.sh ${PREFIX}/${CABAL_LIBDIR_REL}/register.sh \ X && ${INSTALL_SCRIPT} unregister.sh ${PREFIX}/${CABAL_LIBDIR_REL}/unregister.sh X Xpost-install: X.if !defined(NOPORTDOCS) X cd ${WRKSRC} && ${SETUP_CMD} haddock --hyperlink-source \ X --hscolour-css=${HSCOLOUR_DATADIR}/hscolour.css X.endif X X ${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old X X.include <bsd.port.mk> 3d0459706e2ee5635c0414d6ac142619 echo x - Cabal/pkg-plist sed 's/^X//' >Cabal/pkg-plist << 'e450774b004443b11c44107d407db0b1' X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Compat/CopyFile.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Compat/Exception.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Compat/Permissions.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Compat/ReadP.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Compat/TempFile.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Compiler.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/GetOpt.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/InstalledPackageInfo.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/License.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Make.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/ModuleName.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Package.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/PackageDescription.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/PackageDescription/Check.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/PackageDescription/Configuration.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/PackageDescription/Parse.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/ParseUtils.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/ReadE.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/Build.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/Build/Macros.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/Build/PathsModule.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/BuildPaths.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/Command.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/Compiler.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/Configure.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/GHC.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/GHC/IPI641.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/GHC/IPI642.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/GHC/Makefile.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/Haddock.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/Hugs.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/Install.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/InstallDirs.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/JHC.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/LocalBuildInfo.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/NHC.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/PackageIndex.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/PreProcess.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/PreProcess/Unlit.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/Program.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/Register.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/Setup.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/SrcDist.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/UserHooks.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/Utils.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/System.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Text.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Verbosity.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Version.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HSCabal-%%CABAL_VERSION%%.o X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/Extension.hi X%%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSCabal-%%CABAL_VERSION%%.a X%%CABAL_LIBDIR_REL%%/register.sh X%%CABAL_LIBDIR_REL%%/unregister.sh X%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE X%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%% X@dirrm %%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell X@dirrm %%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language X@dirrm %%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/PreProcess X@dirrm %%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/GHC X@dirrm %%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple/Build X@dirrm %%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Simple X@dirrm %%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/PackageDescription X@dirrm %%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Compat X@dirrm %%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution X@dirrm %%CABAL_LIBDIR_REL%%/ghc-%%GHC_VERSION%% X@dirrm %%CABAL_LIBDIR_REL%% X@exec /bin/sh %D/%%CABAL_LIBDIR_REL%%/register.sh X@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old X@unexec /bin/sh %D/%%CABAL_LIBDIR_REL%%/unregister.sh X@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old e450774b004443b11c44107d407db0b1 echo x - Cabal/distinfo sed 's/^X//' >Cabal/distinfo << '7e318426337e03c661874540c2db3335' XMD5 (Cabal-1.6.0.2.tar.gz) = 8049fd028ae1568cb1165eec96926dfa XSHA256 (Cabal-1.6.0.2.tar.gz) = 25a5d6d9d9fae798f850a1b355e4f9fc003ac36e1dd344fea3e7f35b28022194 XSIZE (Cabal-1.6.0.2.tar.gz) = 407192 7e318426337e03c661874540c2db3335 exit --- hs-Cabal-1.6.0.2.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?201001311618.o0VGILCj080344>