summaryrefslogtreecommitdiff
path: root/lang/hugs/Makefile
blob: a9c643a6c61321079f54c9282bef4ad4c5846bf0 (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.10 2000/03/27 08:54:57 tron Exp $

DISTNAME=	Hugs98-May1999
PKGNAME=	Hugs98-199905
CATEGORIES=	lang
MASTER_SITES=	http://www.cse.ogi.edu/~mpj/Hugs98/

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"