head	1.78;
access;
symbols
	pkgsrc-2024Q4:1.77.0.10
	pkgsrc-2024Q4-base:1.77
	pkgsrc-2024Q3:1.77.0.8
	pkgsrc-2024Q3-base:1.77
	pkgsrc-2024Q2:1.77.0.6
	pkgsrc-2024Q2-base:1.77
	pkgsrc-2024Q1:1.77.0.4
	pkgsrc-2024Q1-base:1.77
	pkgsrc-2023Q4:1.77.0.2
	pkgsrc-2023Q4-base:1.77
	pkgsrc-2023Q3:1.76.0.4
	pkgsrc-2023Q3-base:1.76
	pkgsrc-2023Q2:1.76.0.2
	pkgsrc-2023Q2-base:1.76
	pkgsrc-2023Q1:1.75.0.2
	pkgsrc-2023Q1-base:1.75
	pkgsrc-2022Q4:1.74.0.4
	pkgsrc-2022Q4-base:1.74
	pkgsrc-2022Q3:1.74.0.2
	pkgsrc-2022Q3-base:1.74
	pkgsrc-2022Q2:1.73.0.10
	pkgsrc-2022Q2-base:1.73
	pkgsrc-2022Q1:1.73.0.8
	pkgsrc-2022Q1-base:1.73
	pkgsrc-2021Q4:1.73.0.6
	pkgsrc-2021Q4-base:1.73
	pkgsrc-2021Q3:1.73.0.4
	pkgsrc-2021Q3-base:1.73
	pkgsrc-2021Q2:1.73.0.2
	pkgsrc-2021Q2-base:1.73
	pkgsrc-2021Q1:1.72.0.6
	pkgsrc-2021Q1-base:1.72
	pkgsrc-2020Q4:1.72.0.4
	pkgsrc-2020Q4-base:1.72
	pkgsrc-2020Q3:1.72.0.2
	pkgsrc-2020Q3-base:1.72
	pkgsrc-2020Q2:1.70.0.2
	pkgsrc-2020Q2-base:1.70
	pkgsrc-2020Q1:1.69.0.2
	pkgsrc-2020Q1-base:1.69
	pkgsrc-2019Q4:1.68.0.4
	pkgsrc-2019Q4-base:1.68
	pkgsrc-2019Q3:1.67.0.2
	pkgsrc-2019Q3-base:1.67
	pkgsrc-2019Q2:1.66.0.2
	pkgsrc-2019Q2-base:1.66
	pkgsrc-2019Q1:1.65.0.6
	pkgsrc-2019Q1-base:1.65
	pkgsrc-2018Q4:1.65.0.4
	pkgsrc-2018Q4-base:1.65
	pkgsrc-2018Q3:1.65.0.2
	pkgsrc-2018Q3-base:1.65
	pkgsrc-2018Q2:1.64.0.4
	pkgsrc-2018Q2-base:1.64
	pkgsrc-2018Q1:1.64.0.2
	pkgsrc-2018Q1-base:1.64
	pkgsrc-2017Q4:1.63.0.14
	pkgsrc-2017Q4-base:1.63
	pkgsrc-2017Q3:1.63.0.12
	pkgsrc-2017Q3-base:1.63
	pkgsrc-2017Q2:1.63.0.8
	pkgsrc-2017Q2-base:1.63
	pkgsrc-2017Q1:1.63.0.6
	pkgsrc-2017Q1-base:1.63
	pkgsrc-2016Q4:1.63.0.4
	pkgsrc-2016Q4-base:1.63
	pkgsrc-2016Q3:1.63.0.2
	pkgsrc-2016Q3-base:1.63
	pkgsrc-2016Q2:1.62.0.4
	pkgsrc-2016Q2-base:1.62
	pkgsrc-2016Q1:1.62.0.2
	pkgsrc-2016Q1-base:1.62
	pkgsrc-2015Q4:1.61.0.6
	pkgsrc-2015Q4-base:1.61
	pkgsrc-2015Q3:1.61.0.4
	pkgsrc-2015Q3-base:1.61
	pkgsrc-2015Q2:1.61.0.2
	pkgsrc-2015Q2-base:1.61
	pkgsrc-2015Q1:1.60.0.2
	pkgsrc-2015Q1-base:1.60
	pkgsrc-2014Q4:1.59.0.2
	pkgsrc-2014Q4-base:1.59
	pkgsrc-2014Q3:1.58.0.4
	pkgsrc-2014Q3-base:1.58
	pkgsrc-2014Q2:1.58.0.2
	pkgsrc-2014Q2-base:1.58
	pkgsrc-2014Q1:1.54.0.2
	pkgsrc-2014Q1-base:1.54
	pkgsrc-2013Q4:1.53.0.4
	pkgsrc-2013Q4-base:1.53
	pkgsrc-2013Q3:1.53.0.2
	pkgsrc-2013Q3-base:1.53
	pkgsrc-2013Q2:1.52.0.2
	pkgsrc-2013Q2-base:1.52
	pkgsrc-2013Q1:1.46.0.4
	pkgsrc-2013Q1-base:1.46
	pkgsrc-2012Q4:1.46.0.2
	pkgsrc-2012Q4-base:1.46
	pkgsrc-2012Q3:1.44.0.2
	pkgsrc-2012Q3-base:1.44
	pkgsrc-2012Q2:1.43.0.26
	pkgsrc-2012Q2-base:1.43
	pkgsrc-2012Q1:1.43.0.24
	pkgsrc-2012Q1-base:1.43
	pkgsrc-2011Q4:1.43.0.22
	pkgsrc-2011Q4-base:1.43
	pkgsrc-2011Q3:1.43.0.20
	pkgsrc-2011Q3-base:1.43
	pkgsrc-2011Q2:1.43.0.18
	pkgsrc-2011Q2-base:1.43
	pkgsrc-2011Q1:1.43.0.16
	pkgsrc-2011Q1-base:1.43
	pkgsrc-2010Q4:1.43.0.14
	pkgsrc-2010Q4-base:1.43
	pkgsrc-2010Q3:1.43.0.12
	pkgsrc-2010Q3-base:1.43
	pkgsrc-2010Q2:1.43.0.10
	pkgsrc-2010Q2-base:1.43
	pkgsrc-2010Q1:1.43.0.8
	pkgsrc-2010Q1-base:1.43
	pkgsrc-2009Q4:1.43.0.6
	pkgsrc-2009Q4-base:1.43
	pkgsrc-2009Q3:1.43.0.4
	pkgsrc-2009Q3-base:1.43
	pkgsrc-2009Q2:1.43.0.2
	pkgsrc-2009Q2-base:1.43
	pkgsrc-2009Q1:1.42.0.8
	pkgsrc-2009Q1-base:1.42
	pkgsrc-2008Q4:1.42.0.6
	pkgsrc-2008Q4-base:1.42
	pkgsrc-2008Q3:1.42.0.4
	pkgsrc-2008Q3-base:1.42
	cube-native-xorg:1.42.0.2
	cube-native-xorg-base:1.42
	pkgsrc-2008Q2:1.40.0.4
	pkgsrc-2008Q2-base:1.40
	cwrapper:1.40.0.2
	pkgsrc-2008Q1:1.38.0.2
	pkgsrc-2008Q1-base:1.38
	pkgsrc-2007Q4:1.37.0.2
	pkgsrc-2007Q4-base:1.37
	pkgsrc-2007Q3:1.36.0.6
	pkgsrc-2007Q3-base:1.36
	pkgsrc-2007Q2:1.36.0.4
	pkgsrc-2007Q2-base:1.36
	pkgsrc-2007Q1:1.36.0.2
	pkgsrc-2007Q1-base:1.36
	pkgsrc-2006Q4:1.34.0.6
	pkgsrc-2006Q4-base:1.34
	pkgsrc-2006Q3:1.34.0.4
	pkgsrc-2006Q3-base:1.34
	pkgsrc-2006Q2:1.34.0.2
	pkgsrc-2006Q2-base:1.34
	pkgsrc-2006Q1:1.32.0.2
	pkgsrc-2006Q1-base:1.32
	pkgsrc-2005Q4:1.28.0.4
	pkgsrc-2005Q4-base:1.28
	pkgsrc-2005Q3:1.28.0.2
	pkgsrc-2005Q3-base:1.28
	pkgsrc-2005Q2:1.27.0.2
	pkgsrc-2005Q2-base:1.27
	pkgsrc-2005Q1:1.23.0.4
	pkgsrc-2005Q1-base:1.23
	pkgsrc-2004Q4:1.23.0.2
	pkgsrc-2004Q4-base:1.23
	pkgsrc-2004Q3:1.20.0.2
	pkgsrc-2004Q3-base:1.20
	pkgsrc-2004Q2:1.18.0.2
	pkgsrc-2004Q2-base:1.18
	pkgsrc-2004Q1:1.17.0.2
	pkgsrc-2004Q1-base:1.17
	pkgsrc-2003Q4:1.12.0.2
	pkgsrc-2003Q4-base:1.12
	netbsd-1-6-1:1.3.0.2
	netbsd-1-6-1-base:1.3
	netbsd-1-6:1.2.0.6
	netbsd-1-6-RELEASE-base:1.2
	pkgviews:1.2.0.2
	pkgviews-base:1.2
	buildlink2:1.1.1.1.0.2
	buildlink2-base:1.2
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.78
date	2025.03.26.22.51.01;	author wiz;	state dead;
branches;
next	1.77;
commitid	XeeolurNEVTs9DOF;

