blob: 8b2b10954d07493974b8ae9b13db15ee5b014246 (
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
|
# $NetBSD: Makefile,v 1.3 2001/01/25 04:23:31 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/
NOT_FOR_PLATFORM= *-*-alpha
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"
|