head	1.47;
access;
symbols
	pkgsrc-2026Q1:1.47.0.6
	pkgsrc-2026Q1-base:1.47
	pkgsrc-2025Q4:1.47.0.4
	pkgsrc-2025Q4-base:1.47
	pkgsrc-2025Q3:1.47.0.2
	pkgsrc-2025Q3-base:1.47
	pkgsrc-2025Q2:1.46.0.18
	pkgsrc-2025Q2-base:1.46
	pkgsrc-2025Q1:1.46.0.16
	pkgsrc-2025Q1-base:1.46
	pkgsrc-2024Q4:1.46.0.14
	pkgsrc-2024Q4-base:1.46
	pkgsrc-2024Q3:1.46.0.12
	pkgsrc-2024Q3-base:1.46
	pkgsrc-2024Q2:1.46.0.10
	pkgsrc-2024Q2-base:1.46
	pkgsrc-2024Q1:1.46.0.8
	pkgsrc-2024Q1-base:1.46
	pkgsrc-2023Q4:1.46.0.6
	pkgsrc-2023Q4-base:1.46
	pkgsrc-2023Q3:1.46.0.4
	pkgsrc-2023Q3-base:1.46
	pkgsrc-2023Q2:1.46.0.2
	pkgsrc-2023Q2-base:1.46
	pkgsrc-2023Q1:1.45.0.28
	pkgsrc-2023Q1-base:1.45
	pkgsrc-2022Q4:1.45.0.26
	pkgsrc-2022Q4-base:1.45
	pkgsrc-2022Q3:1.45.0.24
	pkgsrc-2022Q3-base:1.45
	pkgsrc-2022Q2:1.45.0.22
	pkgsrc-2022Q2-base:1.45
	pkgsrc-2022Q1:1.45.0.20
	pkgsrc-2022Q1-base:1.45
	pkgsrc-2021Q4:1.45.0.18
	pkgsrc-2021Q4-base:1.45
	pkgsrc-2021Q3:1.45.0.16
	pkgsrc-2021Q3-base:1.45
	pkgsrc-2021Q2:1.45.0.14
	pkgsrc-2021Q2-base:1.45
	pkgsrc-2021Q1:1.45.0.12
	pkgsrc-2021Q1-base:1.45
	pkgsrc-2020Q4:1.45.0.10
	pkgsrc-2020Q4-base:1.45
	pkgsrc-2020Q3:1.45.0.8
	pkgsrc-2020Q3-base:1.45
	pkgsrc-2020Q2:1.45.0.6
	pkgsrc-2020Q2-base:1.45
	pkgsrc-2020Q1:1.45.0.2
	pkgsrc-2020Q1-base:1.45
	pkgsrc-2019Q4:1.45.0.4
	pkgsrc-2019Q4-base:1.45
	pkgsrc-2019Q3:1.44.0.2
	pkgsrc-2019Q3-base:1.44
	pkgsrc-2019Q2:1.43.0.50
	pkgsrc-2019Q2-base:1.43
	pkgsrc-2019Q1:1.43.0.48
	pkgsrc-2019Q1-base:1.43
	pkgsrc-2018Q4:1.43.0.46
	pkgsrc-2018Q4-base:1.43
	pkgsrc-2018Q3:1.43.0.44
	pkgsrc-2018Q3-base:1.43
	pkgsrc-2018Q2:1.43.0.42
	pkgsrc-2018Q2-base:1.43
	pkgsrc-2018Q1:1.43.0.40
	pkgsrc-2018Q1-base:1.43
	pkgsrc-2017Q4:1.43.0.38
	pkgsrc-2017Q4-base:1.43
	pkgsrc-2017Q3:1.43.0.36
	pkgsrc-2017Q3-base:1.43
	pkgsrc-2017Q2:1.43.0.32
	pkgsrc-2017Q2-base:1.43
	pkgsrc-2017Q1:1.43.0.30
	pkgsrc-2017Q1-base:1.43
	pkgsrc-2016Q4:1.43.0.28
	pkgsrc-2016Q4-base:1.43
	pkgsrc-2016Q3:1.43.0.26
	pkgsrc-2016Q3-base:1.43
	pkgsrc-2016Q2:1.43.0.24
	pkgsrc-2016Q2-base:1.43
	pkgsrc-2016Q1:1.43.0.22
	pkgsrc-2016Q1-base:1.43
	pkgsrc-2015Q4:1.43.0.20
	pkgsrc-2015Q4-base:1.43
	pkgsrc-2015Q3:1.43.0.18
	pkgsrc-2015Q3-base:1.43
	pkgsrc-2015Q2:1.43.0.16
	pkgsrc-2015Q2-base:1.43
	pkgsrc-2015Q1:1.43.0.14
	pkgsrc-2015Q1-base:1.43
	pkgsrc-2014Q4:1.43.0.12
	pkgsrc-2014Q4-base:1.43
	pkgsrc-2014Q3:1.43.0.10
	pkgsrc-2014Q3-base:1.43
	pkgsrc-2014Q2:1.43.0.8
	pkgsrc-2014Q2-base:1.43
	pkgsrc-2014Q1:1.43.0.6
	pkgsrc-2014Q1-base:1.43
	pkgsrc-2013Q4:1.43.0.4
	pkgsrc-2013Q4-base:1.43
	pkgsrc-2013Q3:1.43.0.2
	pkgsrc-2013Q3-base:1.43
	pkgsrc-2013Q2:1.42.0.2
	pkgsrc-2013Q2-base:1.42
	pkgsrc-2013Q1:1.41.0.4
	pkgsrc-2013Q1-base:1.41
	pkgsrc-2012Q4:1.41.0.2
	pkgsrc-2012Q4-base:1.41
	pkgsrc-2012Q3:1.40.0.18
	pkgsrc-2012Q3-base:1.40
	pkgsrc-2012Q2:1.40.0.16
	pkgsrc-2012Q2-base:1.40
	pkgsrc-2012Q1:1.40.0.14
	pkgsrc-2012Q1-base:1.40
	pkgsrc-2011Q4:1.40.0.12
	pkgsrc-2011Q4-base:1.40
	pkgsrc-2011Q3:1.40.0.10
	pkgsrc-2011Q3-base:1.40
	pkgsrc-2011Q2:1.40.0.8
	pkgsrc-2011Q2-base:1.40
	pkgsrc-2011Q1:1.40.0.6
	pkgsrc-2011Q1-base:1.40
	pkgsrc-2010Q4:1.40.0.4
	pkgsrc-2010Q4-base:1.40
	pkgsrc-2010Q3:1.40.0.2
	pkgsrc-2010Q3-base:1.40
	pkgsrc-2010Q2:1.39.0.10
	pkgsrc-2010Q2-base:1.39
	pkgsrc-2010Q1:1.39.0.8
	pkgsrc-2010Q1-base:1.39
	pkgsrc-2009Q4:1.39.0.6
	pkgsrc-2009Q4-base:1.39
	pkgsrc-2009Q3:1.39.0.4
	pkgsrc-2009Q3-base:1.39
	pkgsrc-2009Q2:1.39.0.2
	pkgsrc-2009Q2-base:1.39
	pkgsrc-2009Q1:1.38.0.8
	pkgsrc-2009Q1-base:1.38
	pkgsrc-2008Q4:1.38.0.6
	pkgsrc-2008Q4-base:1.38
	pkgsrc-2008Q3:1.38.0.4
	pkgsrc-2008Q3-base:1.38
	cube-native-xorg:1.38.0.2
	cube-native-xorg-base:1.38
	pkgsrc-2008Q2:1.37.0.14
	pkgsrc-2008Q2-base:1.37
	cwrapper:1.37.0.12
	pkgsrc-2008Q1:1.37.0.10
	pkgsrc-2008Q1-base:1.37
	pkgsrc-2007Q4:1.37.0.8
	pkgsrc-2007Q4-base:1.37
	pkgsrc-2007Q3:1.37.0.6
	pkgsrc-2007Q3-base:1.37
	pkgsrc-2007Q2:1.37.0.4
	pkgsrc-2007Q2-base:1.37
	pkgsrc-2007Q1:1.37.0.2
	pkgsrc-2007Q1-base:1.37
	pkgsrc-2006Q4:1.36.0.2
	pkgsrc-2006Q4-base:1.36
	pkgsrc-2006Q3:1.35.0.2
	pkgsrc-2006Q3-base:1.35
	pkgsrc-2006Q2:1.32.0.6
	pkgsrc-2006Q2-base:1.32
	pkgsrc-2006Q1:1.32.0.4
	pkgsrc-2006Q1-base:1.32
	pkgsrc-2005Q4:1.32.0.2
	pkgsrc-2005Q4-base:1.32
	pkgsrc-2005Q3:1.30.0.4
	pkgsrc-2005Q3-base:1.30
	pkgsrc-2005Q2:1.30.0.2
	pkgsrc-2005Q2-base:1.30
	pkgsrc-2005Q1:1.28.0.4
	pkgsrc-2005Q1-base:1.28
	pkgsrc-2004Q4:1.28.0.2
	pkgsrc-2004Q4-base:1.28
	pkgsrc-2004Q3:1.26.0.2
	pkgsrc-2004Q3-base:1.26
	pkgsrc-2004Q2:1.25.0.2
	pkgsrc-2004Q2-base:1.25
	pkgsrc-2004Q1:1.24.0.2
	pkgsrc-2004Q1-base:1.24
	pkgsrc-2003Q4:1.23.0.2
	pkgsrc-2003Q4-base:1.23
	netbsd-1-6-1:1.22.0.2
	netbsd-1-6-1-base:1.22
	netbsd-1-6:1.21.0.8
	netbsd-1-6-RELEASE-base:1.21
	pkgviews:1.21.0.4
	pkgviews-base:1.21
	buildlink2:1.21.0.2
	buildlink2-base:1.21
	netbsd-1-5-PATCH003:1.21
	netbsd-1-5-PATCH001:1.13
	netbsd-1-5-RELEASE:1.12
	netbsd-1-4-PATCH003:1.12
	netbsd-1-4-PATCH002:1.9
	comdex-fall-1999:1.7
	netbsd-1-4-PATCH001:1.5
	netbsd-1-4-RELEASE:1.5
	netbsd-1-3-PATCH003:1.5
	netbsd-1-3-PATCH002:1.3;
