summaryrefslogtreecommitdiffstats
path: root/devel/hs-hmake/Makefile
blob: fed6315217003491c5ff670ff830735064d0d5e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:	hmake
# Date created:		27 November 2001
# Whom:			mwest@uct.ac.za
#
# $FreeBSD$
#

PORTNAME=	hmake
PORTVERSION=	3.10
PORTREVISION=	1
CATEGORIES=	devel haskell
MASTER_SITES=	http://www.haskell.org/hmake/ \
		ftp://ftp.cs.york.ac.uk/pub/haskell/hmake/ \
		http://www.cs.york.ac.uk/fp/hmake/
PKGNAMEPREFIX=	hs-

MAINTAINER=	haskell@FreeBSD.org
COMMENT=	Intelligent compilation management tool for Haskell programs

.include <bsd.port.pre.mk>

BUILD_DEPENDS=	ghc:${PORTSDIR}/lang/ghc
.if exists(${LOCALBASE}/lib/libreadline.so)
LIB_DEPENDS=	readline.5:${PORTSDIR}/devel/readline
.endif
RUN_DEPENDS=	${BUILD_DEPENDS}

HAS_CONFIGURE=	YES
CONFIGURE_ARGS+=	--prefix=${PREFIX}
USE_GMAKE=	YES

do-install:
# cheat a bit, otherwise LIBDIR gets clobbered
	(cd ${WRKSRC} && ./configure --install)

MAN1=		hmake.1

CONFLICTS=	nhc98-[0-9]*

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud