freebsd-ports/devel/hs-haddock/Makefile
Ashish SHUKLA 571a2a4c0f - Move post-install task to pkg-install to fix bug in port where binary package
is unusable.

Obtained from:	FreeBSD Haskell
2011-06-03 17:18:22 +00:00

35 lines
797 B
Makefile

# New ports collection makefile for: haddock
# Date created: 09 May 2002
# Whom: Oliver Braun <obraun@informatik.unibw-muenchen.de>
#
# $FreeBSD$
PORTNAME= haddock
PORTVERSION= 2.9.2
PORTREVISION= 2
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= A documentation tool for Haskell
LICENSE= BSD
USE_CABAL= xhtml>=3000.2 ghc-paths
USE_ALEX= true
USE_HAPPY= true
EXECUTABLE= haddock-${PORTVERSION}
PORTDATA= *
SUB_FILES= pkg-deinstall pkg-install
SUB_LIST= GHC_HADDOCK_CMD=${GHC_HADDOCK_CMD} HADDOCK=${PREFIX}/bin/haddock EXECUTABLE=${PREFIX}/bin/${EXECUTABLE}
CONFIGURE_ARGS= --program-suffix=-${PORTVERSION}
post-install::
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>