1.77
date	2023.11.12.13.22.33;	author wiz;	state Exp;
branches;
next	1.76;
commitid	SjpNXQIV5XeZ3kME;

1.76
date	2023.06.06.12.41.46;	author riastradh;	state Exp;
branches;
next	1.75;
commitid	xhspr6Z8JLQOWSrE;

1.75
date	2023.01.29.21.17.00;	author ryoon;	state Exp;
branches;
next	1.74;
commitid	QL7aBXsBGmQvUtbE;

1.74
date	2022.06.28.11.34.15;	author wiz;	state Exp;
branches;
next	1.73;
commitid	D2UoJrTHpoHEANJD;

1.73
date	2021.05.24.19.52.35;	author wiz;	state Exp;
branches;
next	1.72;
commitid	qokaiStTApGMcrUC;

1.72
date	2020.08.31.18.09.52;	author wiz;	state Exp;
branches;
next	1.71;
commitid	7zxRbfOkDOoxbfmC;

1.71
date	2020.08.17.20.19.20;	author leot;	state Exp;
branches;
next	1.70;
commitid	ybGS4iX9Fz8imskC;

1.70
date	2020.05.16.13.56.55;	author rillig;	state Exp;
branches;
next	1.69;
commitid	3q5HihDIChCHft8C;

1.69
date	2020.01.18.23.32.45;	author rillig;	state Exp;
branches;
next	1.68;
commitid	shGUwZfkr7sleeTB;

1.68
date	2019.11.03.19.04.07;	author rillig;	state Exp;
branches;
next	1.67;
commitid	puQpdVbj8afCdrJB;

1.67
date	2019.08.11.13.21.23;	author wiz;	state Exp;
branches;
next	1.66;
commitid	Ifet9Pg6Qt99ZByB;

1.66
date	2019.05.23.19.23.03;	author rillig;	state Exp;
branches;
next	1.65;
commitid	aWlQW8HYUUFCAmoB;

1.65
date	2018.08.22.09.45.22;	author wiz;	state Exp;
branches;
next	1.64;
commitid	YLub8g3ofvFGb6PA;

1.64
date	2018.03.12.11.16.58;	author wiz;	state Exp;
branches;
next	1.63;
commitid	Mv60lx3Uo1UqW9uA;

1.63
date	2016.07.09.06.38.26;	author wiz;	state Exp;
branches;
next	1.62;
commitid	dlqnocGpOoXV2Cdz;

1.62
date	2015.12.29.18.17.04;	author dholland;	state Exp;
branches;
next	1.61;
commitid	iEOLAKSYyBAz7SOy;

1.61
date	2015.06.12.10.50.16;	author wiz;	state Exp;
branches;
next	1.60;
commitid	B4JmCfaVUbiY38py;

1.60
date	2015.03.31.15.46.18;	author joerg;	state Exp;
branches;
next	1.59;
commitid	zCloRZkwdYbV3Mfy;

1.59
date	2014.12.01.12.39.17;	author joerg;	state Exp;
branches;
next	1.58;
commitid	dIUJjnMskaSQSk0y;

1.58
date	2014.06.29.05.12.42;	author dholland;	state Exp;
branches;
next	1.57;
commitid	t1rgmdGm99ZyonGx;

1.57
date	2014.05.29.23.36.44;	author wiz;	state Exp;
branches;
next	1.56;
commitid	laryHfkCalgYtuCx;

1.56
date	2014.04.30.14.19.41;	author wiz;	state Exp;
branches;
next	1.55;
commitid	vhddjEulMo0OlIyx;

1.55
date	2014.04.21.13.25.54;	author wiz;	state Exp;
branches;
next	1.54;
commitid	dohjI5BPYEx2lyxx;

1.54
date	2014.01.11.14.42.04;	author adam;	state Exp;
branches;
next	1.53;
commitid	iJscMMrQVRTKYHkx;

1.53
date	2013.08.30.22.36.51;	author joerg;	state Exp;
branches;
next	1.52;
commitid	3QIYhoRqYrAzUw3x;

1.52
date	2013.06.06.12.54.40;	author wiz;	state Exp;
branches;
next	1.51;
commitid	GnBhPNQZYUnQpySw;

1.51
date	2013.06.04.22.16.33;	author tron;	state Exp;
branches;
next	1.50;
commitid	wB5zURIqYs6HAlSw;

1.50
date	2013.06.03.10.05.27;	author wiz;	state Exp;
branches;
next	1.49;
commitid	kGMtnUPdN4amz9Sw;

