head	1.47;
access;
symbols
	pkgsrc-2026Q1:1.47.0.4
	pkgsrc-2026Q1-base:1.47
	pkgsrc-2025Q4:1.47.0.2
	pkgsrc-2025Q4-base:1.47
	pkgsrc-2025Q3:1.46.0.62
	pkgsrc-2025Q3-base:1.46
	pkgsrc-2025Q2:1.46.0.60
	pkgsrc-2025Q2-base:1.46
	pkgsrc-2025Q1:1.46.0.58
	pkgsrc-2025Q1-base:1.46
	pkgsrc-2024Q4:1.46.0.56
	pkgsrc-2024Q4-base:1.46
	pkgsrc-2024Q3:1.46.0.54
	pkgsrc-2024Q3-base:1.46
	pkgsrc-2024Q2:1.46.0.52
	pkgsrc-2024Q2-base:1.46
	pkgsrc-2024Q1:1.46.0.50
	pkgsrc-2024Q1-base:1.46
	pkgsrc-2023Q4:1.46.0.48
	pkgsrc-2023Q4-base:1.46
	pkgsrc-2023Q3:1.46.0.46
	pkgsrc-2023Q3-base:1.46
	pkgsrc-2023Q2:1.46.0.44
	pkgsrc-2023Q2-base:1.46
	pkgsrc-2023Q1:1.46.0.42
	pkgsrc-2023Q1-base:1.46
	pkgsrc-2022Q4:1.46.0.40
	pkgsrc-2022Q4-base:1.46
	pkgsrc-2022Q3:1.46.0.38
	pkgsrc-2022Q3-base:1.46
	pkgsrc-2022Q2:1.46.0.36
	pkgsrc-2022Q2-base:1.46
	pkgsrc-2022Q1:1.46.0.34
	pkgsrc-2022Q1-base:1.46
	pkgsrc-2021Q4:1.46.0.32
	pkgsrc-2021Q4-base:1.46
	pkgsrc-2021Q3:1.46.0.30
	pkgsrc-2021Q3-base:1.46
	pkgsrc-2021Q2:1.46.0.28
	pkgsrc-2021Q2-base:1.46
	pkgsrc-2021Q1:1.46.0.26
	pkgsrc-2021Q1-base:1.46
	pkgsrc-2020Q4:1.46.0.24
	pkgsrc-2020Q4-base:1.46
	pkgsrc-2020Q3:1.46.0.22
	pkgsrc-2020Q3-base:1.46
	pkgsrc-2020Q2:1.46.0.20
	pkgsrc-2020Q2-base:1.46
	pkgsrc-2020Q1:1.46.0.16
	pkgsrc-2020Q1-base:1.46
	pkgsrc-2019Q4:1.46.0.18
	pkgsrc-2019Q4-base:1.46
	pkgsrc-2019Q3:1.46.0.14
	pkgsrc-2019Q3-base:1.46
	pkgsrc-2019Q2:1.46.0.12
	pkgsrc-2019Q2-base:1.46
	pkgsrc-2019Q1:1.46.0.10
	pkgsrc-2019Q1-base:1.46
	pkgsrc-2018Q4:1.46.0.8
	pkgsrc-2018Q4-base:1.46
	pkgsrc-2018Q3:1.46.0.6
	pkgsrc-2018Q3-base:1.46
	pkgsrc-2018Q2:1.46.0.4
	pkgsrc-2018Q2-base:1.46
	pkgsrc-2018Q1:1.46.0.2
	pkgsrc-2018Q1-base:1.46
	pkgsrc-2017Q4:1.45.0.20
	pkgsrc-2017Q4-base:1.45
	pkgsrc-2017Q3:1.45.0.18
	pkgsrc-2017Q3-base:1.45
	pkgsrc-2017Q2:1.45.0.14
	pkgsrc-2017Q2-base:1.45
	pkgsrc-2017Q1:1.45.0.12
	pkgsrc-2017Q1-base:1.45
	pkgsrc-2016Q4:1.45.0.10
	pkgsrc-2016Q4-base:1.45
	pkgsrc-2016Q3:1.45.0.8
	pkgsrc-2016Q3-base:1.45
	pkgsrc-2016Q2:1.45.0.6
	pkgsrc-2016Q2-base:1.45
	pkgsrc-2016Q1:1.45.0.4
	pkgsrc-2016Q1-base:1.45
	pkgsrc-2015Q4:1.45.0.2
	pkgsrc-2015Q4-base:1.45
	pkgsrc-2015Q3:1.44.0.6
	pkgsrc-2015Q3-base:1.44
	pkgsrc-2015Q2:1.44.0.4
	pkgsrc-2015Q2-base:1.44
	pkgsrc-2015Q1:1.44.0.2
	pkgsrc-2015Q1-base:1.44
	pkgsrc-2014Q4:1.43.0.18
	pkgsrc-2014Q4-base:1.43
	pkgsrc-2014Q3:1.43.0.16
	pkgsrc-2014Q3-base:1.43
	pkgsrc-2014Q2:1.43.0.14
	pkgsrc-2014Q2-base:1.43
	pkgsrc-2014Q1:1.43.0.12
	pkgsrc-2014Q1-base:1.43
	pkgsrc-2013Q4:1.43.0.10
	pkgsrc-2013Q4-base:1.43
	pkgsrc-2013Q3:1.43.0.8
	pkgsrc-2013Q3-base:1.43
	pkgsrc-2013Q2:1.43.0.6
	pkgsrc-2013Q2-base:1.43
	pkgsrc-2013Q1:1.43.0.4
	pkgsrc-2013Q1-base:1.43
	pkgsrc-2012Q4:1.43.0.2
	pkgsrc-2012Q4-base:1.43
	pkgsrc-2012Q3:1.42.0.2
	pkgsrc-2012Q3-base:1.42
	pkgsrc-2012Q2:1.41.0.2
	pkgsrc-2012Q2-base:1.41
	pkgsrc-2012Q1:1.40.0.2
	pkgsrc-2012Q1-base:1.40
	pkgsrc-2011Q4:1.39.0.26
	pkgsrc-2011Q4-base:1.39
	pkgsrc-2011Q3:1.39.0.24
	pkgsrc-2011Q3-base:1.39
	pkgsrc-2011Q2:1.39.0.22
	pkgsrc-2011Q2-base:1.39
	pkgsrc-2011Q1:1.39.0.20
	pkgsrc-2011Q1-base:1.39
	pkgsrc-2010Q4:1.39.0.18
	pkgsrc-2010Q4-base:1.39
	pkgsrc-2010Q3:1.39.0.16
	pkgsrc-2010Q3-base:1.39
	pkgsrc-2010Q2:1.39.0.14
	pkgsrc-2010Q2-base:1.39
	pkgsrc-2010Q1:1.39.0.12
	pkgsrc-2010Q1-base:1.39
	pkgsrc-2009Q4:1.39.0.10
	pkgsrc-2009Q4-base:1.39
	pkgsrc-2009Q3:1.39.0.8
	pkgsrc-2009Q3-base:1.39
	pkgsrc-2009Q2:1.39.0.6
	pkgsrc-2009Q2-base:1.39
	pkgsrc-2009Q1:1.39.0.4
	pkgsrc-2009Q1-base:1.39
	pkgsrc-2008Q4:1.39.0.2
	pkgsrc-2008Q4-base:1.39
	pkgsrc-2008Q3:1.38.0.2
	pkgsrc-2008Q3-base:1.38
	cube-native-xorg:1.37.0.6
	cube-native-xorg-base:1.37
	pkgsrc-2008Q2:1.37.0.4
	pkgsrc-2008Q2-base:1.37
	cwrapper:1.37.0.2
	pkgsrc-2008Q1:1.36.0.6
	pkgsrc-2008Q1-base:1.36
	pkgsrc-2007Q4:1.36.0.4
	pkgsrc-2007Q4-base:1.36
	pkgsrc-2007Q3:1.36.0.2
	pkgsrc-2007Q3-base:1.36
	pkgsrc-2007Q2:1.35.0.8
	pkgsrc-2007Q2-base:1.35
	pkgsrc-2007Q1:1.35.0.6
	pkgsrc-2007Q1-base:1.35
	pkgsrc-2006Q4:1.35.0.4
	pkgsrc-2006Q4-base:1.35
	pkgsrc-2006Q3:1.35.0.2
	pkgsrc-2006Q3-base:1.35
	pkgsrc-2006Q2:1.34.0.2
	pkgsrc-2006Q2-base:1.34
	pkgsrc-2006Q1:1.33.0.2
	pkgsrc-2006Q1-base:1.33
	pkgsrc-2005Q4:1.32.0.2
	pkgsrc-2005Q4-base:1.32
	pkgsrc-2005Q3:1.29.0.4
	pkgsrc-2005Q3-base:1.29
	pkgsrc-2005Q2:1.29.0.2
	pkgsrc-2005Q2-base:1.29
	pkgsrc-2005Q1:1.25.0.4
	pkgsrc-2005Q1-base:1.25
	pkgsrc-2004Q4:1.25.0.2
	pkgsrc-2004Q4-base:1.25
	pkgsrc-2004Q3:1.23.0.4
	pkgsrc-2004Q3-base:1.23
	pkgsrc-2004Q2:1.23.0.2
	pkgsrc-2004Q2-base:1.23
	pkgsrc-2004Q1:1.22.0.4
	pkgsrc-2004Q1-base:1.22
	pkgsrc-2003Q4:1.22.0.2
	pkgsrc-2003Q4-base:1.22
	netbsd-1-6-1:1.20.0.2
	netbsd-1-6-1-base:1.20
	netbsd-1-6:1.19.0.8
	netbsd-1-6-RELEASE-base:1.19
	pkgviews:1.19.0.4
	pkgviews-base:1.19
	buildlink2:1.19.0.2
	buildlink2-base:1.19
	netbsd-1-5-PATCH003:1.19
	netbsd-1-5-PATCH001:1.17
	netbsd-1-5-RELEASE:1.16
	netbsd-1-4-PATCH003:1.16
	netbsd-1-4-PATCH002:1.11
	comdex-fall-1999:1.11
	netbsd-1-4-PATCH001:1.10
	netbsd-1-4-RELEASE:1.8
	netbsd-1-3-PATCH003:1.7
	netbsd-1-3-PATCH002:1.4
	FreeBSD-current-1998-03-31:1.1.1.1
	FREEBSD:1.1.1;