locks; strict;
comment	@# @;


1.47
date	2025.08.17.20.07.06;	author pho;	state Exp;
branches;
next	1.46;
commitid	V3j5hzrJEwwmC77G;

1.46
date	2023.06.06.12.41.44;	author riastradh;	state Exp;
branches;
next	1.45;
commitid	xhspr6Z8JLQOWSrE;

1.45
date	2019.11.03.19.04.01;	author rillig;	state Exp;
branches;
next	1.44;
commitid	puQpdVbj8afCdrJB;

1.44
date	2019.07.10.10.24.05;	author nia;	state Exp;
branches;
next	1.43;
commitid	TnvBxaH1Sw8v4uuB;

1.43
date	2013.07.15.02.02.23;	author ryoon;	state Exp;
branches;
next	1.42;
commitid	aGblgSa9xp3HyvXw;

1.42
date	2013.06.18.19.58.48;	author joerg;	state Exp;
branches;
next	1.41;
commitid	qJGko4Qaqw5Un8Uw;

1.41
date	2012.10.02.20.11.42;	author asau;	state Exp;
branches;
next	1.40;

1.40
date	2010.09.28.04.36.41;	author obache;	state Exp;
branches;
next	1.39;

1.39
date	2009.05.20.00.58.19;	author wiz;	state Exp;
branches;
next	1.38;

