diff options
author | jtb <jtb@pkgsrc.org> | 2000-11-29 00:33:09 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2000-11-29 00:33:09 +0000 |
commit | c8c4a00ca9c58aa9a4e03c4cf085249a6df51672 (patch) | |
tree | cf6c47e862d969d530913445151c7fd0a19770ec /lang/nhc98/Makefile | |
parent | 4db4da17a00dc89ef70c728d3c50067388a41dcc (diff) | |
download | pkgsrc-c8c4a00ca9c58aa9a4e03c4cf085249a6df51672.tar.gz |
Initial import of new "nhc98" package:
Portable Haskell 98 compiler
Diffstat (limited to 'lang/nhc98/Makefile')
-rw-r--r-- | lang/nhc98/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lang/nhc98/Makefile b/lang/nhc98/Makefile new file mode 100644 index 00000000000..34a753888a5 --- /dev/null +++ b/lang/nhc98/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/11/29 00:33:09 jtb Exp $ + +DISTNAME= nhc98src-1.00 +PKGNAME= nhc98-1.00 +CATEGORIES= lang +MASTER_SITES= ftp://ftp.cs.york.ac.uk/pub/haskell/nhc98/ + +MAINTAINER= jtb@netbsd.org +HOMEPAGE= http://www.cs.york.ac.uk/fp/nhc98/ + +ONLY_FOR_PLATFORM= NetBSD-*-i386 + +WRKSRC= ${WRKDIR}/nhc98-1.00 +HAS_CONFIGURE= YES +CONFIGURE_ARGS+= --buildwith=gcc --installdir=${PREFIX} \ + +docs --docdir=${PREFIX}/share/doc/nhc98 + +# Note that you can also build with ghc (Glasgow Haskell Compiler). + +USE_GMAKE= YES + +post-extract: + @for f in `${FIND} ${WRKSRC}/docs -type d | ${GREP} CVS`; do \ + ${RM} -R $$f ; done + ${RMDIR} ${WRKSRC}/docs/hat + +do-build: + @(cd ${WRKSRC} && ${GMAKE}) + +.include "../../mk/bsd.pkg.mk" |