2004-05-06 22:07:31 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2004/05/07 02:07:31 dons Exp $
|
2002-04-27 02:16:18 -04:00
|
|
|
|
|
|
|
COMMENT= "Haskell 98 interpreter"
|
|
|
|
|
2004-05-06 22:07:31 -04:00
|
|
|
V= Nov2003
|
|
|
|
DISTNAME= hugs98-${V}
|
2002-04-27 02:16:18 -04:00
|
|
|
CATEGORIES= lang
|
2004-05-06 22:07:31 -04:00
|
|
|
MAINTAINER= Don Stewart <dons@openbsd.org>
|
|
|
|
HOMEPAGE= http://www.haskell.org/hugs/
|
|
|
|
MASTER_SITES= http://cvs.haskell.org/Hugs/downloads/${V}/
|
|
|
|
MASTER_SITES0= ftp://ftp.cse.unsw.edu.au/pub/users/dons/hugs98/
|
2002-04-27 02:16:18 -04:00
|
|
|
|
2004-05-06 22:07:31 -04:00
|
|
|
DISTFILES= ${DISTNAME}.tar.gz ${DISTNAME}-regress.tar.bz2:0
|
2002-04-27 02:16:18 -04:00
|
|
|
|
2004-05-06 22:07:31 -04:00
|
|
|
CONFIGURE_STYLE=dest
|
|
|
|
CONFIGURE_ENV+= CFLAGS="${CFLAGS}"
|
|
|
|
CONFIGURE_ARGS+=--with-pthreads --enable-ffi --libdir=${PREFIX}/share
|
2002-04-27 02:16:18 -04:00
|
|
|
|
2004-05-06 22:07:31 -04:00
|
|
|
WRKBUILD= ${WRKDIST}/src
|
|
|
|
ALL_TARGET=
|
2002-04-27 02:16:18 -04:00
|
|
|
|
|
|
|
do-configure:
|
2004-05-06 22:07:31 -04:00
|
|
|
@(cd ${WRKBUILD}/unix && ${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS})
|
2002-04-27 02:16:18 -04:00
|
|
|
|
2004-05-06 22:07:31 -04:00
|
|
|
do-regress:
|
|
|
|
@(cd ${WRKDIST}/tests && sh testScript static tcheck rts libs ffi demos)
|
2002-04-27 02:16:18 -04:00
|
|
|
|
2004-05-06 22:07:31 -04:00
|
|
|
# BSDish
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2002-04-27 02:16:18 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|