1.38
date	2008.07.14.12.56.07;	author joerg;	state Exp;
branches;
next	1.37;

1.37
date	2007.01.07.00.16.14;	author wiz;	state Exp;
branches;
next	1.36;

1.36
date	2006.10.21.11.19.28;	author uebayasi;	state Exp;
branches
	1.36.2.1;
next	1.35;

1.35
date	2006.09.23.13.36.06;	author joerg;	state Exp;
branches;
next	1.34;

1.34
date	2006.09.17.16.49.57;	author jmmv;	state Exp;
branches;
next	1.33;

1.33
date	2006.08.01.14.33.59;	author jmmv;	state Exp;
branches;
next	1.32;

1.32
date	2005.11.03.22.35.53;	author rillig;	state Exp;
branches;
next	1.31;

1.31
date	2005.09.28.20.52.23;	author rillig;	state Exp;
branches;
next	1.30;

1.30
date	2005.06.16.06.58.00;	author jlam;	state Exp;
branches;
next	1.29;

1.29
date	2005.04.11.21.46.14;	author tv;	state Exp;
branches;
next	1.28;

1.28
date	2004.12.03.15.15.00;	author wiz;	state Exp;
branches;
next	1.27;

1.27
date	2004.10.03.00.15.01;	author tv;	state Exp;
branches;
next	1.26;

1.26
date	2004.08.28.16.29.55;	author danw;	state Exp;
branches;
next	1.25;

1.25
date	2004.04.28.05.06.28;	author snj;	state Exp;
branches;
next	1.24;

1.24
date	2004.01.20.12.19.16;	author agc;	state Exp;
branches;
next	1.23;

1.23
date	2003.05.04.20.19.46;	author jtb;	state Exp;
branches;
next	1.22;