locks; strict;
comment	@# @;


1.47
date	2025.12.08.10.01.23;	author wiz;	state Exp;
branches;
next	1.46;
commitid	q0u9ZMWKfzLmDAlG;

1.46
date	2018.01.28.20.10.53;	author wiz;	state Exp;
branches;
next	1.45;
commitid	QPx6fI8ZTJVRhGoA;

1.45
date	2015.10.14.20.17.27;	author wiz;	state Exp;
branches;
next	1.44;
commitid	2Gl8uNEDDULae7Fy;

1.44
date	2015.02.23.18.28.52;	author joerg;	state Exp;
branches;
next	1.43;
commitid	NHGTRF5bbLDo7aby;

1.43
date	2012.10.02.20.11.38;	author asau;	state Exp;
branches;
next	1.42;

1.42
date	2012.08.29.08.45.52;	author dholland;	state Exp;
branches;
next	1.41;

1.41
date	2012.04.13.05.43.26;	author dholland;	state Exp;
branches;
next	1.40;

1.40
date	2012.01.22.18.11.05;	author asau;	state Exp;
branches;
next	1.39;

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

1.38
date	2008.09.24.22.34.45;	author ahoka;	state Exp;
branches;
next	1.37;

1.37
date	2008.04.12.22.43.02;	author jlam;	state Exp;
branches;
next	1.36;

