2001-05-24 10:53:54 +02:00
|
|
|
# $NetBSD: Makefile,v 1.16 2001/05/24 08:53:57 jlam Exp $
|
1998-04-03 23:14:22 +02:00
|
|
|
|
2000-07-06 00:10:05 +02:00
|
|
|
DISTNAME= hugs98-Feb2000
|
|
|
|
PKGNAME= hugs98-200002
|
1998-04-03 23:14:22 +02:00
|
|
|
CATEGORIES= lang
|
2000-07-06 00:10:05 +02:00
|
|
|
MASTER_SITES= ftp://www.cse.ogi.edu/pub/pacsoft/hugs/
|
1998-04-03 23:14:22 +02:00
|
|
|
|
|
|
|
MAINTAINER= nathanw@mit.edu
|
1998-08-26 16:50:06 +02:00
|
|
|
HOMEPAGE= http://www.haskell.org/hugs/
|
2001-02-17 10:06:56 +01:00
|
|
|
COMMENT= Nottingham and Yale Haskell interpreter and programming environment
|
1998-04-03 23:14:22 +02:00
|
|
|
|
2001-05-22 08:38:08 +02:00
|
|
|
WRKSRC= ${WRKDIR}/hugs98/src/unix
|
|
|
|
GNU_CONFIGURE= # defined
|
|
|
|
CONFIGURE_ARGS+= --with-readline
|
|
|
|
ALL_TARGET= default
|
2000-01-24 13:27:20 +01:00
|
|
|
|
2001-05-22 08:54:05 +02:00
|
|
|
# Don't link against ncurses; linking against termcap will do.
|
|
|
|
CONFIGURE_ENV+= ac_cv_lib_ncurses_main=no
|
|
|
|
|
|
|
|
# Hugs' build doesn't require the readline headers, only the readline library.
|
|
|
|
# The only function it uses is readline().
|
|
|
|
#
|
2001-05-24 10:53:54 +02:00
|
|
|
.include "../../devel/readline/buildlink.mk"
|
2001-05-22 08:54:05 +02:00
|
|
|
|
2001-05-24 10:53:54 +02:00
|
|
|
LDFLAGS+= -L${BUILDLINK_LIBDIR}
|
2001-05-22 08:54:05 +02:00
|
|
|
|
2001-05-24 10:53:54 +02:00
|
|
|
pre-configure: ${BUILDLINK_TARGETS}
|
2001-05-22 08:54:05 +02:00
|
|
|
|
2001-05-22 08:38:08 +02:00
|
|
|
do-build:
|
|
|
|
@cd ${WRKSRC}/.. && ${SETENV} ${MAKE_ENV} \
|
|
|
|
${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${ALL_TARGET}
|
1998-04-03 23:14:22 +02:00
|
|
|
|
2001-05-22 08:38:08 +02:00
|
|
|
do-install:
|
|
|
|
@cd ${WRKSRC}/.. && ${SETENV} ${MAKE_ENV} \
|
|
|
|
${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${INSTALL_TARGET}
|
1999-08-18 05:17:20 +02:00
|
|
|
|
|
|
|
post-install:
|
2001-05-22 08:38:08 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/../../docs/hugs.1 ${PREFIX}/man/man1/hugs.1
|
1998-04-03 23:14:22 +02:00
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|