openbsd-ports/devel/haddock/Makefile
avsm 72f6223a93 update to 0.6, and support sparc
from maintainer Don Stewart <dons at cse.unsw.edu.au>
2004-01-16 08:46:37 +00:00

47 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.3 2004/01/16 08:46:37 avsm Exp $
COMMENT= "documentation tool for the functional language Haskell"
V= 0.6
DISTNAME= haddock-${V}
CATEGORIES= devel
HOMEPAGE= http://www.haskell.org/haddock/
MAINTAINER= Don Stewart <dons@cse.unsw.edu.au>
MODULES= ghc
MASTER_SITES= http://www.haskell.org/haddock/
MASTER_SITES0= ftp://ftp.cse.unsw.edu.au/pub/users/dons/haddock/
DISTFILES= ${DISTNAME}-src.tar.gz \
haddock-regress-${V}.tgz:0
BUILD_DEPENDS+= ::textproc/docbook ::textproc/docbook-dsssl \
::textproc/sgmlformat ::textproc/openjade \
::textproc/iso8879 ::textproc/linuxdoc \
::textproc/html ::print/jadetex \
::textproc/expat
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu dest
CONFIGURE_ENV= SGML_CATALOG_FILES=${LOCALBASE}/share/sgml/catalog
MAKE_ENV= SGML_CATALOG_FILES=${LOCALBASE}/share/sgml/catalog
DOC_DIR= ${PREFIX}/share/doc/haddock
post-build:
@(cd ${WRKSRC}/haddock/doc ; ${MAKE_ENV} ${GMAKE} html)
post-install:
${INSTALL_DATA_DIR} ${DOC_DIR}
@(cp -R ${WRKSRC}/haddock/doc/haddock/* ${DOC_DIR})
# BSD style w/o advertising clause
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
.include <bsd.port.mk>