1.22
date	2002.10.25.18.36.13;	author wiz;	state Exp;
branches;
next	1.21;

1.21
date	2002.04.09.02.59.14;	author markd;	state Exp;
branches;
next	1.20;

1.20
date	2001.11.21.19.04.42;	author nra;	state Exp;
branches;
next	1.19;

1.19
date	2001.06.21.02.42.54;	author jlam;	state Exp;
branches;
next	1.18;

1.18
date	2001.06.11.02.05.12;	author jlam;	state Exp;
branches;
next	1.17;

1.17
date	2001.06.10.00.08.45;	author jlam;	state Exp;
branches;
next	1.16;

1.16
date	2001.05.24.08.53.57;	author jlam;	state Exp;
branches;
next	1.15;

1.15
date	2001.05.22.06.54.05;	author jlam;	state Exp;
branches;
next	1.14;

1.14
date	2001.05.22.06.38.08;	author jlam;	state Exp;
branches;
next	1.13;

1.13
date	2001.02.17.09.07.12;	author agc;	state Exp;
branches;
next	1.12;

1.12
date	2000.07.05.22.10.05;	author nathanw;	state Exp;
branches;
next	1.11;

1.11
date	2000.04.24.04.17.38;	author mbw;	state Exp;
branches;
next	1.10;

1.10
date	2000.03.27.08.54.57;	author tron;	state Exp;
branches;
next	1.9;

1.9
date	2000.01.24.12.27.20;	author augustss;	state Exp;
branches;
next	1.8;

1.8
date	99.12.18.13.35.54;	author abs;	state Exp;
branches;
next	1.7;

1.7
date	99.08.18.10.19.40;	author agc;	state Exp;
branches;
next	1.6;

1.6
date	99.08.18.03.17.20;	author nathanw;	state Exp;
branches;
next	1.5;

1.5
date	98.08.26.14.50.06;	author tsarna;	state Exp;
branches;
next	1.4;

1.4
date	98.08.20.15.17.05;	author tsarna;	state Exp;
branches;
next	1.3;

1.3
date	98.04.15.10.38.28;	author agc;	state Exp;
branches;
next	1.2;

1.2
date	98.04.03.22.11.43;	author tron;	state Exp;
branches;
next	1.1;

1.1
date	98.04.03.21.14.22;	author tron;	state Exp;
branches;
next	;

1.36.2.1
date	2007.01.07.13.12.59;	author salo;	state Exp;
branches;
next	;


desc
@@


1.47
log
@lang/hugs: Fix pkg/43609
@
text
@# $NetBSD: Makefile,v 1.46 2023/06/06 12:41:44 riastradh Exp $

DISTNAME=	hugs98-Sep2006
PKGNAME=	hugs98-200609
PKGREVISION=	2
CATEGORIES=	lang
MASTER_SITES=	http://cvs.haskell.org/Hugs/downloads/2006-09/

MAINTAINER=	nathanw@@mit.edu
HOMEPAGE=	https://www.haskell.org/hugs/
COMMENT=	Functional programming system based on Haskell 98
LICENSE=	modified-bsd

GNU_CONFIGURE=		yes
USE_TOOLS+=		gmake bison

CONFIGURE_ARGS+=	--build=${MACHINE_GNU_PLATFORM:Q}
CONFIGURE_ARGS+=	--target=${MACHINE_GNU_PLATFORM:Q}

PKG_OPTIONS_VAR=	PKG_OPTIONS.hugs
PKG_SUGGESTED_OPTIONS=	readline
PKG_SUPPORTED_OPTIONS=	readline

.include "../../mk/bsd.options.mk"

.include "../../mk/compiler.mk"

.if !empty(PKGSRC_COMPILER:Mclang)
TOOL_DEPENDS+=		tradcpp-[0-9]*:../../devel/tradcpp
CONFIGURE_ARGS+=	ice_cv_traditional_cpp=${PREFIX}/bin/tradcpp
.endif

.if !empty(PKG_OPTIONS:Mreadline)
.  include "../../mk/readline.buildlink3.mk"
.else
CONFIGURE_ARGS+=	ac_cv_lib_readline_readline=no
.endif

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

# The default -O2 breaks the interpreter producing strange internal errors
# at run time.
.if !empty(CC_VERSION:Mgcc-4*)
CFLAGS+=	-O0
.endif
@


1.46
log
@Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2019/11/03 19:04:01 rillig Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.45
log
@lang: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2019/07/10 10:24:05 nia Exp $
d29 1
a29 1
BUILD_DEPENDS+=		tradcpp-[0-9]*:../../devel/tradcpp
@