1.36
date	2007.08.17.22.27.15;	author joerg;	state Exp;
branches;
next	1.35;

1.35
date	2006.08.17.23.51.33;	author adam;	state Exp;
branches;
next	1.34;

1.34
date	2006.06.02.16.39.15;	author joerg;	state Exp;
branches;
next	1.33;

1.33
date	2006.03.04.21.29.53;	author jlam;	state Exp;
branches;
next	1.32;

1.32
date	2005.12.12.21.36.55;	author joerg;	state Exp;
branches;
next	1.31;

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

1.30
date	2005.10.15.23.07.21;	author tonio;	state Exp;
branches;
next	1.29;

1.29
date	2005.06.01.18.02.58;	author jlam;	state Exp;
branches;
next	1.28;

1.28
date	2005.04.11.21.46.13;	author tv;	state Exp;
branches;
next	1.27;

1.27
date	2005.04.08.16.03.37;	author wiz;	state Exp;
branches;
next	1.26;

1.26
date	2005.03.24.21.12.55;	author wiz;	state Exp;
branches;
next	1.25;

1.25
date	2004.12.03.15.15.00;	author wiz;	state Exp;
branches;
next	1.24;

1.24
date	2004.10.03.00.15.00;	author tv;	state Exp;
branches;
next	1.23;

1.23
date	2004.04.28.05.06.28;	author snj;	state Exp;
branches;
next	1.22;

1.22
date	2003.07.17.21.44.16;	author grant;	state Exp;
branches;
next	1.21;

1.21
date	2003.06.02.01.19.05;	author jschauma;	state Exp;
branches;
next	1.20;

1.20
date	2002.09.23.08.45.42;	author jlam;	state Exp;
branches;
next	1.19;

