blob: 69ac10002f49eb0d4c4f73d36ce4d8ab19796b29 (
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
|
# $NetBSD: Makefile,v 1.10 2001/07/15 12:40:20 jtb Exp $
DISTNAME= nhc98src-1.06
PKGNAME= nhc98-1.06
CATEGORIES= lang
MASTER_SITES= ftp://ftp.cs.york.ac.uk/pub/haskell/nhc98/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.cs.york.ac.uk/fp/nhc98/
COMMENT= Portable Haskell 98 compiler
DEPENDS+= ncurses>=5.2:../../devel/ncurses
# Not yet ported to 64-bit machines
NOT_FOR_PLATFORM= *-*-alpha
WRKSRC= ${WRKDIR}/${PKGNAME}
HAS_CONFIGURE= yes
CONFIGURE_ENV+= CC=gcc
CONFIGURE_ARGS+= --buildwith=gcc --installdir=${PREFIX} \
+docs --docdir=${PREFIX}/share/doc/nhc98
# Note that you can also build with ghc (Glasgow Haskell Compiler) or
# hbc (Chalmers Haskell).
USE_GMAKE= yes
ALL_TARGET= default
HARCH= `${WRKSRC}/script/harch`
PLIST_SUBST+= HARCH=${HARCH}
post-extract:
@${FIND} ${WRKSRC}/docs -type d -name \*CVS\* | ${XARGS} ${RM} -rf
.include "../../mk/bsd.pkg.mk"
|