1.44
log
@Use https for haskell.org.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2013/07/15 02:02:23 ryoon Exp $
d44 1
a44 1
CFLAGS+=    -O0
@


1.43
log
@* .include "../../devel/readline/buildlink3.mk" with USE_GNU_READLINE=yes
  are replaced with .include "../../devel/readline/buildlink3.mk", and
  USE_GNU_READLINE are removed,

* .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE
  are replaced with .include "../../mk/readline.buildlink3.mk".
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2013/06/18 19:58:48 joerg Exp $
d10 1
a10 1
HOMEPAGE=	http://www.haskell.org/hugs/
@


1.42
log
@Use tradcpp with clang as preprocessor.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2012/10/02 20:11:42 asau Exp $
d34 1
a34 1
.  include "../../devel/readline/buildlink3.mk"
@


1.41
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2010/09/28 04:36:41 obache Exp $
d26 7
@


1.40
log
@LICENSE=modified-bsd
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2009/05/20 00:58:19 wiz Exp $
a13 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.39
log
@Recursive ABI depends update and PKGREVISION bump for readline-6.0 shlib
major change.

Reported by Robert Elz in PR 41345.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2008/07/14 12:56:07 joerg Exp $
d12 1
@


1.38
log
@Mark as destdir ready.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2007/01/07 00:16:14 wiz Exp $
d5 1
@


1.37
log
@Fix PKGNAME after update. Noted by Ben Secrest on pkgsrc-users.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2006/10/21 11:19:28 uebayasi Exp $
d12 2
@


1.36
log
@Update hugs to September 2006 release.

A new minor release of Hugs, fixing a few bugs with the May 2006 release,
and with libraries roughly matching the forthcoming GHC 6.6 release.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2006/09/23 13:36:06 joerg Exp $
d4 1
a4 1
PKGNAME=	hugs98-200605
@


1.36.2.1
log
@Pullup ticket 1981 - requested by uebayasi
PKGNAME fix for hugs

Revisions pulled up:
- pkgsrc/lang/hugs/Makefile					1.37

   Module Name:		pkgsrc
   Committed By:	wiz
   Date:		Sun Jan  7 00:16:14 UTC 2007

   Modified Files:
   	pkgsrc/lang/hugs: Makefile

   Log Message:
   Fix PKGNAME after update. Noted by Ben Secrest on pkgsrc-users.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2007/01/07 00:16:14 wiz Exp $
d4 1
a4 1
PKGNAME=	hugs98-200609
@


1.35
log
@Require bison. hugs's configure is not happy with byacc for
unknown reasons and since some platforms have at least even
weaker yacc's than the BSDs, don't try to hack around that.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2006/09/17 16:49:57 jmmv Exp $
d3 1
a3 1
DISTNAME=	hugs98-May2006
a4 1
PKGREVISION=	1
d6 1
a6 1
MASTER_SITES=	http://cvs.haskell.org/Hugs/downloads/2006-05/
@


1.34
log
@Add optional support for readline and enable it by default.  Otherwise
the command line interpreter behaves oddly.  Reported by yamt@@.
Bump PKGREVISION to 1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2006/08/01 14:33:59 jmmv Exp $
d14 1
a14 1
USE_TOOLS+=		gmake
@


1.33
log
@Update to 200605:

- November 2002

Feature highlights of this new release are:

* Much improved FFI support (contributed by Alastair Reid), bringing Hugs
  really very close to the Haskell FFI specification.
* Adoption of a significant subset of GHC's hierarchical libraries
  (contributed by Ross Paterson).
* An (allegedly) complete implementation of the Haskell98 module system
  (Sigbjorn Finne).
* Numerous bug fixes since the previous major release in Dec 2001.

- November 2003

There has been substantial internal restructuring. In addition to numerous
bug fixes, user-visible changes include:

* The beginnings of a User's Guide (though still incomplete).
* The Double type is now double-precision on most architectures.
* Hugs now relies on the same hierarchical libraries as GHC and Nhc98, and
  provides almost all of them. For now, compatibility with the old libraries
  is provided by stub modules, but users are encouraged to migrate to the
  new libraries.
* Full support for imprecise exceptions (but not asynchronous ones). Most
  runtime errors are now reported by applying print to an Exception
  (formerly the built-in printer was applied to the faulty redex).
* Integrated .NET support (on Windows platforms).
* The -e, -f, -i, -N, -W and -X options and the :project command have been
  removed.
* A searchpath may include an entry of the form "directory/*", meaning all
  the immediate subdirectories of directory (see -Pstr).