1.19
date	2002.01.09.23.12.23;	author wiz;	state Exp;
branches;
next	1.18;

1.18
date	2002.01.09.23.04.52;	author seb;	state Exp;
branches;
next	1.17;

1.17
date	2001.02.17.09.07.05;	author agc;	state Exp;
branches;
next	1.16;

1.16
date	2000.10.05.15.08.54;	author agc;	state Exp;
branches;
next	1.15;

1.15
date	2000.08.23.21.53.55;	author wiz;	state Exp;
branches;
next	1.14;

1.14
date	2000.08.21.21.01.31;	author hubertf;	state Exp;
branches;
next	1.13;

1.13
date	2000.07.10.11.49.55;	author dmcmahill;	state Exp;
branches;
next	1.12;

1.12
date	2000.07.07.17.52.03;	author dmcmahill;	state Exp;
branches;
next	1.11;

1.11
date	99.08.17.11.18.40;	author agc;	state Exp;
branches;
next	1.10;

1.10
date	99.06.04.16.55.12;	author drochner;	state Exp;
branches;
next	1.9;

1.9
date	99.05.24.20.39.43;	author tv;	state Exp;
branches;
next	1.8;

1.8
date	98.11.13.01.16.35;	author frueauf;	state Exp;
branches;
next	1.7;

1.7
date	98.09.22.06.11.37;	author garbled;	state Exp;
branches;
next	1.6;

1.6
date	98.08.20.15.17.04;	author tsarna;	state Exp;
branches;
next	1.5;

1.5
date	98.06.22.12.44.30;	author agc;	state Exp;
branches;
next	1.4;

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

1.3
date	98.04.01.11.33.19;	author frueauf;	state Exp;
branches;
next	1.2;

1.2
date	98.03.31.11.54.15;	author agc;	state Exp;
branches;
next	1.1;

1.1
date	98.03.31.11.49.37;	author agc;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.03.31.11.49.37;	author agc;	state Exp;
branches;
next	;


desc
@@


1.47
log
@elk: switch to https
@
text
@# $NetBSD: Makefile,v 1.46 2018/01/28 20:10:53 wiz Exp $

DISTNAME=	elk-3.99.8
PKGREVISION=	3
CATEGORIES=	lang
MASTER_SITES=	https://sam.zoy.org/elk/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://sam.zoy.org/elk/
COMMENT=	Embeddable Scheme interpreter

MAKE_JOBS_SAFE=		no

USE_TOOLS+=		groff
USE_LANGUAGES=		c c++
USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes

CONFIG_GUESS_OVERRIDE+=	.auto/config.guess
CONFIG_SUB_OVERRIDE+=	.auto/config.sub

.include "options.mk"

.include "../../databases/gdbm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.46
log
@Bump PKGREVISION for gdbm shlib major bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2015/10/14 20:17:27 wiz Exp $
d6 1
a6 1
MASTER_SITES=	http://sam.zoy.org/elk/
d10 1
a10 1
HOMEPAGE=	http://sam.zoy.org/elk/
@


1.45
log
@Switch from x11/Xaw3d to newer x11/libXaw3d.

Adapt some packages so they build with that.
Bump their PKGREVISIONs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2015/02/23 18:28:52 joerg Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.44
log
@Help config.guess/config.sub override logic.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2012/10/02 20:11:38 asau Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.43
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2012/08/29 08:45:52 dholland Exp $
d20 3
@


1.42
log
@USE_TOOLS+=groff, needed on Solaris
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2012/04/13 05:43:26 dholland Exp $
a12 1
PKG_DESTDIR_SUPPORT=	user-destdir
@


1.41
log
@This builds a gdbm library if it finds gdbm; buildlink in gdbm so this
is always available, and update the PLIST accordingly. PKGREVISION -> 1.
Fixes build on Linux, where there's usually a native gdbm.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2012/01/22 18:11:05 asau Exp $
d16 1
@


1.40
log
@Update to Elk 3.99.8.
Maintenance release with minor bugfixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2008/11/10 17:21:36 wiz Exp $
d4 1
d22 1
@


1.39
log
@Bump PKGREVISION for libXaw API depends bump due to libXaw8 removal.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2008/09/24 22:34:45 ahoka Exp $
d3 1
a3 2
DISTNAME=	elk-3.99.7
PKGREVISION=	1
@


1.38
log
@Not jobsafe.
Reported by ASau.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2008/04/12 22:43:02 jlam Exp $
d4 1
@


