summaryrefslogtreecommitdiff
path: root/lang/hugs/Makefile
blob: d521c0ea1414cd0dcc0f5917fe747559557f71a7 (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
# $NetBSD: Makefile,v 1.12 2000/07/05 22:10:05 nathanw Exp $

DISTNAME=	hugs98-Feb2000
PKGNAME=	hugs98-200002
CATEGORIES=	lang
MASTER_SITES=	ftp://www.cse.ogi.edu/pub/pacsoft/hugs/

MAINTAINER=	nathanw@mit.edu
HOMEPAGE=	http://www.haskell.org/hugs/

DEPENDS+=	readline-*:../../devel/readline

WRKSRC=		${WRKDIR}/hugs98/src
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--with-readline

ALL_TARGET=	default
MAKE_ENV=	INSTALL="${INSTALL}" INSTALL_DATA="${INSTALL_DATA}" \
		INSTALL_PROGRAM="${INSTALL_PROGRAM}"

do-configure:
	cd ${WRKSRC}; (cd unix; ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})

post-install:
	${INSTALL_DATA} ${WRKSRC}/../docs/hugs.1 ${PREFIX}/man/man1/hugs.1

.include "../../mk/bsd.pkg.mk"