2009-08-10 13:31:07 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2009/08/10 17:31:07 kili Exp $
|
2002-04-27 02:16:18 -04:00
|
|
|
|
2008-10-29 18:55:40 -04:00
|
|
|
COMMENT = Haskell 98 interpreter
|
2002-04-27 02:16:18 -04:00
|
|
|
|
2008-10-29 18:55:40 -04:00
|
|
|
DISTNAME = hugs98-plus-Sep2006
|
2009-08-10 13:31:07 -04:00
|
|
|
PKGNAME = hugs98-2006.09p0
|
2008-10-29 18:55:40 -04:00
|
|
|
CATEGORIES = lang
|
|
|
|
MAINTAINER = Matthias Kilian <kili@openbsd.org>
|
|
|
|
HOMEPAGE = http://www.haskell.org/hugs/
|
2005-03-24 02:35:03 -05:00
|
|
|
|
2008-10-29 18:55:40 -04:00
|
|
|
MASTER_SITES = http://cvs.haskell.org/Hugs/downloads/2006-09/
|
|
|
|
MASTER_SITES0 = http://openbsd.dead-parrot.de/distfiles/
|
2002-04-27 02:16:18 -04:00
|
|
|
|
2008-10-29 18:55:40 -04:00
|
|
|
DISTFILES += ${DISTNAME}.tar.gz ${DISTNAME}-tests.tar.gz:0
|
2002-04-27 02:16:18 -04:00
|
|
|
|
2005-04-24 00:57:07 -04:00
|
|
|
.if ${MACHINE_ARCH} != "m88k" && ${MACHINE_ARCH} != "vax"
|
2008-10-29 18:55:40 -04:00
|
|
|
CFLAGS += -fPIC
|
2005-04-24 00:57:07 -04:00
|
|
|
.endif
|
|
|
|
|
2008-10-29 18:55:40 -04:00
|
|
|
USE_X11 = Yes
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ENV += CFLAGS="${CFLAGS}" CC="${CC}"
|
|
|
|
CONFIGURE_ARGS += --with-pthreads --libdir=${PREFIX}/lib
|
2002-04-27 02:16:18 -04:00
|
|
|
|
2004-05-06 22:07:31 -04:00
|
|
|
# BSDish
|
2008-10-29 18:55:40 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2009-08-10 13:31:07 -04:00
|
|
|
WANTLIB = GL GLU X11 c m ncurses pthread-stubs readline xcb
|
2002-04-27 02:16:18 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|