2007-09-15 20:27:05 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2007/09/16 00:27:05 merdely Exp $
|
2002-04-27 02:16:18 -04:00
|
|
|
|
2007-09-15 20:27:05 -04:00
|
|
|
COMMENT= Haskell 98 interpreter
|
2002-04-27 02:16:18 -04:00
|
|
|
|
2005-03-24 02:35:03 -05:00
|
|
|
V= Mar2005
|
2004-05-06 22:07:31 -04:00
|
|
|
DISTNAME= hugs98-${V}
|
2005-08-16 05:49:51 -04:00
|
|
|
PKGNAME= hugs98-2005.03
|
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/
|
2005-03-24 02:35:03 -05:00
|
|
|
|
2004-05-06 22:07:31 -04:00
|
|
|
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
|
|
|
|
2005-03-24 02:35:03 -05:00
|
|
|
DISTFILES= ${DISTNAME}-patched.tar.gz ${DISTNAME}-regress.tar.bz2:0
|
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME}-patched
|
2002-04-27 02:16:18 -04:00
|
|
|
|
2005-04-24 00:57:07 -04:00
|
|
|
.if ${MACHINE_ARCH} != "m88k" && ${MACHINE_ARCH} != "vax"
|
|
|
|
CFLAGS+= -fPIC
|
|
|
|
.endif
|
|
|
|
|
2006-11-13 06:20:24 -05:00
|
|
|
USE_X11= Yes
|
2004-09-15 15:15:12 -04:00
|
|
|
CONFIGURE_STYLE=gnu
|
2004-05-16 22:24:32 -04:00
|
|
|
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" CC="${CC}"
|
2005-03-28 03:10:00 -05:00
|
|
|
CONFIGURE_ARGS+=--with-pthreads --libdir=${PREFIX}/lib
|
2002-04-27 02:16:18 -04:00
|
|
|
|
2004-05-06 22:07:31 -04:00
|
|
|
do-regress:
|
2005-03-28 03:10:00 -05:00
|
|
|
@cd ${WRKDIST}/tests && sh testScript static tcheck rts libs ffi
|
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
|
2005-04-24 00:57:07 -04:00
|
|
|
WANTLIB= c m ncurses readline GL X11 GLU
|
2002-04-27 02:16:18 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|