summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2010-09-23 18:31:28 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2010-09-23 18:31:28 +0000
commit391adfa80738d51c7fb886b192987657c196b339 (patch)
tree58b04f8e2ea2b525133a862e7daf1488e963529c /share/man
parent226cca19b54e02c0a8905a8f436ed29e668b0d88 (diff)
- first stab at documenting the haskell module
feedback/ok kili@
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man5/port-modules.520
1 files changed, 18 insertions, 2 deletions
diff --git a/share/man/man5/port-modules.5 b/share/man/man5/port-modules.5
index 412f6915ad4..7437a8d1276 100644
--- a/share/man/man5/port-modules.5
+++ b/share/man/man5/port-modules.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: port-modules.5,v 1.65 2010/09/22 22:02:23 jasper Exp $
+.\" $OpenBSD: port-modules.5,v 1.66 2010/09/23 18:31:27 jasper Exp $
.\"
.\" Copyright (c) 2008 Marc Espie
.\"
@@ -24,7 +24,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 22 2010 $
+.Dd $Mdocdate: September 23 2010 $
.Dt PORT-MODULES 5
.Os
.Sh NAME
@@ -414,6 +414,22 @@ appends to BUILD_DEPENDS and RUN_DEPENDS.
It heeds NO_BUILD.
.It lang/ghc
Sets ONLY_FOR_ARCHS, MODGHC_VER, BUILD_DEPENDS, and RUN_DEPENDS.
+The build and further actions are based on MODGHC_BUILD.
+It accepts the following values: nort (no runtime dependency on
+.Pa lang/ghc
+and hs- prefix will not be added), cabal (to get the typical Cabal
+targets defined), haddock (to generate API documenation using
+.Pa devel/haddock ,
+register (to create and include register/unregister scripts), hackage
+(if the distfiles are available on Hackage).
+Also affects CATEGORIES, CONFIGURE_STYLE, and SUBST_VARS.
+do-build, do-install and do-regress targets are provided if the port
+itself didn't set them.
+This module will run the Setup script and ensure the documentation
+will be built (if haddock has been set), and that the package is
+registered as a library useable by
+.Pa lang/ghc
+(if register has been set).
.It lang/lua
Sets MODLUA_VERSION, MODLUA_LIBDIR, MODLUA_DATADIR.
Appends to RUN_DEPENDS and CATEGORIES.