- March 2005

This release is primarily targeted at Unix systems to gain experience with
new features. The new Cabal-based library build system has the potential to
make building on Windows easier, but it's not there yet. Volunteers welcome.

In addition to numerous bug fixes, user-visible changes include:

* The default current module is now the empty module Hugs.Base instead of
  the Prelude (see Section 2.2).
* The Char type and the Char module now support Unicode as specified in the
  Haskell 98 Report (contributed by Dmitry Golubovsky). Character oriented
  I/O uses a byte encoding of characters determined by the current locale
  (see Section 3.3).
* The new -X option can be used to group several options into one argument.
  This is now needed for executable runhugs scripts (using the Unix "#!"
  feature) that require two or more options (see Section 4.1).
* The syntax of the ffihugs command has changed (see Section 4.2). The +G
  and +L options are gone, and a new -i option can be used to specify
  include files.
* Hugs now has basic support for the Cabal packaging system (see Section 3.4).

- May 2006

* The default current module is now the empty module Hugs (see Section 2.2).
* The compatibility libraries are no longer included on the default search
  path. You can access them by adding "{Hugs}/oldlib" to the search path
  (see -Pstr), but they will be removed in the next release.
* Rewritten graphical Windows interface (contributed by Neil Mitchell; see
  Section 4.3).
* New :main command (contributed by Neil Mitchell).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2005/11/03 22:35:53 rillig Exp $
d5 1
d19 12
@


1.32
log
@Fixed wrong use of WRKSRC.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2005/09/28 20:52:23 rillig Exp $
d3 2
a4 3
DISTNAME=	hugs98-Dec2001
PKGNAME=	hugs98-200112
PKGREVISION=	2
d6 1
a6 1
MASTER_SITES=	http://cvs.haskell.org/Hugs/downloads/
d10 1
a10 1
COMMENT=	Nottingham and Yale Haskell interpreter and programming environment
d13 1
a13 12
CONFIGURE_DIRS=		src/unix
CONFIGURE_ARGS+=	--with-readline
BUILD_DIRS=		src
BUILD_TARGET=		default

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "Darwin"
# Trick it into not checking if symbols have leading underscores,
# since the dlcompat layer expects you to not be that clever.
CONFIGURE_ENV+=		ac_cv_header_nlist_h=no
.endif
d15 2
a16 1
INSTALLATION_DIRS=	man/man1
d18 1
a18 2
post-install:
	${INSTALL_MAN} ${WRKSRC}/docs/hugs.1 ${PREFIX}/man/man1/hugs.1
