Skip to content
Automatic conversion and update for FreeBSD Haskell ports
Haskell
Failed to load latest commit information.
Distribution/FreeBSD
src-hsporter Adapt hsporter output to the reworked format of bsd.hackage.mk. Jul 30, 2014
src-hsupdater Refactor parsing package descriptions. Jul 30, 2014
.todo Add missed (hidden) TODO file. Jan 2, 2012
LICENSE Bump copyright year. Jul 29, 2014
README.md Update contents of README. Nov 26, 2013
Setup.lhs Initial import. Jan 2, 2012
categories.conf
ghc.conf Move to HP 2014.1.0.0 and GHC 7.8.3 Jul 29, 2014
hsporter.cabal Allow hsporter to build in GHCi. Jul 30, 2014
hsupdater.conf.sample Implement parallel fetching of Cabal package descriptions. Dec 11, 2012
platform.conf Move to HP 2014.1.0.0 and GHC 7.8.3 Jul 29, 2014

README.md

hsporter :: PackageDescription -> FreeBSDPort

Installation

runhaskell Setup.lhs configure
runhaskell Setup.lhs build
runhaskell Setup.lhs haddock --executable (for documentation)
runhaskell Setup.lhs install

Usage

Synopsis

hsporter cabal_description_url [category]

where
  cabal_description_url = valid URL of a Cabal package (probably on HackageDB)
  category = FreeBSD port category (optional)

Example

Issue the following command.

  hsporter http://hackage.haskell.org/package/DeepArrow-0.4.0/DeepArrow.cabal

It will create all the files needed for a port inside the directory devel/hs-DeepArrow.

Disclaimer

Please, do not forget to test and use the ports before doing anything with it in public. Note that it is very experimental and under development. Slippery when wet.

Contact

FreeBSD Haskell People at haskell@FreeBSD.org

Something went wrong with that request. Please try again.