freebsd-ports/devel/hs-hdoc/Makefile
Alex Dupre bf330a57d4 Switch to use newer GMP version.
PR:		ports/144487
Submitted by:	ale
Approved by:	portmgr (-exp run by erwin)
2010-04-19 10:43:42 +00:00

40 lines
880 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= 4
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
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>