pkgsrc/lang/nhc98/Makefile
kristerw 85ef20ea78 Update lang/nhc98 to version 1.14a.
Changes since version 1.06 include:
* Lots of bugfixes.
* The Hat tracing system is now entirely separate from the nhc98 compiler
  (and is thus not included in the package)
2002-08-25 16:12:01 +00:00

40 lines
969 B
Makefile

# $NetBSD: Makefile,v 1.13 2002/08/25 16:12:01 kristerw Exp $
DISTNAME= nhc98src-1.14a
PKGNAME= nhc98-1.14a
CATEGORIES= lang
MASTER_SITES= ftp://ftp.cs.york.ac.uk/pub/haskell/nhc98/
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
# KEY_RESIZE
USE_NCURSES= YES
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
USE_JAVA= 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 "../../devel/ncurses/buildlink.mk"
.include "../../mk/bsd.pkg.mk"