1.49
date	2013.05.31.12.41.12;	author wiz;	state Exp;
branches;
next	1.48;
commitid	hIeXGcx6VfKHwMRw;

1.48
date	2013.04.06.21.07.33;	author rodent;	state Exp;
branches;
next	1.47;

1.47
date	2013.04.06.20.27.23;	author rodent;	state Exp;
branches;
next	1.46;

1.46
date	2012.10.03.21.56.20;	author wiz;	state Exp;
branches;
next	1.45;

1.45
date	2012.10.02.20.11.53;	author asau;	state Exp;
branches;
next	1.44;

1.44
date	2012.08.21.23.49.22;	author marino;	state Exp;
branches;
next	1.43;

1.43
date	2009.06.30.00.07.18;	author joerg;	state Exp;
branches;
next	1.42;

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

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

1.40
date	2008.05.26.02.13.21;	author joerg;	state Exp;
branches;
next	1.39;

1.39
date	2008.04.07.17.58.55;	author joerg;	state Exp;
branches;
next	1.38;

1.38
date	2008.03.04.16.38.13;	author jlam;	state Exp;
branches;
next	1.37;

1.37
date	2007.11.28.07.37.46;	author rillig;	state Exp;
branches;
next	1.36;

1.36
date	2007.02.20.19.04.14;	author wiz;	state Exp;
branches;
next	1.35;

1.35
date	2007.01.07.09.13.57;	author rillig;	state Exp;
branches;
next	1.34;

1.34
date	2006.04.22.09.22.10;	author rillig;	state Exp;
branches;
next	1.33;

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

1.32
date	2006.03.05.16.27.26;	author jlam;	state Exp;
branches;
next	1.31;

1.31
date	2006.03.04.21.29.56;	author jlam;	state Exp;
branches;
next	1.30;

1.30
date	2006.02.05.23.09.48;	author joerg;	state Exp;
branches;
next	1.29;

1.29
date	2006.01.12.00.05.04;	author joerg;	state Exp;
branches;
next	1.28;

1.28
date	2005.06.30.14.55.03;	author minskim;	state Exp;
branches;
next	1.27;

1.27
date	2005.06.16.06.58.01;	author jlam;	state Exp;
branches;
next	1.26;

1.26
date	2005.06.01.18.02.59;	author jlam;	state Exp;
branches;
next	1.25;

1.25
date	2005.05.22.20.08.11;	author jlam;	state Exp;
branches;
next	1.24;

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

1.23
date	2004.12.03.15.15.01;	author wiz;	state Exp;
branches;
next	1.22;

1.22
date	2004.11.28.19.19.52;	author jlam;	state Exp;
branches;
next	1.21;

1.21
date	2004.10.03.00.15.02;	author tv;	state Exp;
branches;
next	1.20;

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

1.19
date	2004.07.18.10.49.49;	author recht;	state Exp;
branches;
next	1.18;

1.18
date	2004.05.12.03.21.08;	author snj;	state Exp;
branches;
next	1.17;

1.17
date	2004.03.08.20.27.14;	author minskim;	state Exp;
branches;
next	1.16;

1.16
date	2004.03.07.09.29.04;	author seb;	state Exp;
branches;
next	1.15;

1.15
date	2004.01.27.00.53.11;	author heinz;	state Exp;
branches;
next	1.14;

1.14
date	2004.01.24.13.51.15;	author grant;	state Exp;
branches;
next	1.13;

1.13
date	2004.01.13.20.29.46;	author kristerw;	state Exp;
branches;
next	1.12;

1.12
date	2003.09.02.13.38.44;	author seb;	state Exp;
branches;
next	1.11;

1.11
date	2003.08.09.10.59.11;	author seb;	state Exp;
branches;
next	1.10;

1.10
date	2003.07.17.21.45.20;	author grant;	state Exp;
branches;
next	1.9;

1.9
date	2003.07.07.13.40.08;	author seb;	state Exp;
branches;
next	1.8;

1.8
date	2003.07.06.16.27.41;	author seb;	state Exp;
branches;
next	1.7;

1.7
date	2003.06.02.01.18.55;	author jschauma;	state Exp;
branches;
next	1.6;

1.6
date	2003.05.22.16.48.30;	author jmmv;	state Exp;
branches;
next	1.5;

1.5
date	2003.04.29.23.40.02;	author jtb;	state Exp;
branches;
next	1.4;

1.4
date	2003.03.10.06.25.35;	author jmc;	state Exp;
branches;
next	1.3;

1.3
date	2002.09.23.09.54.03;	author jlam;	state Exp;
branches;
next	1.2;

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

1.1
date	2002.05.04.00.45.28;	author jtb;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2002.05.04.00.45.28;	author jtb;	state Exp;
branches
	1.1.1.1.2.1;
next	;

1.1.1.1.2.1
date	2002.06.23.18.50.45;	author jlam;	state Exp;
branches;
next	;


desc
@@


1.78
log
@sather: remove

Dead upstream for about 20 years, has build problems.

As proposed on pkgsrc-users.
@
text
@# $NetBSD: Makefile,v 1.77 2023/11/12 13:22:33 wiz Exp $

DISTNAME=		sather-1.2.3
PKGREVISION=		21
CATEGORIES=		lang
MASTER_SITES=		${MASTER_SITE_GNU:=sather/}

MAINTAINER=		pkgsrc-users@@NetBSD.org
HOMEPAGE=		https://www.gnu.org/software/sather/
COMMENT=		Compiler for the Sather object oriented programming language
#LICENSE=		gnu-gpl-v3 gnu-lgpl-v3

MAKE_JOBS_SAFE=		no

USE_TOOLS+=		gmake makeinfo pax perl:run

TOOL_DEPENDS+=		tradcpp-[0-9]*:../../devel/tradcpp

BUILD_TARGET=		full optional
INFO_FILES=		yes

REPLACE_PERL=		Browser/Web/ps2gif

SUBST_CLASSES+=			sather-configure
SUBST_STAGE.sather-configure=	pre-configure
SUBST_MESSAGE.sather-configure=	Configuring sources
SUBST_FILES.sather-configure=			\
	Boot/sacomp.code/Makefile		\
	Library/System/unix.sa			\
	System/Common/CONFIG.proto		\
	System/Platforms/${LOWER_OPSYS}/CONFIG	\
	System/Platforms/X/Platform.module	\
	debian/bin-wrapper			\
	Browser/Web/convert-1.1			\
	Browser/Web/gen_html_class_index	\
	Browser/Web/gen_html_sa_files		\
	Browser/Web/gen_html_shortflat		\
	Browser/Web/gen_html_top_level		\
	Browser/Web/gen_mml_sa_files		\
	Browser/Web/gen_mml_shortflat		\
	Browser/Web/graph2dot