1.37
log
@Convert to use PLIST_VARS instead of manually passing "@@comment "
through PLIST_SUBST to the plist module.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2007/08/17 22:27:15 joerg Exp $
d13 1
@


1.36
log
@Mark as DESTDIR save and fix modular Xorg build.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2006/08/17 23:51:33 adam Exp $
a16 1
CONFIGURE_ENV+=		WITH_XAW=${ELK_AWK:Q}
@


1.35
log
@Changes 3.99.7:
* The last known garbage-collector bug was fixed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2006/06/02 16:39:15 joerg Exp $
d12 2
@


1.34
log
@Uses C++.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2006/03/04 21:29:53 jlam Exp $
d3 8
a10 11
DISTNAME=		elk-3.99.6
PKGREVISION=		1
CATEGORIES=		lang
MASTER_SITES=		http://sam.zoy.org/elk/

MAINTAINER=		pkgsrc-users@@NetBSD.org
HOMEPAGE=		http://sam.zoy.org/elk/
COMMENT=		Embeddable Scheme interpreter

GNU_CONFIGURE=yes
USE_LIBTOOL=  yes
d13 2
a14 1

@


1.33
log
@Point MAINTAINER to pkgsrc-users@@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2005/12/12 21:36:55 joerg Exp $
d15 2
@


1.32
log
@Bump all motif packages for recent openmotif update. The major version
of the shared libXm has changed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2005/12/05 20:50:25 rillig Exp $
d8 1
a8 1
MAINTAINER=		tech-pkg@@NetBSD.org
@


1.31
log
@Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2005/10/15 23:07:21 tonio Exp $
d4 1
@


1.30
log
@Update lang/elk to 3.99.6
Update HOMEPAGE and MASTER_SITES
3.99.* use autoconf/automake and libtool. It should work on alpha and other 64
platforms
Convert to use the option framework. Options xaw and motif enable xaw and motif
widget support. Both imply x11 support.

The update should fix PR 31750
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2005/06/01 18:02:58 jlam Exp $
d14 1
a14 1
CONFIGURE_ENV= WITH_XAW="${ELK_AWK}"
@


1.29
log
@Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2005/04/11 21:46:13 tv Exp $
d3 1
a3 3
DISTNAME=		elk-3.0
PKGNAME=		elk-3.0.3
PKGREVISION=	1
d5 1
a5 1
MASTER_SITES=		http://www-rn.informatik.uni-bremen.de/software/elk/dist/
d11 2
a12 2
# ELF loading problems, LP64
NOT_FOR_PLATFORM=	*-*-alpha *-*-mips* *-*-sparc64
d14 1
a14 1
BUILD_TARGET=		default
d16 1
a16 53
.include "../../mk/bsd.prefs.mk"

ELK_GUI?=	none
BUILD_DEFS+=	ELK_GUI

# We must strip the "-Wl," from the linker flags because they are saved
# by elk to be used to invoke the real "ld", which won't understand them.
#
.if ${ELK_GUI} != "none"
MAKE_ENV+=	X11_LDFLAGS="${X11_LDFLAGS:S/-Wl,//}"
.  if !empty(ELK_GUI:Mxaw)
.    include "../../mk/xaw.buildlink3.mk"
LIBXAW:=	${LIBXAW:S/-Wl,//}
ELK_SUBDIRS+=	lib/xlib lib/xt lib/xaw
PLIST_SRC+=	${PKGDIR}/PLIST.X11
BUILD_DEFS+=	XAW_TYPE
.  endif
.  if !empty(ELK_GUI:Mmotif)
.    include "../../mk/motif.buildlink3.mk"
MOTIFLIB:=	${MOTIFLIB:S/-Wl,//}
ELK_SUBDIRS+=	lib/xm lib/xm/xt
PLIST_SRC+=	${PKGDIR}/PLIST.Motif
.  endif
.endif

PLIST_SRC+=	${PKGDIR}/PLIST.base
MAKE_ENV+=	ELK_SUBDIRS="${ELK_SUBDIRS}"

.include "../../mk/x11.buildlink3.mk"

do-configure:
	${MV} ${WRKSRC}/src/stab-elf.c ${WRKSRC}/src/stab-elf.c-dist
	${CP} ${FILESDIR}/stab-elf.c ${WRKSRC}/src
	@@case ${OBJECT_FMT} in						\
	a.out)	exetype=aout ;;						\
	ELF)	exetype=elf ;;						\
	*)	${ECHO} "Unsupported object format: ${OBJECT_FMT}";	\
		exit 1 ;;						\
	esac;								\
	${ECHO} "Setting up links for $$exetype on ${LOWER_OPSYS}";	\
	${RM} -f ${WRKSRC}/config/untested/elf-solaris-cc;		\
	${LN} -s ${WRKSRC}/config/sun-sunos5-gcc			\
		${WRKSRC}/config/untested/elf-solaris-cc;		\
	${RM} -f ${WRKSRC}/config/system ${WRKSRC}/config/site;		\
	${LN} -s ${WRKSRC}/config/untested/$$exetype-${LOWER_OPSYS}-cc	\
		${WRKSRC}/config/system;				\
	for f in aout-netbsd elf-netbsd elf-solaris; do			\
		${RM} -f ${WRKSRC}/config/sites/$$f;			\
		${LN} -s ${WRKSRC}/config/sites/pkgsrc			\
			${WRKSRC}/config/sites/$$f;			\
	done;								\
	${LN} -s ${WRKSRC}/config/sites/$$exetype-${LOWER_OPSYS}	\
		${WRKSRC}/config/site