d20 5
a24 2
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.31
log
@Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2005/06/16 06:58:00 jlam Exp $
a12 1
WRKSRC=			${WRKDIR}/hugs98-Dec2001/src/unix
d14 1
d16 1
a28 8
do-build:
	@@cd ${WRKSRC}/.. && ${SETENV} ${MAKE_ENV} \
		${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${BUILD_TARGET}

do-install:
	@@cd ${WRKSRC}/.. && ${SETENV} ${MAKE_ENV} \
		${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${INSTALL_TARGET}

d30 1
a30 1
	${INSTALL_MAN} ${WRKSRC}/../../docs/hugs.1 ${PREFIX}/man/man1/hugs.1
@


1.30
log
@Create directories before installing files into them.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2005/04/11 21:46:14 tv Exp $
d14 1
a14 1
GNU_CONFIGURE=		# defined
@


1.29
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2004/12/03 15:15:00 wiz Exp $
d26 2
@


1.28
log
@Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2004/10/03 00:15:01 tv Exp $
a13 1
USE_BUILDLINK3=		yes
@


1.27
log
@Libtool fix for PR pkg/26633, and other issues.  Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2004/08/28 16:29:55 danw Exp $
d17 1
a17 1
ALL_TARGET=		default
d29 1
a29 1
		${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${ALL_TARGET}
@


1.26
log
@darwin fix
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2004/04/28 05:06:28 snj Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.25
log
@Convert to buildlink3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2004/01/20 12:19:16 agc Exp $
d19 8
@


1.24
log
@Move WRKSRC definition away from the first paragraph in a Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2003/05/04 20:19:46 jtb Exp $
d14 1
a14 1
USE_BUILDLINK2=		# defined
d30 1
a30 1
.include "../../devel/readline/buildlink2.mk"
@


1.23
log
@Fix a bug in input.c where an unsigned char is compared to EOF (-1),
causing hugs to hang on some systems (powerpc).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2002/10/25 18:36:13 wiz Exp $
a5 1
WRKSRC=		${WRKDIR}/hugs98-Dec2001/src/unix
d13 1
@


1.22
log
@buildlink1 -> buildlink2.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2002/04/09 02:59:14 markd Exp $
d5 1
@


1.21
log
@Update Hugs98 to Dec 2001 version.

Changes are:

   - The incompatibilities between Hugs and the Haskell Graphics Library
     have been fixed, and binaries for the HGL are now available on the
     Hugs download page.

   - The missing standard libraries Directory, CPUTime, Time and Locale
     have been added along with a complete implementation of Haskell98 IO.

   - Hugs is now delivered with most of the hslibs libraries installed
     in the lib/exts/ directory.  The added modules cover the Edison,
     Parsec, HaXml, QuickCheck, concurrent, monad, and html subdirectories
     of hslibs.

   - The :set option now refuses the user to set a module search path
     that doesn't contain the Prelude. This is to protect users from
     accidentally rendering their Hugs setups unusable, esp. so on
     Windows machines where the options are persisted to the Registry.

   - MacOS X is now one of the supported unix ports, with pre-built
     binaries available on the download page.

   - Experimental support is provided for hierarchical module names,
     where a module name A.B.C is mapped onto the file path
     A/B/C{.hs,.lhs} and appended to each of the path prefixes in
     HUGSPATH until the name of a readable file is found.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2001/06/21 02:42:54 jlam Exp $
d13 1
a13 1
USE_BUILDLINK_ONLY=	# defined
d29 1
a29 1
.include "../../devel/readline/buildlink.mk"
@


1.20
log
@
Update Hugs Haskell Interpreter to Feb. 2001 release.
Pr 13866 by Brian Gregor.

New Features Include:

   - A Foreign Function Interface closely modeled after the one
     provided by GHC.

   - Built-in, Hood-like debugging support.

   - A new syntax for recursive monad bindings.

   - A new GUI under Windows that doesn't consume all CPU time.
@
text
@d3 3
a5 3
DISTNAME=	hugs98-Feb2001
PKGNAME=	hugs98-200102
WRKSRC=		${WRKDIR}/hugs98-Feb2001/src/unix
d7 1
a7 1
MASTER_SITES=	ftp://www.cse.ogi.edu/pub/pacsoft/hugs/
@


1.19
log
@Reorder some lines (cosmetic), mark as USE_BUILDLINK_ONLY, and remove
unnecessary config.cache entry to prevent detection of ncurses.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2001/06/11 02:05:12 jlam Exp $
d3 3
a5 3
DISTNAME=	hugs98-Feb2000
PKGNAME=	hugs98-200002
WRKSRC=		${WRKDIR}/hugs98/src/unix
@


1.18
log
@The buildlink include and lib directories are added to CFLAGS, CPPFLAGS,
CXXFLAGS, and LDFLAGS by the buildlink.mk files so remove the extra
definitions to add them from the package Makefiles.  As advised by the
bsd.buildlink.mk file, also ensure that the buildlink.mk files are
included prior to defining any package-specific CFLAGS/LDFLAGS to ensure
that the buildlink directories are at the head of the compiler search
paths.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2001/06/10 00:08:45 jlam Exp $
d5 1
d13 1
a13 1
WRKSRC=			${WRKDIR}/hugs98/src/unix
a17 8
# Don't link against ncurses; linking against termcap will do.
CONFIGURE_ENV+=		ac_cv_lib_ncurses_main=no

# Hugs' build doesn't require the readline headers, only the readline library.
# The only function it uses is readline().
#
.include "../../devel/readline/buildlink.mk"

d29 1
@


1.17
log
@Remove dependency on ${BUILDLINK_TARGETS} in pre-configure and pre-build
targets as the buildlink.mk files now add the dependency automatically.
Remove any NO_CONFIGURE definitions as they seem to be useless.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2001/05/24 08:53:57 jlam Exp $
a23 2

LDFLAGS+=		-L${BUILDLINK_LIBDIR}
@


1.16
log
@Standardize name of file to include for build-links to be "buildlink.mk".
Use BUILDLINK_INCDIR, BUILDLINK_LIBDIR for locations of linked headers
and libraries.  Create a variable BUILDLINK_TARGETS whose value is the
list of build-link targets to execute.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2001/05/22 06:54:05 jlam Exp $
a25 2

pre-configure: ${BUILDLINK_TARGETS}
@


1.15
log
@Use editline readline emulation when available.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2001/05/22 06:38:08 jlam Exp $
d23 1
a23 1
.include "../../devel/readline/Makefile.readline"
d25 1
a25 1
LDFLAGS+=		-L${WRKLIBDIR}
d27 1
a27 1
pre-configure: link-readline-libs
@


1.14
log
@Set WRKSRC to location of configure script, and manually create do-build
and do-install targets.  This is better as the configure script gets
called with the correct environment settings.  Also set the values for
INSTALL_PROGRAM and INSTALL_DATA used in the project's Makefile to their
pkgsrc BSD_* counterparts.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2001/02/17 09:07:12 agc Exp $
a11 2
DEPENDS+=	readline-*:../../devel/readline

d16 12
@


1.13
log
@Move the COMMENT from being in its own file to a definition in the
package Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2000/07/05 22:10:05 nathanw Exp $
d14 12
a25 10
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})
d28 1
a28 1
	${INSTALL_DATA} ${WRKSRC}/../docs/hugs.1 ${PREFIX}/man/man1/hugs.1
@


1.12
log
@Update to Hugs98-Feb2000.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2000/04/24 04:17:38 mbw Exp $
d10 1
@


1.11
log
@
configure was missing a ./ and wasn't finding the configure script
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2000/03/27 08:54:57 tron Exp $
d3 2
a4 2
DISTNAME=	Hugs98-May1999
PKGNAME=	Hugs98-199905
d6 1
a6 1
MASTER_SITES=	http://www.cse.ogi.edu/~mpj/Hugs98/
d13 1
a13 1
WRKSRC=		${WRKDIR}/Hugs98/src
@


1.10
log
@Adapt to new handling of "${CONFIGURE}".
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2000/01/24 12:27:20 augustss Exp $
d22 1
a22 1
	cd ${WRKSRC}; (cd unix; ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})
