freebsd-ports/devel/hs-hdoc/Makefile
Ashish SHUKLA 0c76a8384f - Please welcome GHC 7.0.3
GHC in the ports tree has been updated to 7.0.3 and all other Haskell ports
are also updated to their corresponding Haskell Platform versions, or latest
versions.

We would like to acknowledge the support of the FreeBSD Donations Team and
Eotvos Lorand University, Faculty of Informatics who contributed to the server
that we used for testing.

We would also like to thank all the testers who tested FreeBSD Haskell ports
and provided their feedback.

PR:		ports/156642
Approved by:	tabthorpe (mentor)
Obtained from:	FreeBSD Haskell
2011-05-09 05:28:57 +00:00

42 lines
896 B
Makefile

# New ports collection makefile for: hdoc
# Date created: 25 October 2002
# Whom: Oliver Braun <obraun@FreeBSD.org>
#
# $FreeBSD$
PORTNAME= hdoc
PORTVERSION= 0.8.3
PORTREVISION= 5
CATEGORIES= devel haskell
MASTER_SITES= http://staff.fmi.uni-passau.de/~groessli/hdoc/
PKGNAMEPREFIX= hs-
MAINTAINER= haskell@FreeBSD.org
COMMENT= HTML documentation tool for Haskell
LICENSE= GPLv2
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
LIB_DEPENDS+= gmp.10:${PORTSDIR}/math/gmp
DOCSDIR= ${PREFIX}/share/doc/${DISTNAME}
PLIST_FILES= bin/hdoc
.if !defined(NOPORTDOCS)
PLIST_DIRS= share/doc/${DISTNAME}
PLIST_FILES+= share/doc/${DISTNAME}/hdoc.pdf
.endif
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX}
ALL_TARGET= # empty
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR} && \
cd ${WRKSRC}/docs && ${INSTALL_DATA} hdoc.pdf ${DOCSDIR}
.endif
.include <bsd.port.mk>