SUBST_VARS.sather-configure=	CC
SUBST_VARS.sather-configure+=	CFLAGS
SUBST_VARS.sather-configure+=	GMAKE
SUBST_VARS.sather-configure+=	PREFIX
SUBST_VARS.sather-configure+=	X11BASE
SUBST_SED.sather-configure+=	-e s:@@GC_PREFIX@@:${BUILDLINK_PREFIX.boehm-gc}:g
SUBST_SED.sather-configure+=	-e s:@@TCL_PREFIX@@:${BUILDLINK_PREFIX.tcl}:g
SUBST_SED.sather-configure+=	-e s:@@TK_PREFIX@@:${BUILDLINK_PREFIX.tk}:g
SUBST_VARS.sather-configure+=	LINKER_RPATH_FLAG
SUBST_VARS.sather-configure+=	COMPILER_RPATH_FLAG
SUBST_NOOP_OK.sather-configure=	yes # because of ${LOWER_OPSYS}

INSTALLATION_DIRS=	bin ${PKGINFODIR} ${PKGMANDIR}/man1 share/doc/sather \
			lib/sather lib/sather/Bin share/emacs/site-lisp

post-patch:
	ln -s netbsd ${WRKSRC}/System/Platforms/dragonfly
	ln -s netbsd ${WRKSRC}/System/Platforms/darwin