@


1.28
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2005/04/08 16:03:37 wiz Exp $
a28 1
USE_X11=	# defined
d46 2
@


1.27
log
@Update HOMEPAGE.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2005/03/24 21:12:55 wiz Exp $
a16 1
USE_BUILDLINK3=		yes
@


1.26
log
@Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be
useful.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2004/12/03 15:15:00 wiz Exp $
d10 1
a10 1
HOMEPAGE=		http://www-rn.informatik.uni-bremen.de/software/elk/
@


1.25
log
@Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
@
text
@d1 1
a1 3
# $NetBSD: Makefile,v 1.24 2004/10/03 00:15:00 tv Exp $
# FreeBSD Id: Makefile,v 1.15 1997/09/01 12:28:30 tg Exp
#
@


1.24
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.23 2004/04/28 05:06:28 snj Exp $
d18 1
a18 1
ALL_TARGET=		default
@


1.23
log
@Convert to buildlink3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2003/07/17 21:44:16 grant Exp $
d7 1
@


1.22
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2003/06/02 01:19:05 jschauma Exp $
d18 1
a18 1
USE_BUILDLINK2=		yes
d32 1
a32 1
.    include "../../mk/xaw.buildlink2.mk"
d39 1
a39 1
.    include "../../mk/motif.buildlink2.mk"
@


1.21
log
@Use tech-pkg@@ in favor of packages@@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2002/09/23 08:45:42 jlam Exp $
d10 1
a10 1
MAINTAINER=		tech-pkg@@netbsd.org
@


1.20
log
@* buildlink1 -> buildlink2
* Replace ELK_USE_{X11,MOTIF} with ELK_GUI, which is either "none" or is
  some combination of "xaw" and/or "motif".
* Reenable Motif -- it seems to build properly with OpenMotif-2.0.x.
* Modernize this package a bit and clean up how linker flags are passed to
  the build process by using the new variables available.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2002/01/09 23:12:23 wiz Exp $
d10 1
a10 1
MAINTAINER=		packages@@netbsd.org
@


1.19
log
@Comment claims LP64 problems, so disable sparc64 too, not only alpha.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2002/01/09 23:04:52 seb Exp $
d18 1
a18 1
USE_BUILDLINK_ONLY=	yes
d22 26
a47 5
# Even with ../../x11/lesstif12 ELK's motif module does not seem to 
# work - it does compile though. So for now Motif support is comment out.
#.if defined(ELK_USE_MOTIF)
#ELK_USE_X11=	# defined
#.endif
d52 1
a52 1
	@@case `${MAKE} show-shlib-type` in				\
d55 2
d60 2
a61 1
	${LN} -s ${WRKSRC}/config/sun-sunos5-gcc ${WRKSRC}/config/untested/elf-solaris-cc; \
d63 2
a64 1
	${LN} -s ${WRKSRC}/config/untested/$$exetype-${LOWER_OPSYS}-cc ${WRKSRC}/config/system; \
d67 2
a68 1
		${LN} -s ${WRKSRC}/config/sites/pkgsrc ${WRKSRC}/config/sites/$$f; \
d70 2
a71 52
	${LN} -s ${WRKSRC}/config/sites/$$exetype-${LOWER_OPSYS} ${WRKSRC}/config/site

