BSD Ports

wip/cabal2pkg 0.1.1 NetBSD

Tool to automate importing/updating Haskell packages in pkgsrc

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
License
unlicense
Categories
wip, pkgtools

Description

cabal2pkg is a tool to automate importing Haskell packages to pkgsrc and updating existing Haskell packages in pkgsrc. cabal2pkg is similar to url2pkg(8), in that it downloads a distfile, extracts it, and generates package Makefile and other files, but it is specialised in Haskell packages and is intended to generate mostly complete Makefile.

cabal2pkg can also update existing packages by performing 3-way merge on files. In the update mode, cabal2pkg fetches two package metadata of the current and the updated version, then tries to apply differences between two versions against the current set of files.

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/cabal2pkg && make install clean

Dependencies

Run dependencies 30

No port depends on this one.