post-build:
	cd ${WRKSRC}/Emacs &&						\
		makeinfo sather.texinfo && 				\
		makeinfo sather-tutorial.texinfo && 			\
		makeinfo sather-mode.texinfo
	${RM} -fr ${WRKSRC}/System/Platforms/dualgui/dual_gui_server.code

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/Bin/sacomp ${WRKSRC}/Bin/sabrowse	\
		${DESTDIR}${PREFIX}/lib/sather/Bin
	${INSTALL_SCRIPT} ${WRKSRC}/Bin/PP ${WRKSRC}/Bin/gen_html	\
		${WRKSRC}/Bin/saprep ${DESTDIR}${PREFIX}/lib/sather/Bin
	${INSTALL_SCRIPT} ${WRKSRC}/debian/bin-wrapper			\
		${DESTDIR}${PREFIX}/lib/sather/Bin
	 ${LN} -sf ../lib/sather/Bin/bin-wrapper ${DESTDIR}${PREFIX}/bin/sacomp
	 ${LN} -sf ../lib/sather/Bin/bin-wrapper ${DESTDIR}${PREFIX}/bin/sabrowse
	cd ${WRKSRC} && pax -s ',.*\.sav,,' -rw Library		\
		System/FORBID						\
		System/Debug						\
		System/Common/*.c System/Common/*.h			\
		System/Common/*.module System/Common/CONFIG		\
		System/Platforms/f77 System/Platforms/${LOWER_OPSYS}	\
		System/Platforms/X System/Platforms/dualgui		\
		System/Platforms/gui System/Platforms/tcltk		\
		Browser	${DESTDIR}${PREFIX}/lib/sather
	${FIND} ${DESTDIR}${PREFIX}/lib/sather				\
		-name \*.config -o -name Makefile 			\
		-o -name \*.orig -print | ${XARGS} ${RM} -f
	set -e; cd ${WRKSRC}/Emacs; for f in *.info *.info-[0-9]*; do	\
		${TEST} ! -f "$$f" ||					\
		${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR};\
	done
	cd ${WRKSRC}/Doc && pax -rw -s ',.*/man.*,,' .		\
		${DESTDIR}${PREFIX}/share/doc/sather
	${INSTALL_MAN} ${WRKSRC}/Doc/man/man1/sacomp.1			\
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_MAN} ${WRKSRC}/Doc/man/man1/sabrowse.1		\
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_DATA} ${WRKSRC}/Emacs/*.el				\
		${DESTDIR}${PREFIX}/share/emacs/site-lisp

.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
_WRAP_EXTRA_ARGS.CC+=	-Wno-error=return-type -Wno-comment -Wno-parentheses-equality
CWRAPPERS_APPEND.cc+=	-Wno-error=return-type -Wno-comment -Wno-parentheses-equality
.endif

UNLIMIT_RESOURCES+=	datasize

.include "../../devel/boehm-gc/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"

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


1.77
log
@*: revebump for new brotli option for freetype2

Addresses PR 57693
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.76 2023/06/06 12:41:46 riastradh Exp $
@


1.76
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.75 2023/01/29 21:17:00 ryoon Exp $
d4 1
a4 1
PKGREVISION=		20
@


1.75
log
@*: Recursive revbup from graphics/freetype2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.74 2022/06/28 11:34:15 wiz Exp $
d17 1
a17 1
BUILD_DEPENDS+=		tradcpp-[0-9]*:../../devel/tradcpp
@


1.74
log
@*: recursive bump for perl 5.36
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.73 2021/05/24 19:52:35 wiz Exp $
d4 1
a4 1
PKGREVISION=		19
@


1.73
log
@*: recursive bump for perl 5.34
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.72 2020/08/31 18:09:52 wiz Exp $
d4 1
a4 1
PKGREVISION=		18
@


1.72
log
@*: bump PKGREVISION for perl-5.32.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.71 2020/08/17 20:19:20 leot Exp $
d4 1
a4 1
PKGREVISION=		17
@


1.71
log
@*: revbump after fontconfig bl3 changes (libuuid removal)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.70 2020/05/16 13:56:55 rillig Exp $
d4 1
a4 1
PKGREVISION=		16
@


1.70
log
@lang/sather: allow no-op SUBST block
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.69 2020/01/18 23:32:45 rillig Exp $
d4 1
a4 1
PKGREVISION=		15
@


1.69
log
@all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.68 2019/11/03 19:04:07 rillig Exp $
d52 1
@


1.68
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.67 2019/08/11 13:21:23 wiz Exp $
d9 1
a9 1
HOMEPAGE=		http://www.gnu.org/software/sather/
@


1.67
log
@Bump PKGREVISIONs for perl 5.30.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.66 2019/05/23 19:23:03 rillig Exp $
d24 1
a24 1
SUBST_CLASSES+=		sather-configure
@


1.66
log
@all: replace SUBST_SED with the simpler SUBST_VARS

pkglint -Wall -r --only "substitution command" -F

With manual review and indentation fixes since pkglint doesn't get that
part correct in every case.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.65 2018/08/22 09:45:22 wiz Exp $
d4 1
a4 1
PKGREVISION=		14
@


1.65
log
@Recursive bump for perl5-5.28.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.64 2018/03/12 11:16:58 wiz Exp $
d42 5
a46 5
SUBST_SED.sather-configure=	-e s:@@CC@@:${CC:Q}:g
SUBST_SED.sather-configure+=	-e s:@@CFLAGS@@:${CFLAGS:Q}:g
SUBST_SED.sather-configure+=	-e s:@@GMAKE@@:${GMAKE:Q}:g
SUBST_SED.sather-configure+=	-e s:@@PREFIX@@:${PREFIX}:g
SUBST_SED.sather-configure+=	-e s:@@X11BASE@@:${X11BASE}:g
d50 2
a51 2
SUBST_SED.sather-configure+=	-e s:@@LINKER_RPATH_FLAG@@:${LINKER_RPATH_FLAG}:g
SUBST_SED.sather-configure+=	-e s:@@COMPILER_RPATH_FLAG@@:${COMPILER_RPATH_FLAG}:g
@


1.64
log
@Recursive bumps for fontconfig and libzip dependency changes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.63 2016/07/09 06:38:26 wiz Exp $
d4 1
a4 1
PKGREVISION=		13
@


1.63
log
@Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.62 2015/12/29 18:17:04 dholland Exp $
d4 1
a4 1
PKGREVISION=		12
@


1.62
log
@pkglint; add patch comments.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.61 2015/06/12 10:50:16 wiz Exp $
d4 1
a4 1
PKGREVISION=		11
@


1.61
log
@Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.60 2015/03/31 15:46:18 joerg Exp $
d25 1
a25 1
SUBST_STAGE.sather-configure=	post-wrapper
d42 10
a51 10
SUBST_SED.sather-configure= 	-e 's:@@CC@@:${CC}:g'
SUBST_SED.sather-configure+=	-e 's:@@CFLAGS@@:${CFLAGS}:g'
SUBST_SED.sather-configure+=	-e 's:@@GMAKE@@:${GMAKE}:g'
SUBST_SED.sather-configure+=	-e 's:@@PREFIX@@:${PREFIX}:g'
SUBST_SED.sather-configure+=	-e 's:@@X11BASE@@:${X11BASE}:g'
SUBST_SED.sather-configure+=	-e 's:@@GC_PREFIX@@:${BUILDLINK_PREFIX.boehm-gc}:g'
SUBST_SED.sather-configure+=	-e 's:@@TCL_PREFIX@@:${BUILDLINK_PREFIX.tcl}:g'
SUBST_SED.sather-configure+=	-e 's:@@TK_PREFIX@@:${BUILDLINK_PREFIX.tk}:g'
SUBST_SED.sather-configure+=	-e 's:@@LINKER_RPATH_FLAG@@:${LINKER_RPATH_FLAG}:g'
SUBST_SED.sather-configure+=	-e 's:@@COMPILER_RPATH_FLAG@@:${COMPILER_RPATH_FLAG}:g'
d53 2
a54 2
INSTALLATION_DIRS=	bin ${PKGINFODIR} ${PKGMANDIR}/man1 lib/sather \
			share/doc/sather share/emacs/site-lisp
d61 3
a63 3
	cd ${WRKSRC}/Emacs;						\
		makeinfo sather.texinfo; 				\
		makeinfo sather-tutorial.texinfo; 			\
a67 1
	${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/lib/sather/Bin
d88 1
a88 1
	cd ${WRKSRC}/Emacs; for f in *.info *.info-[0-9]*; do		\
@


1.60
log
@ARM requires more than 128MB data size.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.59 2014/12/01 12:39:17 joerg Exp $
d4 1
a4 1
PKGREVISION=		10
@


1.59
log
@Support cwrappers for packages appending arguments in the wrappers.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.58 2014/06/29 05:12:42 dholland Exp $
d108 2
@


1.58
log
@Let's try using the pkgsrc config for MacOS. If it doesn't work, which is
likely, we don't lose very much.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.57 2014/05/29 23:36:44 wiz Exp $
d105 1
@


1.57
log
@Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.56 2014/04/30 14:19:41 wiz Exp $
d58 1
@


1.56
log
@Bump PKGREVISION for boehm-gc default-on threads, just to be on
the safe side.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.55 2014/04/21 13:25:54 wiz Exp $
d4 1
a4 1
PKGREVISION=		9
@


1.55
log
@recursive bump for boehm-gc API bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.54 2014/01/11 14:42:04 adam Exp $
d4 1
a4 1
PKGREVISION=		8
@


1.54
log
@Revbump after updating tcl/tk.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.53 2013/08/30 22:36:51 joerg Exp $
d4 1
a4 1
PKGREVISION=		7
@


1.53
log
@Don't hard-code /usr/bin/cpp, use tradcpp.
Make return type errors non-fatal for clang.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.52 2013/06/06 12:54:40 wiz Exp $
d4 1
a4 1
PKGREVISION=		6
@


1.52
log
@Bump PKGREVISION for libXft changes for NetBSD native X support on
NetBSD 6, requested by tron.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.51 2013/06/04 22:16:33 tron Exp $
d17 2
d101 5
@


1.51
log
@Try to fix the fallout caused by the fix for PR pkg/47882. Part 3:

Recursively bump package revisions again after the "freetype2" and
"fontconfig" handling was fixed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.50 2013/06/03 10:05:27 wiz Exp $
d4 1
a4 1
PKGREVISION=		5
@


1.50
log
@Bump freetype2 and fontconfig dependencies to current pkgsrc versions,
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.

While doing that, also bump freetype2 dependency to current pkgsrc
version.

Suggested by tron in PR 47882
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.49 2013/05/31 12:41:12 wiz Exp $
d4 1
a4 1
PKGREVISION=		4
@


1.49
log
@Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2013/04/06 21:07:33 rodent Exp $
d4 1
a4 1
PKGREVISION=		3
@


1.48
log
@"Each sed command should appear in an assignment of its own."
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2013/04/06 20:27:23 rodent Exp $
d4 1
a4 1
PKGREVISION=		2
@


1.47
log
@Resolves:
"INFO_FILES should be set to YES or yes."
"Packages that install info files should set INFO_FILES."
Makefile and PLIST warning, respectively.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2012/10/03 21:56:20 wiz Exp $
d40 10
a49 11
SUBST_SED.sather-configure=					\
	-e 's:@@CC@@:${CC}:g'					\
	-e 's:@@CFLAGS@@:${CFLAGS}:g'				\
	-e 's:@@GMAKE@@:${GMAKE}:g'				\
	-e 's:@@PREFIX@@:${PREFIX}:g'				\
	-e 's:@@X11BASE@@:${X11BASE}:g'				\
	-e 's:@@GC_PREFIX@@:${BUILDLINK_PREFIX.boehm-gc}:g'	\
	-e 's:@@TCL_PREFIX@@:${BUILDLINK_PREFIX.tcl}:g'		\
	-e 's:@@TK_PREFIX@@:${BUILDLINK_PREFIX.tk}:g'		\
	-e 's:@@LINKER_RPATH_FLAG@@:${LINKER_RPATH_FLAG}:g'	\
	-e 's:@@COMPILER_RPATH_FLAG@@:${COMPILER_RPATH_FLAG}:g'
@


1.46
log
@Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2012/10/02 20:11:53 asau Exp $
d18 1
a18 1
INFO_FILES=		# PLIST
@


1.45
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2012/08/21 23:49:22 marino Exp $
d4 1
a4 1
PKGREVISION=		1
@


1.44
log
@Recursive PKGREVISION bump for tcl and tk upgrade to 8.5.12
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2009/06/30 00:07:18 joerg Exp $
a12 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.43
log
@Mark packages as MAKE_JOBS_SAFE=no that failed in a bulk build with
MAKE_JOBS=2 and worked without.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2008/07/14 02:03:12 dholland Exp $
d4 1
@


1.42
log
@There's a perl script in here. Add USE_TOOLS=perl:run for it.
Noted by Aleksej Saushev in PR pkg/39079.
Ride previous version change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2008/07/14 01:23:52 dholland Exp $
d14 2
@


1.41
log
@Update sather to 1.2.3.

Also update the tk dep to no longer demand tk83. It does not seem to
work all that well with tk84, but it works about the same as it does
with tk83. And depend explicitly on tcl; that was missing.

Primary changes since 1.2.1 seem to be GPLv2 -> GPLv3 and
whitespace/reindenting, but there seems to be a bit more in there
too. There's also now a 12 meg kdevelop blob in the distfile, yay.

Changelog:

    GNU Sather 1.2.3 - Jul 7, 2007 - Michael R. Taylor

    * Made INT 32-bit even on 64-bit systems
    * Changed license to (GPLv3/LGPLv3) or later

There's no changelog for 1.2.2, dunno why.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2008/05/26 02:13:21 joerg Exp $
d14 1
a14 1
USE_TOOLS+=		gmake makeinfo pax
@


1.40
log
@Second round of explicit pax dependencies. As reminded by tnn@@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2008/04/07 17:58:55 joerg Exp $
d3 1
a3 2
DISTNAME=		sather-1.2.1
PKGREVISION=		7
d10 1
d100 2
a101 1
.include "../../x11/tk83/buildlink3.mk"
@


1.39
log
@Fix DESTDIR.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2008/03/04 16:38:13 jlam Exp $
d14 1
a14 1
USE_TOOLS+=		gmake makeinfo
d74 1
a74 1
	cd ${WRKSRC} && ${PAX} -s ',.*\.sav,,' -rw Library		\
d90 1
a90 1
	cd ${WRKSRC}/Doc && ${PAX} -rw -s ',.*/man.*,,' .		\
@


