ports/143413: [NEW PORT] devel/hs-cabal-install: The command line interface to Cabal and hackage
david fries
djf at gmx.ch
Sun Jan 31 21:10:04 UTC 2010
>Number: 143413
>Category: ports
>Synopsis: [NEW PORT] devel/hs-cabal-install: The command line interface to Cabal and hackage
>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 21:10:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: david fries
>Release: FreeBSD 8.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD sphinx.doesntexist.org 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009
>Description:
The 'cabal' command-line program simplifies the process of managing Haskell
software by automating the fetching, configuration, compilation and
installation of Haskell libraries and programs.
WWW: http://hackage.haskell.org/package/cabal-install
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- hs-cabal-install-0.6.4.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-install
# cabal-install/pkg-descr
# cabal-install/Makefile
# cabal-install/pkg-plist
# cabal-install/distinfo
#
echo c - cabal-install
mkdir -p cabal-install > /dev/null 2>&1
echo x - cabal-install/pkg-descr
sed 's/^X//' >cabal-install/pkg-descr << '1efc3273169fa250b4475350ba645195'
XThe 'cabal' command-line program simplifies the process of managing Haskell
Xsoftware by automating the fetching, configuration, compilation and
Xinstallation of Haskell libraries and programs.
X
XWWW: http://hackage.haskell.org/package/cabal-install
1efc3273169fa250b4475350ba645195
echo x - cabal-install/Makefile
sed 's/^X//' >cabal-install/Makefile << 'bee2167e9c670fd2162d6e6c55da8b19'
X# New ports collection makefile for: Cabal
X# Date created: 2010-01-31
X# Whom: david fries <djf at gmx.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME= cabal-install
XPORTVERSION= 0.6.4
X#PORTREVISION= 0
X#PORTEPOCH= 0
XCATEGORIES= devel haskell
XMASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
XPKGNAMEPREFIX= hs-
X#DIST_SUBDIR= ${PORTNAME}
X
XMAINTAINER= djf at gmx.ch
XCOMMENT= The command line interface to Cabal and hackage
X
XBUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc \
X hs-zlib>=0.4:${PORTSDIR}/archivers/hs-zlib \
X hs-HTTP>=4000.0.2:${PORTSDIR}/www/hs-HTTP \
X hs-Cabal>=1.6:${PORTSDIR}/devel/hs-Cabal
XRUN_DEPENDS+= ghc:${PORTSDIR}/lang/ghc \
X hs-zlib>=0.4:${PORTSDIR}/archivers/hs-zlib \
X hs-HTTP>=4000.0.2:${PORTSDIR}/www/hs-HTTP \
X hs-Cabal>=1.6:${PORTSDIR}/devel/hs-Cabal
X
XGHC_VERSION= 6.10.4
XCABAL_INSTALL_VERSION= ${PORTVERSION}
X
XGHC_CMD= ${LOCALBASE}/bin/ghc
XSETUP_CMD= ./setup
X
XDOCSDIR= ${PREFIX}/share/doc/${DISTNAME}
X
X.SILENT:
X
Xdo-configure:
X cd ${WRKSRC} && ${GHC_CMD} --make Setup.hs -o setup -package Cabal \
X && ${SETUP_CMD} configure --prefix=${PREFIX}
X
Xdo-build:
X cd ${WRKSRC} && ${SETUP_CMD} build
X
Xdo-install:
X cd ${WRKSRC} && ${SETUP_CMD} install
X
X.include <bsd.port.mk>
bee2167e9c670fd2162d6e6c55da8b19
echo x - cabal-install/pkg-plist
sed 's/^X//' >cabal-install/pkg-plist << 'b67056299d144c044a81e21e7b365ee7'
Xbin/cabal
X%%DOCSDIR%%/LICENSE
X at dirrm %%DOCSDIR%%
b67056299d144c044a81e21e7b365ee7
echo x - cabal-install/distinfo
sed 's/^X//' >cabal-install/distinfo << '6dc009e18d234f434e126b2374c0fc51'
XMD5 (cabal-install-0.6.4.tar.gz) = 35edc52cdcd00bc33d89d5269e714cc8
XSHA256 (cabal-install-0.6.4.tar.gz) = c0840c534704d29a6789ee501970fbe170c962a96da9645bddaf4c71a97b283e
XSIZE (cabal-install-0.6.4.tar.gz) = 95986
6dc009e18d234f434e126b2374c0fc51
exit
--- hs-cabal-install-0.6.4.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list