.if defined(ELK_USE_X11)
.  include "../../mk/x11.buildlink.mk"
ELK_SUBDIRS+=	lib/xlib
ELK_SUBDIRS+=	lib/xt
PLIST_SRC+=	${PKGDIR}/PLIST.X11
BUILD_DEFS+=	ELK_USE_X11
X11_LDFLAGS=	-L${X11BASE}/lib
.  if ${_USE_RPATH} == "yes"
X11_LDFLAGS+=-R${X11BASE}/lib
.  endif
MAKE_ENV+=	X11_LDFLAGS="${X11_LDFLAGS}"

.  include "../../mk/xaw.buildlink.mk"
ELK_SUBDIRS+=	lib/xaw
BUILD_DEFS+=	XAW_TYPE
.if ${XAW_TYPE} == "xpm"
EVAL_PREFIX+=	LIBXAW_PREFIX=Xaw-Xpm
.elif ${XAW_TYPE} == "3d"
EVAL_PREFIX+=	LIBXAW_PREFIX=Xaw3d
.endif
.if defined(LIBXAW_PREFIX)
XAW_LDFLAGS+=	-L${LIBXAW_PREFIX}/lib
.  if ${_USE_RPATH} == "yes"
XAW_LDFLAGS+=	-R${LIBXAW_PREFIX}/lib
.  endif
.endif
XAW_LIB=	${LIBXAW:M-l*}
MAKE_ENV+=	XAW_LDFLAGS="${XAW_LDFLAGS}"
MAKE_ENV+=	XAW_LIB="${XAW_LIB}"
.endif

#.if defined(ELK_USE_MOTIF)
#USE_MOTIF12=	# defined
#.  include "../../mk/motif.buildlink.mk"
#ELK_SUBDIRS+=	lib/xm
#ELK_SUBDIRS+=	lib/xm/xt
#PLIST_SRC+=	${PKGDIR}/PLIST.Motif
#BUILD_DEFS+=	ELK_USE_MOTIF
#MOTIF_LDFLAGS=	-L${_MOTIFBASE}/lib
#.  if ${_USE_RPATH} == "yes"
#MOTIF_LDFLAGS+=	-R${_MOTIFBASE}/lib
#.  endif
#MAKE_ENV+=	MOTIF_LDFLAGS="${MOTIF_LDFLAGS}"
#MOTIF_LIB=	${MOTIFLIB:M-l*}
#MAKE_ENV+=	MOTIF_LIB="${MOTIF_LIB}"
#.endif

PLIST_SRC+=	${PKGDIR}/PLIST.base

MAKE_ENV+=	ELK_SUBDIRS="${ELK_SUBDIRS}"
@


1.18
log
@Synchronize package version with reality: 3.0.3.

Regen the patches files (one file per patch).

Fix for NetBSD ELF platform: files/stab-elf.c and config/untested/elf-netbsd-cc
(by way of patches/patch-af) adjusted.
Thanks to Nick for the helping hand and to Alistair for the previous work.
This should close PR 13527.

Make X11 support conditional by way if the ELK_USE_X11 variable.

I tried to enable Motif support: only Motif 1.X should work but
even with the lesstif12 package it does not - it does compile though.
So Motif support if commented out but leaved in case someone want to fix
ELK.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2001/02/17 09:07:05 agc Exp $
d14 2
a15 1
NOT_FOR_PLATFORM=	*-*-alpha *-*-mips*	#elf loading problems, LP64
@


1.17
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.16 2000/10/05 15:08:54 agc Exp $
d6 1
a6 1
PKGNAME=		elk-3.0.2
d17 9
a25 1
USE_X11=		yes
d44 51
@


1.16
log
@Make this program work on ELF as well as a.out

The somewhat bizarre "patching" method was used because I rewrote the
routine which grabs global text symbols from an object file, and this
should be independent of a.out or ELF. The result bears no similarity
to what was there before, so I decided to keep the original file with
a "-dist" suffix.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2000/08/23 21:53:55 wiz Exp $
d12 1
@


1.15
log
@update MASTER_SITE
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2000/08/21 21:01:31 hubertf Exp $
a17 6
.include "../../mk/bsd.prefs.mk"

.if ${OBJECT_FMT} == "ELF" && ${OPSYS} == "NetBSD"
IGNORE+=	"${PKGNAME} has not yet been ported to NetBSD ELF platforms"
.endif

d19 2
@


1.14
log
@Update IGNORE-messages for recent changes: add ${PKGNAME} where
appropriate.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2000/07/10 11:49:55 dmcmahill Exp $
d8 1
a8 1
MASTER_SITES=		ftp://ftp.uni-bremen.de/pub/programming/languages/scheme/elk/
@


1.13
log
@mark this as not for any NetBSD-ELF platforms until someone has time to port
it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2000/07/07 17:52:03 dmcmahill Exp $
d21 1
a21 1
IGNORE+=	"has not yet been ported to NetBSD ELF platforms"
@