1.38
log
@Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2007/11/28 07:37:46 rillig Exp $
d51 2
a52 1
INSTALLATION_DIRS=	${PKGMANDIR}/man1
a64 1
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/sather
d66 1
a66 4
	cd ${WRKSRC}/Bin;						\
	${INSTALL_PROGRAM} sacomp sabrowse				\
		${DESTDIR}${PREFIX}/lib/sather/Bin;			\
	${INSTALL_SCRIPT} PP gen_html saprep				\
d68 2
d72 2
a73 3
	cd ${DESTDIR}${PREFIX}/bin;					\
		 ${LN} -sf ../lib/sather/Bin/bin-wrapper sacomp;	\
		 ${LN} -sf ../lib/sather/Bin/bin-wrapper sabrowse;	\
a89 1
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/sather
a95 1
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/emacs/site-lisp
@


1.37
log
@Use "ln -s" instead of "cp -r" for making DragonFly equivalent to
NetBSD, since the latter command doesn't like the inaccessible files
that are created when patching against /dev/null.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2007/02/20 19:04:14 wiz Exp $
d12 2
d64 2
a65 2
	${INSTALL_DATA_DIR} ${PREFIX}/lib/sather
	${INSTALL_PROGRAM_DIR} ${PREFIX}/lib/sather/Bin
d67 4
a70 2
	${INSTALL_PROGRAM} sacomp sabrowse ${PREFIX}/lib/sather/Bin;	\
	${INSTALL_SCRIPT} PP gen_html saprep ${PREFIX}/lib/sather/Bin
d72 2
a73 2
		${PREFIX}/lib/sather/Bin
	cd ${PREFIX}/bin;						\
d84 3
a86 4
		Browser	${PREFIX}/lib/sather
	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/sather/Library \
		${PREFIX}/lib/sather/System
	${FIND} ${PREFIX}/lib/sather -name \*.config -o -name Makefile 	\
d90 1
a90 1
		${INSTALL_DATA} "$$f" ${PREFIX}/${PKGINFODIR};		\
