pkgsrc-wip/haddock/Makefile
Emil Sköldberg f80a26a7bf Update to version 0.8.
Changes in version 0.8:

  * Haddock has a Cabal build system, and will build on Windows without
    Cygwin or MSYS.  GHC 6.4 or later is required.

  * New options: --comments-base, --comments-module, --comments-entity
    for generating links to pages (eg. wiki) for collecting user comments.

  * New options: --source-base, --source-module, --source-entity
    for generating links to source code.  Haddock now understands
    {-# LINE #-} pragmas, which means it can figure out the correct
    name for the source file even if the file is preprocessed.

  * Haddock generates output for populating the Hoogle search engine.

  * New markup <<url>> for including images.
2006-10-17 13:35:10 +00:00

35 lines
866 B
Makefile

# $NetBSD: Makefile,v 1.4 2006/10/17 13:35:10 emil_s Exp $
#
DISTNAME= haddock-${VERSION}
CATEGORIES= devel
MASTER_SITES= http://www.haskell.org/haddock/
DISTFILES= haddock-${VERSION}-src.tar.gz
#DISTFILES+= haddock-html-${VERSION}.tar.gz
MAINTAINER= emil@math.su.se
HOMEPAGE= http://www.haskell.org/haddock/
COMMENT= Documentation tool for Haskell
VERSION= 0.8
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake perl
DOCDIR= ${PREFIX}/share/doc/haddock
do-configure:
cd ${WRKSRC:Q} && runhaskell Setup.lhs configure \
--ghc \
--prefix=${PREFIX:Q} \
--with-compiler=${PREFIX:Q}/bin/ghc \
--with-hc-pkg=${PREFIX:Q}/bin/ghc-pkg
do-build:
cd ${WRKSRC:Q} && runhaskell Setup.lhs build
do-install:
cd ${WRKSRC:Q} && runhaskell Setup.lhs install
.include "../../lang/ghc/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"