summaryrefslogtreecommitdiff
path: root/lang/nhc98/Makefile
blob: 3e2656b1981a0c1efa8ec8e5e4dd1cd415d157f3 (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
# $NetBSD: Makefile,v 1.40 2006/02/05 23:09:46 joerg Exp $

DISTNAME=		nhc98src-1.18.tar.gz
PKGNAME=		nhc98-1.18
PKGREVISION=		2
CATEGORIES=		lang
MASTER_SITES=		ftp://ftp.cs.york.ac.uk/pub/haskell/nhc98/
DISTFILES=		nhc98src-1.18.tar.gz \
			nhc98-1.18-library-interfaces.tar.gz

MAINTAINER=		kristerw@NetBSD.org
HOMEPAGE=		http://www.cs.york.ac.uk/fp/nhc98/
COMMENT=		Portable Haskell 98 compiler

# Not yet ported to 64-bit machines
NOT_FOR_PLATFORM=	*-*-alpha *-*-sparc64 *-*-x86_64

WRKSRC=			${WRKDIR}/${PKGNAME_NOREV}

INCOMPAT_CURSES=	NetBSD-1.5*-* NetBSD-1.6[-_.]*-*
INCOMPAT_CURSES+=	NetBSD-1.6[A-Z]-* NetBSD-1.6Z[A-K]*-*

HAS_CONFIGURE=		YES
CONFIGURE_ARGS+=	--buildwith=gcc --installdir=${PREFIX:Q} \
			+docs --docdir=${PREFIX}/share/doc/nhc98

USE_TOOLS+=		gmake
BUILD_TARGET=		default

PLIST_SUBST+=		HARCH=`${WRKSRC}/script/harch`

post-extract:
	@${FIND} ${WRKSRC}/docs -type d -name \*CVS\* -print | ${XARGS} ${RM} -rf

.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"