@


1.9
log
@Apply patch from PR 9115.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 1999/12/18 13:35:54 abs Exp $
d22 1
a22 1
	cd ${WRKSRC}; (cd unix; ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})
@


1.8
log
@Standardise PKGNAME versions (should start with a number)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 1999/08/18 10:19:40 agc Exp $
d11 2
d15 2
@


1.7
log
@Remove redundant EXTRACT_SUFX definition
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 1999/08/18 03:17:20 nathanw Exp $
d4 1
@


1.6
log
@Update (long overdue) to Hugs 98, May 1999 version.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 1998/08/26 14:50:06 tsarna Exp $
a5 1
EXTRACT_SUFX=	.tar.gz
@


1.5
log
@Better HOMEPAGE, remove from DESCR
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 1998/08/20 15:17:05 tsarna Exp $
d3 1
a3 2
DISTNAME=	hugs-January1998-source
PKGNAME=	hugs-1.4
d5 2
a6 3
MASTER_SITES=	ftp://haskell.org/pub/haskell/hugs/January1998/ \
		ftp://ftp.cs.nott.ac.uk/pub/haskell/hugs/January1998/
EXTRACT_SUFX=	.tgz
d11 1
a11 1
WRKSRC=		${WRKDIR}/hugs/src
d17 5
a21 2
post-extract:
	@@${LN} -s ${FILESDIR}/configure ${WRKSRC}
@


1.4
log
@The Grand Homepagification:
	- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 1998/04/15 10:38:28 agc Exp $
d11 1
a11 1
HOMEPAGE=	http://haskell.systemsz.cs.yale.edu/hugs/
@


1.3
log
@Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.
Remove redundant (and sometimes erroneous) comments.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 1998/04/03 22:11:43 tron Exp $
d11 1
@


1.2
log
@Solve problem with "configure" target in a more future compatible way.
@
text
@d1 1
a1 6
# New packages collection makefile for: hugs
# Version required:	1.4
# Date created:		22-Mar-98
# Whom:			nathanw@@mit.edu
#
# $NetBSD: Makefile,v 1.1 1998/04/03 21:14:22 tron Exp $
d21 1
a21 1
.include <bsd.port.mk>
@


1.1
log
@New "hugs-1.4" package made by Nathan J. Williams.
@
text
@d6 1
a6 1
# $NetBSD$
d20 2
d23 2
a24 9
# The hugs distribution puts configure and friends in a subdirectory 
# below the sources, and insists that configure be run from that directory,
# which is awkward for bsd.port.mk.
do-configure:
	@@(cd ${WRKSRC}/unix && CC="${CC}" ac_cv_path_CC="${CC}" \
	    CFLAGS="${CFLAGS}" \
	    INSTALL="${INSTALL_DATA}" \
	    INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
	    ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})
@
