/ports

Developer FreeBSD Haskell "overlay" for the mighty FreeBSD Ports Collection. Use with caution, slippery when wet, etc.

Primary LanguageMakefile

Welcome!

This repository is to provide support for working with the Glorious Glasgow Haskell Compilation System and Haskell Cabal on FreeBSD, it hosts the work of volunteers interested in maintaining such ports. It considered a highly experimental collection and it may contain ports that are not present in the Ports Collection currently.

How to Use

In order to use the ports in this repository, you will have to install portshaker(8) and its configuration files, be sure you are selecting the HASKELL option:

# cd /usr/ports/ports-mgmt/portshaker-config
# make install clean

Start portshaker(8), and answer the questions (if there is any). They usually refer to colluding ports where the recommended answer is install or simply i.

# portshaker -v

You can use the ports as usual after the process has finished.

Binary Packages

It is also possible to use binary packages built from these ports via pkg(8). Note that these packages are not supported officially and may not be consistent with the packages in the official FreeBSD pkg(8) repository, so use them at your own risk! They are also updated on a best-effort basis, although you can find packages for all supported architectures and versions there.

First, you will have to make sure that pkg(8) is installed on your system and your ports are all converted to this new format. Consult the FreeBSD Handbook on the details.

Configure the corresponding package repository. That is, create a Haskell.conf file under $LOCALBASE/etc/pkg/repos, with the following contents:

Haskell: {
  url: "http://terraform.cs.hm.edu/packages/${ABI}/latest",
  enabled: yes
}

Finally, fetch the latest version of the repository catalogue:

# pkg update

Now you are ready to install or upgrade binary packages from this repository via the standard pkg(8) commands. For example, installing or updating Haskell Platform requires this single command only:

# pkg install hs-haskell-platform

How to Report Bugs

Let us know if you have problems with installing and using the ports in the repository, because receiving feedback is always useful, and definitely a way to get your issues fixed :-)

There are many different ways to report bugs.

Note: Please, do not use FreeBSD Bugzilla to report issues with these ports because it is mainly for ports in the Ports Collection.

How to Contribute

Do not forget to contribute your fixes if you already have a patch for a known problem! You can use the same interface as for reporting bugs. Change requests and new ports are also welcome.

For more information on the technical details, please see the wiki or simply get in touch by the one of the communication channels mentioned above.