d92 1
a92 1
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sather
d94 8
a101 5
		${PREFIX}/share/doc/sather
	${INSTALL_MAN} ${WRKSRC}/Doc/man/man1/sacomp.1 ${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_MAN} ${WRKSRC}/Doc/man/man1/sabrowse.1 ${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp
	${INSTALL_DATA} ${WRKSRC}/Emacs/*.el ${PREFIX}/share/emacs/site-lisp
@


1.36
log
@share/emacs/site-lisp now exists by default -- don't try to remove it.
Bump PKGREVISION for the PLIST change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2007/01/07 09:13:57 rillig Exp $
d52 1
a52 1
	cd ${WRKSRC}/System/Platforms && ${CP} -r netbsd dragonfly
@


1.35
log
@Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2006/04/22 09:22:10 rillig Exp $
d4 1
a4 1
PKGREVISION=		6
@


1.34
log
@Removed the superfluous "quotes" and 'quotes' from variables that don't
need them, for example RESTRICTED and SUBST_MESSAGE.*.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2006/04/05 06:27:42 jlam Exp $
d49 1
a49 1
INSTALLATION_DIRS=	man/man1
@


1.33
log
@List the info files directly in the PLIST, and honor PKGINFODIR and
PKGMANDIR.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2006/03/05 16:27:26 jlam Exp $
d21 1
a21 1
SUBST_MESSAGE.sather-configure=	"Configuring sources"
@


1.32
log
@* Teach the tools framework how to supply the pkgsrc version of
  makeinfo if no native makeinfo executable exists.  Honor TEXINFO_REQD
  when determining whether the native makeinfo can be used.

* Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo.

* Get rid of all the "split" argument deduction for makeinfo since
  the PLIST module already handles varying numbers of split info files
  correctly.

NOTE: Platforms that have "makeinfo" in the base system should check
      that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are
      correct.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2006/03/04 21:29:56 jlam Exp $
d15 1
a15 2

INFO_FILES=		sather.info sather-tutorial.info sather-mode.info
d55 4
a58 3
	cd ${WRKSRC}/Emacs; ${MAKEINFO} sather.texinfo; 		\
		${MAKEINFO} sather-tutorial.texinfo; 			\
		${MAKEINFO} sather-mode.texinfo
d85 4
a88 1
	${INSTALL_DATA} ${WRKSRC}/Emacs/*.info* ${PREFIX}/info
d92 2
a93 2
	${INSTALL_MAN} ${WRKSRC}/Doc/man/man1/sacomp.1 ${PREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/Doc/man/man1/sabrowse.1 ${PREFIX}/man/man1
@


1.31
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.30 2006/02/05 23:09:48 joerg Exp $
d12 1
a12 1
USE_TOOLS+=		gmake
a15 1
USE_MAKEINFO=		YES
@


1.30
log
@Recursive revision bump / recommended bump for gettext ABI change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2006/01/12 00:05:04 joerg Exp $
d8 1
a8 1
MAINTAINER=		tech-pkg@@NetBSD.org
@


1.29
log
@Add DragonFly. Be a bit nicer to CPP and add trailing \ to mask the
embedded newlines.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2005/06/30 14:55:03 minskim Exp $
d4 1
a4 1
PKGREVISION=		5
@


1.28
log
@Update HOMEPAGE.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2005/06/16 06:58:01 jlam Exp $
d28 1
a28 1
	System/Platforms/netbsd/CONFIG		\
d53 3
d78 1
a78 1
		System/Platforms/f77 System/Platforms/netbsd		\
@


1.27
log
@Create directories before installing files into them.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2005/06/01 18:02:59 jlam Exp $
d9 1
a9 1
HOMEPAGE=		http://www.gnu.org/directory/devel/prog/sather.html
@


1.26
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.25 2005/05/22 20:08:11 jlam Exp $
d51 2
@


1.25
log
@Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:

	USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2005/04/11 21:46:16 tv Exp $
a11 1
USE_X11=		# defined
@


1.24
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2004/12/03 15:15:01 wiz Exp $
d13 1
a13 1
USE_GNU_TOOLS+=		make
@


1.23
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.22 2004/11/28 19:19:52 jlam Exp $
a11 1
USE_BUILDLINK3=		yes
@


1.22
log
@Remove pre-buildlink and post-buildlink as part of getting pkgsrc ready
for pkgsrc-2004Q4.  The "buildlink" phase was removed for the last branch,
and this is the final cleanup.  "post-buildlink" is now "post-wrapper".
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2004/10/03 00:15:02 tv Exp $
d16 1
a16 1
ALL_TARGET=		full optional
@


1.21
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.20 2004/08/27 18:52:00 jlam Exp $
d24 1
a24 1
SUBST_STAGE.sather-configure=	post-buildlink
@


1.20
log
@Convert to use {COMPILER,LINKER}_RPATH_FLAG.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2004/07/18 10:49:49 recht Exp $
d4 1
a4 1
PKGREVISION=		4
@


1.19
log
@bump PKGREVISIONs for last boehm-gc update
(BUILDLINKS_DEPENDS change)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2004/05/12 03:21:08 snj Exp $
a16 1
MAKE_ENV+=		_OPSYS_RPATH_NAME=${_OPSYS_RPATH_NAME}
d50 2
a51 1
	-e 's:@@_OPSYS_RPATH_NAME@@:${_OPSYS_RPATH_NAME}:g'
@


1.18
log
@Convert to buildlink3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2004/03/08 20:27:14 minskim Exp $
d4 1
a4 1
PKGREVISION=		3
@


1.17
log
@Enable tk84 and replace x11/tk with x11/tk83.  Packages compatible
with 8.4 will be updated to depend on x11/tk after Tk update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2004/03/07 09:29:04 seb Exp $
d12 1
a12 1
USE_BUILDLINK2=		# defined
d25 1
a25 1
SUBST_STAGE.sather-configure=	configure
d92 2
a93 2
.include "../../devel/boehm-gc/buildlink2.mk"
.include "../../x11/tk83/buildlink2.mk"
@


1.16
log
@Remove info files entries from PLIST.
While here replace ad hoc substing with subst.mk framework.
Don't install manpages twice.
Fix missing PLIST entries.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2004/01/27 00:53:11 heinz Exp $
d93 1
a93 1
.include "../../x11/tk/buildlink2.mk"
@


1.15
log
@Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2004/01/24 13:51:15 grant Exp $
d4 1
a4 1
PKGREVISION=		2
d24 28
a51 29
do-configure:
	for f in								\
		${WRKSRC}/Boot/sacomp.code/Makefile				\
		${WRKSRC}/Library/System/unix.sa				\
		${WRKSRC}/System/Common/CONFIG.proto				\
		${WRKSRC}/System/Platforms/netbsd/CONFIG			\
		${WRKSRC}/System/Platforms/X/Platform.module			\
		${WRKSRC}/debian/bin-wrapper					\
		${WRKSRC}/Browser/Web/convert-1.1				\
		${WRKSRC}/Browser/Web/gen_html_class_index			\
		${WRKSRC}/Browser/Web/gen_html_sa_files				\
		${WRKSRC}/Browser/Web/gen_html_shortflat			\
		${WRKSRC}/Browser/Web/gen_html_top_level			\
		${WRKSRC}/Browser/Web/gen_mml_sa_files				\
		${WRKSRC}/Browser/Web/gen_mml_shortflat				\
		${WRKSRC}/Browser/Web/graph2dot;				\
	do									\
		${SED}	-e 's:@@CC@@:${CC}:g'					\
			-e 's:@@CFLAGS@@:${CFLAGS}:g'				\
			-e 's:@@GMAKE@@:${GMAKE}:g'				\
			-e 's:@@PREFIX@@:${PREFIX}:g'				\
			-e 's:@@X11BASE@@:${X11BASE}:g'				\
			-e 's:@@GC_PREFIX@@:${BUILDLINK_PREFIX.boehm-gc}:g'	\
			-e 's:@@TCL_PREFIX@@:${BUILDLINK_PREFIX.tcl}:g'		\
			-e 's:@@TK_PREFIX@@:${BUILDLINK_PREFIX.tk}:g'		\
			-e 's:@@_OPSYS_RPATH_NAME@@:${_OPSYS_RPATH_NAME}:g'	\
			$$f > $$f.tmp;						\
		${MV} -f $$f.tmp $$f;						\
	done
d70 3
a72 1
	cd ${WRKSRC} && ${PAX} -rw Library System/FORBID System/Debug	\
d85 2
a86 1
	cd ${WRKSRC}/Doc && ${PAX} -rw . ${PREFIX}/share/doc/sather
@


1.14
log
@replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2004/01/13 20:29:46 kristerw Exp $
d81 1
a81 1
		-o -name \*.orig | ${XARGS} ${RM} -f
@


1.13
log
@Homepage has moved.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2003/09/02 13:38:44 seb Exp $
d14 1
a14 1
USE_GMAKE=		# defined
@


1.12
log
@Fix REPLACE_PERL: pathnames listed should be relative to ${WRKSRC}.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2003/08/09 10:59:11 seb Exp $
d9 1
a9 1
HOMEPAGE=		http://www.gnu.org/software/sather/index.html
@


1.11
log
@USE_NEW_TEXINFO is unnecessary now.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2003/07/17 21:45:20 grant Exp $
d22 1
a22 1
REPLACE_PERL=		${WRKSRC}/Browser/Web/ps2gif
@


1.10
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2003/07/07 13:40:08 seb Exp $
a18 1
USE_NEW_TEXINFO=	YES
@


1.9
log
@I don't quite understand why this 'rm -rf' had been put in
post-install target. Putting it in post-build instead does fix some
PLIST issues.

Correct me if I'm wrong.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2003/07/06 16:27:41 seb Exp $
d8 1
a8 1
MAINTAINER=		tech-pkg@@netbsd.org
@


1.8
log
@Convert to USE_NEW_TEXINFO.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2003/06/02 01:18:55 jschauma Exp $
a58 2

post-install:
@


1.7
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.6 2003/05/22 16:48:30 jmmv Exp $
d19 2
a95 1
.include "../../mk/texinfo.mk"
@


1.6
log
@Bump PKGREVISION due to boehm-gc update to 6.2alpha5.  This version fixes
a problem introduced in the 6.2alpha4 package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2003/04/29 23:40:02 jtb Exp $
d8 1
a8 1
MAINTAINER=		packages@@netbsd.org
@


1.5
log
@Fix use of _OPSYS_RPATH_NAME causing broken compiler.
Bump PKG_REVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2003/03/10 06:25:35 jmc Exp $
d4 1
a4 1
PKGREVISION=		1
@


1.4
log
@Needs -Wl,-R (or the equiv) when linking libgc. Pass _OPSYS_RPATH_NAME in and use that accordingly.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2002/09/23 09:54:03 jlam Exp $
d4 1
d21 2
d24 27
a50 26
	for f in							\
		${WRKSRC}/Boot/sacomp.code/Makefile			\
		${WRKSRC}/Library/System/unix.sa			\
		${WRKSRC}/System/Common/CONFIG.proto			\
		${WRKSRC}/System/Platforms/netbsd/CONFIG		\
		${WRKSRC}/System/Platforms/X/Platform.module		\
		${WRKSRC}/debian/bin-wrapper				\
		${WRKSRC}/Browser/Web/convert-1.1			\
		${WRKSRC}/Browser/Web/gen_html_class_index		\
		${WRKSRC}/Browser/Web/gen_html_sa_files			\
		${WRKSRC}/Browser/Web/gen_html_shortflat		\
		${WRKSRC}/Browser/Web/gen_html_top_level		\
		${WRKSRC}/Browser/Web/gen_mml_sa_files			\
		${WRKSRC}/Browser/Web/gen_mml_shortflat			\
		${WRKSRC}/Browser/Web/graph2dot;			\
	do								\
		${SED}	-e 's:@@CC@@:${CC}:g'				\
			-e 's:@@CFLAGS@@:${CFLAGS}:g'			\
			-e 's:@@GMAKE@@:${GMAKE}:g'			\
			-e 's:@@PREFIX@@:${PREFIX}:g'			\
			-e 's:@@X11BASE@@:${X11BASE}:g'			\
			-e 's:@@GC_PREFIX@@:${BUILDLINK_PREFIX.boehm-gc}:g' \
			-e 's:@@TCL_PREFIX@@:${BUILDLINK_PREFIX.tcl}:g'	\
			-e 's:@@TK_PREFIX@@:${BUILDLINK_PREFIX.tk}:g'	\
			$$f > $$f.tmp;					\
		${MV} -f $$f.tmp $$f;					\
d58 3
a89 4

# should fix this
post-install:
	${RM} -fr ${PREFIX}/lib/sather/System/Platforms/dualgui/dual_gui_server.code/
@


1.3
log
@buildlink1 -> buildlink2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2002/05/09 14:36:49 agc Exp $
d16 1
@


1.2
log
@Don't bother using EVAL_PREFIX to find the prefices of boehm-gc, tcl
or tk, since they are all installed into ${LOCALBASE}.

Weakly buildlink-ify this package.

When installing, install the files from ${WRKSRC} into ${PREFIX} and
then change the ownership, rather than doing it the other way around.
This allows non-root users to "make clean" in the package directory.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2002/05/04 00:45:28 jtb Exp $
d11 2
d20 2
a21 1
	for f in ${WRKSRC}/Boot/sacomp.code/Makefile			\
d34 12
a45 10
		${WRKSRC}/Browser/Web/graph2dot; do			\
	${SED} -e 's:@@CC@@:${CC}:g'					\
		-e 's:@@CFLAGS@@:${CFLAGS}:g'				\
		-e 's:@@GMAKE@@:${GMAKE}:g'				\
		-e 's:@@PREFIX@@:${PREFIX}:g'				\
		-e 's:@@X11BASE@@:${X11BASE}:g'				\
		-e 's:@@GC_PREFIX@@:${LOCALBASE}:g'			\
		-e 's:@@TCL_PREFIX@@:${LOCALBASE}:g'			\
		-e 's:@@TK_PREFIX@@:${LOCALBASE}:g'			\
		$$f > $$f.tmp && ${MV} -f $$f.tmp $$f;			\
d87 3
a89 3
.include "../../devel/boehm-gc/buildlink.mk"
.include "../../x11/tk/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
a10 4
DEPENDS+=		boehm-gc-[0-9]*:../../devel/boehm-gc
DEPENDS+=		tcl-8.3.*:../../lang/tcl
DEPENDS+=		tk-8.3.*:../../x11/tk

a14 7
GC_PREFIX_DEFAULT=	${LOCALBASE}
EVAL_PREFIX+=		GC_PREFIX=boehm-gc
TCL_PREFIX_DEFAULT=	${LOCALBASE}
EVAL_PREFIX+=		TCL_PREFIX=tcl
TK_PREFIX_DEFAULT=	${LOCALBASE}
EVAL_PREFIX+=		TK_PREFIX=tk

d37 3
a39 3
		-e 's:@@GC_PREFIX@@:${GC_PREFIX}:g'			\
		-e 's:@@TCL_PREFIX@@:${TCL_PREFIX}:g'			\
		-e 's:@@TK_PREFIX@@:${TK_PREFIX}:g'			\
a55 2
	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${WRKSRC}/Library		\
		${WRKSRC}/System
d66 2
d82 3
@


1.1.1.1
log
@Initial import of sather.

Sather is an object oriented language which designed to be simple,
efficient, safe, and non-proprietary. It aims to meet the needs of
modern research groups and to foster the development of a large,
freely available, high-quality library of efficient well-written
classes for a wide variety of computational tasks. It was originally
based on Eiffel but now incorporates ideas and approaches from several
languages. One way of placing it in the "space of languages" is to say
that it attempts to be as efficient as C, C++, or Fortran, as elegant
and safe as Eiffel or CLU, and to support higher-order functions as
well as Common Lisp, Scheme, or Smalltalk.
   
Sather has garbage collection, statically-checked strong typing,
multiple inheritance, separate implementation and type inheritance,
parameterized classes, dynamic dispatch, iteration abstraction,
higher-order routines and iters, exception handling, assertions,
preconditions, postconditions, and class invariants. Sather code can
be compiled into C code and can efficiently link with C object files.
@
text
@@


1.1.1.1.2.1
log
@Merge from pkgsrc-current to buildlink2 branch.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2002/05/09 14:36:49 agc Exp $
d11 4
d19 7
d48 3
a50 3
		-e 's:@@GC_PREFIX@@:${LOCALBASE}:g'			\
		-e 's:@@TCL_PREFIX@@:${LOCALBASE}:g'			\
		-e 's:@@TK_PREFIX@@:${LOCALBASE}:g'			\
d67 2
a78 2
	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/sather/Library \
		${PREFIX}/lib/sather/System
a92 3
.include "../../devel/boehm-gc/buildlink.mk"
.include "../../x11/tk/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
@