1.12
log
@- add config file for elf-netbsd-cc
- pic->PIC
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 1999/08/17 11:18:40 agc Exp $
d17 6
@


1.11
log
@Use USE_X11 in Makefile to show that this package links with X11
headers and libs.

Make this package work on Solaris.

Use the same "pkgsrc" configuration file for locations of objects on
NetBSD (both ELF and a.out) and Solaris.

Use a Makefile target, rather than a separate script.

Avoid clash with ALIGN definition in <sys/param.h>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 1999/06/04 16:55:12 drochner Exp $
d13 1
a13 1
NOT_FOR_PLATFORM=	*-*-alpha *-*-mips	#elf loading problems, LP64
@


1.10
log
@NOT_FOR_PLATFORM= *-*-{alpha,mips} doesn't work.
Worse - it matches (almost?) everything.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 1999/05/24 20:39:43 tv Exp $
d16 17
@


1.9
log
@Change {ONLY,NOT}_FOR_{ARCH,OPSYS} format to {ONLY,NOT}_FOR_PLATFORM
pattern match format.  Minor pkglint along the way.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 1998/11/13 01:16:35 frueauf Exp $
d13 1
a13 1
NOT_FOR_PLATFORM=	*-*-{alpha,mips}	#elf loading problems, LP64
@


1.8
log
@pkglint: move NOT_FOR_ARCHS where it belongs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 1998/09/22 06:11:37 garbled Exp $
d5 4
a8 4
DISTNAME=	elk-3.0
PKGNAME=	elk-3.0.2
CATEGORIES=	lang
MASTER_SITES=	ftp://ftp.uni-bremen.de/pub/programming/languages/scheme/elk/
d10 2
a11 2
MAINTAINER=	packages@@netbsd.org
HOMEPAGE=	http://www-rn.informatik.uni-bremen.de/software/elk/
d13 1
a13 1
NOT_FOR_ARCHS=	alpha mips	#elf loading problems, LP64
d15 1
a15 1
ALL_TARGET=	default
@


1.7
log
@add NOT_FOR_ARCHS= alpha for all of these pkgs which are *known* to fail
on alpha.  There may be more, but I haven't seen them yet.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 1998/08/20 15:17:04 tsarna Exp $
a9 2
NOT_FOR_ARCHS=	alpha mips	#elf loading problems, LP64

d12 2
@


1.6
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.5 1998/06/22 12:44:30 agc Exp $
d9 2
@


1.5
log
@Update package Makefiles for automatic manual page handling.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 1998/04/15 10:38:28 agc Exp $
d11 1
@


1.4
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.3 1998/04/01 11:33:19 frueauf Exp $
a12 2

MAN1=		elk.1
@


1.3
log
@portlint: add default MAINTAINER.
@
text
@d1 1
a1 6
# New ports collection makefile for:    elk
# Version required:     3.0pl2
# Date created:         08 March 1995
# Whom:                 Thomas Gellekum <tg@@FreeBSD.org>
#
# $NetBSD: Makefile,v 1.2 1998/03/31 11:54:15 agc Exp $
d16 1
a16 1
.include <bsd.port.mk>
@


1.2
log
@Add NetBSD RCS Id.

Clean up - do all the installation into the correct directories in
the "make install" step, so we don't need to putz around in the Makefile.

The patches have all been cleaned up, so that no -p1 argument is needed
to patch.
@
text
@d6 1
a6 1
# $NetBSD$
d15 2
d18 1
@


1.1
log
@Initial revision
@
text
@d6 1
a14 3
MAINTAINER=	tg@@freebsd.org

PATCH_STRIP=	-p1
a16 16

#
# we install the scheme binary as ${PREFIX}/bin/elk
# to avoid a clash with mit-scheme.
#

pre-install:
	@@${MKDIR} ${PREFIX}/share/elk

post-install:
	@@(cd ${PREFIX}/share/elk; \
	  ${CP} bin/scheme ${PREFIX}/bin/elk; \
	  ${MKDIR} ${PREFIX}/include/elk; \
	  ${CP} -R include/* ${PREFIX}/include/elk; \
	  rm -rf bin include)
	@@${INSTALL_MAN} ${WRKSRC}/doc/man/elk.1 ${PREFIX}/man/man1
@


1.1.1.1
log
@Initial import of elk-3.0.2, a scheme interpreter, into the NetBSD
packages collection, from the FreeBSD port.
@
text
@@
