a9f08159c4
curses.buildlink2.mk. This was wrong because we _really_ do want to express that we want _n_curses when we include the buildlink2.mk file. We should have a better way to say that the NetBSD curses doesn't quite work well enough. In fact, it's far better to depend on ncurses by default, and exceptionally note when it's okay to use NetBSD curses for specific packages. We will look into this again in the future.
39 lines
993 B
Makefile
39 lines
993 B
Makefile
# $NetBSD: Makefile,v 1.23 2003/09/28 09:13:57 jlam Exp $
|
|
|
|
DISTNAME= nhc98src-1.16
|
|
PKGNAME= nhc98-1.16
|
|
PKGREVISION= 1
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
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
|
|
|
|
USE_BUILDLINK2= YES
|
|
BUILDLINK_SETENV.CC= CC=gcc
|
|
|
|
USE_NCURSES= # KEY_RESIZE
|
|
|
|
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) 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 "../../devel/ncurses/buildlink2.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|