39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.26 2004/08/28 16:29:55 danw Exp $
|
|
|
|
DISTNAME= hugs98-Dec2001
|
|
PKGNAME= hugs98-200112
|
|
PKGREVISION= 1
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://cvs.haskell.org/Hugs/downloads/
|
|
|
|
MAINTAINER= nathanw@mit.edu
|
|
HOMEPAGE= http://www.haskell.org/hugs/
|
|
COMMENT= Nottingham and Yale Haskell interpreter and programming environment
|
|
|
|
WRKSRC= ${WRKDIR}/hugs98-Dec2001/src/unix
|
|
USE_BUILDLINK3= yes
|
|
GNU_CONFIGURE= # defined
|
|
CONFIGURE_ARGS+= --with-readline
|
|
ALL_TARGET= default
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "Darwin"
|
|
# Trick it into not checking if symbols have leading underscores,
|
|
# since the dlcompat layer expects you to not be that clever.
|
|
CONFIGURE_ENV+= ac_cv_header_nlist_h=no
|
|
.endif
|
|
|
|
do-build:
|
|
@cd ${WRKSRC}/.. && ${SETENV} ${MAKE_ENV} \
|
|
${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${ALL_TARGET}
|
|
|
|
do-install:
|
|
@cd ${WRKSRC}/.. && ${SETENV} ${MAKE_ENV} \
|
|
${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${INSTALL_TARGET}
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/../../docs/hugs.1 ${PREFIX}/man/man1/hugs.1
|
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|