head	1.36;
access;
symbols
	pkgsrc-2022Q3:1.35.0.4
	pkgsrc-2022Q3-base:1.35
	pkgsrc-2022Q2:1.35.0.2
	pkgsrc-2022Q2-base:1.35
	pkgsrc-2022Q1:1.34.0.30
	pkgsrc-2022Q1-base:1.34
	pkgsrc-2021Q4:1.34.0.28
	pkgsrc-2021Q4-base:1.34
	pkgsrc-2021Q3:1.34.0.26
	pkgsrc-2021Q3-base:1.34
	pkgsrc-2021Q2:1.34.0.24
	pkgsrc-2021Q2-base:1.34
	pkgsrc-2021Q1:1.34.0.22
	pkgsrc-2021Q1-base:1.34
	pkgsrc-2020Q4:1.34.0.20
	pkgsrc-2020Q4-base:1.34
	pkgsrc-2020Q3:1.34.0.18
	pkgsrc-2020Q3-base:1.34
	pkgsrc-2020Q2:1.34.0.16
	pkgsrc-2020Q2-base:1.34
	pkgsrc-2020Q1:1.34.0.12
	pkgsrc-2020Q1-base:1.34
	pkgsrc-2019Q4:1.34.0.14
	pkgsrc-2019Q4-base:1.34
	pkgsrc-2019Q3:1.34.0.10
	pkgsrc-2019Q3-base:1.34
	pkgsrc-2019Q2:1.34.0.8
	pkgsrc-2019Q2-base:1.34
	pkgsrc-2019Q1:1.34.0.6
	pkgsrc-2019Q1-base:1.34
	pkgsrc-2018Q4:1.34.0.4
	pkgsrc-2018Q4-base:1.34
	pkgsrc-2018Q3:1.34.0.2
	pkgsrc-2018Q3-base:1.34
	pkgsrc-2018Q2:1.33.0.16
	pkgsrc-2018Q2-base:1.33
	pkgsrc-2018Q1:1.33.0.14
	pkgsrc-2018Q1-base:1.33
	pkgsrc-2017Q4:1.33.0.12
	pkgsrc-2017Q4-base:1.33
	pkgsrc-2017Q3:1.33.0.10
	pkgsrc-2017Q3-base:1.33
	pkgsrc-2017Q2:1.33.0.6
	pkgsrc-2017Q2-base:1.33
	pkgsrc-2017Q1:1.33.0.4
	pkgsrc-2017Q1-base:1.33
	pkgsrc-2016Q4:1.33.0.2
	pkgsrc-2016Q4-base:1.33
	pkgsrc-2016Q3:1.32.0.2
	pkgsrc-2016Q3-base:1.32
	pkgsrc-2016Q2:1.31.0.6
	pkgsrc-2016Q2-base:1.31
	pkgsrc-2016Q1:1.31.0.4
	pkgsrc-2016Q1-base:1.31
	pkgsrc-2015Q4:1.31.0.2
	pkgsrc-2015Q4-base:1.31
	pkgsrc-2015Q3:1.30.0.2
	pkgsrc-2015Q3-base:1.30
	pkgsrc-2015Q2:1.29.0.8
	pkgsrc-2015Q2-base:1.29
	pkgsrc-2015Q1:1.29.0.6
	pkgsrc-2015Q1-base:1.29
	pkgsrc-2014Q4:1.29.0.4
	pkgsrc-2014Q4-base:1.29
	pkgsrc-2014Q3:1.29.0.2
	pkgsrc-2014Q3-base:1.29
	pkgsrc-2014Q2:1.28.0.14
	pkgsrc-2014Q2-base:1.28
	pkgsrc-2014Q1:1.28.0.12
	pkgsrc-2014Q1-base:1.28
	pkgsrc-2013Q4:1.28.0.10
	pkgsrc-2013Q4-base:1.28
	pkgsrc-2013Q3:1.28.0.8
	pkgsrc-2013Q3-base:1.28
	pkgsrc-2013Q2:1.28.0.6
	pkgsrc-2013Q2-base:1.28
	pkgsrc-2013Q1:1.28.0.4
	pkgsrc-2013Q1-base:1.28
	pkgsrc-2012Q4:1.28.0.2
	pkgsrc-2012Q4-base:1.28
	pkgsrc-2012Q3:1.27.0.4
	pkgsrc-2012Q3-base:1.27
	pkgsrc-2012Q2:1.27.0.2
	pkgsrc-2012Q2-base:1.27
	pkgsrc-2012Q1:1.26.0.32
	pkgsrc-2012Q1-base:1.26
	pkgsrc-2011Q4:1.26.0.30
	pkgsrc-2011Q4-base:1.26
	pkgsrc-2011Q3:1.26.0.28
	pkgsrc-2011Q3-base:1.26
	pkgsrc-2011Q2:1.26.0.26
	pkgsrc-2011Q2-base:1.26
	TNF:1.1.1
	pkgsrc-2011Q1:1.26.0.24
	pkgsrc-2011Q1-base:1.26
	pkgsrc-2010Q4:1.26.0.22
	pkgsrc-2010Q4-base:1.26
	pkgsrc-2010Q3:1.26.0.20
	pkgsrc-2010Q3-base:1.26
	pkgsrc-2010Q2:1.26.0.18
	pkgsrc-2010Q2-base:1.26
	pkgsrc-2010Q1:1.26.0.16
	pkgsrc-2010Q1-base:1.26
	pkgsrc-2009Q4:1.26.0.14
	pkgsrc-2009Q4-base:1.26
	pkgsrc-2009Q3:1.26.0.12
	pkgsrc-2009Q3-base:1.26
	pkgsrc-2009Q2:1.26.0.10
	pkgsrc-2009Q2-base:1.26
	pkgsrc-2009Q1:1.26.0.8
	pkgsrc-2009Q1-base:1.26
	pkgsrc-2008Q4:1.26.0.6
	pkgsrc-2008Q4-base:1.26
	pkgsrc-2008Q3:1.26.0.4
	pkgsrc-2008Q3-base:1.26
	cube-native-xorg:1.26.0.2
	cube-native-xorg-base:1.26
	pkgsrc-2008Q2:1.25.0.4
	pkgsrc-2008Q2-base:1.25
	cwrapper:1.25.0.2
	pkgsrc-2008Q1:1.24.0.2
	pkgsrc-2008Q1-base:1.24
	pkgsrc-2007Q4:1.23.0.10
	pkgsrc-2007Q4-base:1.23
	pkgsrc-2007Q3:1.23.0.8
	pkgsrc-2007Q3-base:1.23
	pkgsrc-2007Q2:1.23.0.6
	pkgsrc-2007Q2-base:1.23
	pkgsrc-2007Q1:1.23.0.4
	pkgsrc-2007Q1-base:1.23
	pkgsrc-2006Q4:1.23.0.2
	pkgsrc-2006Q4-base:1.23
	pkgsrc-2006Q3:1.20.0.4
	pkgsrc-2006Q3-base:1.20
	pkgsrc-2006Q2:1.20.0.2
	pkgsrc-2006Q2-base:1.20
	pkgsrc-2006Q1:1.19.0.4
	pkgsrc-2006Q1-base:1.19
	pkgsrc-2005Q4:1.19.0.2
	pkgsrc-2005Q4-base:1.19
	pkgsrc-2005Q3:1.17.0.4
	pkgsrc-2005Q3-base:1.17
	pkgsrc-2005Q2:1.17.0.2
	pkgsrc-2005Q2-base:1.17
	pkgsrc-2005Q1:1.12.0.10
	pkgsrc-2005Q1-base:1.12
	pkgsrc-2004Q4:1.12.0.8
	pkgsrc-2004Q4-base:1.12
	pkgsrc-2004Q3:1.12.0.6
	pkgsrc-2004Q3-base:1.12
	pkgsrc-2004Q2:1.12.0.4
	pkgsrc-2004Q2-base:1.12
	pkgsrc-2004Q1:1.12.0.2
	pkgsrc-2004Q1-base:1.12
	pkgsrc-2003Q4:1.11.0.2
	pkgsrc-2003Q4-base:1.11
	netbsd-1-6-1:1.9.0.6
	netbsd-1-6-1-base:1.9
	netbsd-1-6:1.9.0.8
	netbsd-1-6-RELEASE-base:1.9
	pkgviews:1.9.0.4
	pkgviews-base:1.9
	buildlink2:1.9.0.2
	buildlink2-base:1.9
	netbsd-1-5-PATCH003:1.9
	netbsd-1-5-PATCH001:1.8
	netbsd-1-5-RELEASE:1.5
	netbsd-1-4-PATCH003:1.5
	netbsd-1-4-PATCH002:1.4
	tnf-991117:1.1.1.1;
locks; strict;
comment	@# @;


1.36
date	2022.12.24.13.48.10;	author wiz;	state dead;
branches;
next	1.35;
commitid	CRkjcJYGqIz5BO6E;

1.35
date	2022.03.29.18.38.06;	author wiz;	state Exp;
branches;
next	1.34;
commitid	WtEZ2OkVUmaYS8yD;

1.34
date	2018.08.19.20.16.40;	author wiz;	state Exp;
branches;
next	1.33;
commitid	ABKQmSSJKd1rNLOA;

1.33
date	2016.12.19.13.34.53;	author joerg;	state Exp;
branches;
next	1.32;
commitid	uv5QRxjjh4fh7Byz;

1.32
date	2016.09.28.10.00.27;	author kamil;	state Exp;
branches;
next	1.31;
commitid	RJfHaIp3bbudv2oz;

1.31
date	2015.12.11.23.32.53;	author joerg;	state Exp;
branches;
next	1.30;
commitid	jk9ixC1XFpZMrAMy;

1.30
date	2015.08.30.08.41.44;	author dholland;	state Exp;
branches;
next	1.29;
commitid	q8LWCfFz7ukbPgzy;

1.29
date	2014.09.24.23.24.39;	author jperkin;	state Exp;
branches;
next	1.28;
commitid	sGsIRSNbhoyQDERx;

1.28
date	2012.10.02.20.11.37;	author asau;	state Exp;
branches;
next	1.27;

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

1.26
date	2008.09.05.05.27.30;	author dholland;	state Exp;
branches;
next	1.25;

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

1.24
date	2008.03.04.16.38.11;	author jlam;	state Exp;
branches;
next	1.23;

1.23
date	2006.11.09.11.12.06;	author rillig;	state Exp;
branches;
next	1.22;

1.22
date	2006.10.04.21.46.34;	author rillig;	state Exp;
branches;
next	1.21;

1.21
date	2006.10.04.21.14.00;	author rillig;	state Exp;
branches;
next	1.20;

1.20
date	2006.05.26.12.30.15;	author drochner;	state Exp;
branches;
next	1.19;

1.19
date	2005.12.05.20.50.24;	author rillig;	state Exp;
branches;
next	1.18;

1.18
date	2005.11.09.21.24.12;	author tv;	state Exp;
branches;
next	1.17;

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

1.16
date	2005.05.31.16.40.31;	author drochner;	state Exp;
branches;
next	1.15;

1.15
date	2005.05.25.17.48.13;	author drochner;	state Exp;
branches;
next	1.14;

1.14
date	2005.05.19.17.11.45;	author drochner;	state Exp;
branches;
next	1.13;

1.13
date	2005.05.02.17.01.34;	author drochner;	state Exp;
branches;
next	1.12;

1.12
date	2004.01.20.12.19.16;	author agc;	state Exp;
branches;
next	1.11;

1.11
date	2003.07.17.21.44.06;	author grant;	state Exp;
branches;
next	1.10;

1.10
date	2003.03.29.12.41.24;	author jmmv;	state Exp;
branches;
next	1.9;

1.9
date	2001.09.09.20.36.31;	author agc;	state Exp;
branches;
next	1.8;

1.8
date	2001.05.09.15.14.16;	author agc;	state Exp;
branches;
next	1.7;

1.7
date	2001.02.25.04.17.55;	author hubertf;	state Exp;
branches;
next	1.6;

1.6
date	2001.02.17.09.07.02;	author agc;	state Exp;
branches;
next	1.5;

1.5
date	2000.06.19.19.59.32;	author drochner;	state Exp;
branches;
next	1.4;

1.4
date	2000.02.05.19.45.33;	author wiz;	state Exp;
branches;
next	1.3;

1.3
date	99.11.23.19.29.05;	author drochner;	state Exp;
branches;
next	1.2;

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

1.1
date	99.11.17.14.48.18;	author drochner;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.11.17.14.48.18;	author drochner;	state Exp;
branches;
next	;


desc
@@


1.36
log
@cint: remove

Does not compile in any bulk build I could find, sources from 2007.

(Possibly now part of root if I understand
https://aur.archlinux.org/packages/cint correctly, so that could
be packaged instead)
@
text
@# $NetBSD: Makefile,v 1.35 2022/03/29 18:38:06 wiz Exp $

DISTNAME=		cint-5.16.19-source
PKGNAME=		${DISTNAME:S/-source//}
CATEGORIES=		lang
MASTER_SITES=		https://root.cern.ch/download/

MAINTAINER=		pkgsrc-users@@NetBSD.org
HOMEPAGE=		http://www.hanno.jp/gotom/Cint.html
COMMENT=		C/C++ interpreter
LICENSE=		mit

USE_TOOLS+=		bash gmake pax
USE_LANGUAGES=		c c++

CONFIG_SHELL=		${BASH}

WRKSRC=			${WRKDIR}/${PKGNAME_NOREV}

CONFIGURE_ARGS+=	--arch=netbsd
CONFIGURE_ARGS+=	--readline=${BUILDLINK_LIBNAME.editline}${BUILDLINK_LIBNAME.readline}

HAS_CONFIGURE=			yes
CFLAGS+=			-Wno-write-strings
CXXFLAGS+=			-Wno-write-strings
LDFLAGS+=			${COMPILER_RPATH_FLAG}${PREFIX}/lib
LDFLAGS+=			${COMPILER_RPATH_FLAG}${PREFIX}/cint/lib
CONFIGURE_ENV+=			CFLAGS_ADD=${CFLAGS:Q}
CONFIGURE_ENV+=			CXXFLAGS_ADD=${CXXFLAGS:Q}
CONFIGURE_ENV+=			LDFLAGS_ADD=${LDFLAGS:Q}
CONFIGURE_ENV+=			SOFLAGS_ADD=${LDFLAGS:Q}

BUILDLINK_PASSTHRU_DIRS+=	${PREFIX}/cint/lib
BUILDLINK_PASSTHRU_RPATHDIRS+=	${PREFIX}/cint/lib

BUILD_TARGET=			# empty string required (override "all")

.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
MAKE_ENV+=		CFLAGS_NO_RETURN_TYPE=-Wno-error=return-type
.endif

INSTALLATION_DIRS+=	bin cint cint/lib share/doc/cint
INSTALLATION_DIRS+=	${PKGMANDIR}/man1 ${PKGMANDIR}/man2 ${PKGMANDIR}/man3

post-extract:
	${FIND} ${WRKSRC} -depth -type d -name CVS -exec ${RM} -rf {} \;
	${FIND} ${WRKSRC} -type f -name .cvsignore -exec ${RM} -f {} \;
	${SED} "s;XXXPREFIXXXX;${PREFIX};g" <${FILESDIR}/cint.sh \
		>${WRKSRC}/cint.sh


# We do not want these files to be installed
pre-install:
	${RM} -f ${WRKSRC}/include/Makeit
	${RM} -f ${WRKSRC}/include/make*

do-install:
.for f in cint makecint
	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/cint
.endfor
	${INSTALL_DATA} ${WRKSRC}/inc/G__ci.h ${DESTDIR}${PREFIX}/cint
	${INSTALL_PROGRAM} ${WRKSRC}/libcint.so ${DESTDIR}${PREFIX}/cint/lib
	${INSTALL_SCRIPT} ${WRKSRC}/cint.sh ${DESTDIR}${PREFIX}/bin/cint
	${RUN} cd ${DESTDIR}${PREFIX}/bin && ${LN} -sf cint makecint
	${CHMOD} +x ${DESTDIR}${PREFIX}/bin/cint
	${RUN} cd ${WRKSRC} && ${PAX} -rw include stl ${DESTDIR}${PREFIX}/cint
# Install demos
	${RUN} cd ${WRKSRC} && ${PAX} -rw demo ${DESTDIR}${PREFIX}/cint
	${RUN} cd ${WRKSRC}/lib \
		&& ${PAX} -rw prec_stl ${DESTDIR}${PREFIX}/cint/lib
.for f in \
	bytecode.txt cint.txt cintapi.txt extlib.txt ifdef.txt limitati.txt \
	limitnum.txt makecint.txt message.txt ref.txt
	${INSTALL_DATA} ${WRKSRC}/doc/${f} \
		${DESTDIR}${PREFIX}/share/doc/cint
.endfor
.for f in \
	cint.1 makecint.1 garbage.2 unique.2 array.h.3 fft.h.3 statistics.h.3
	${INSTALL_MAN} ${WRKSRC}/doc/man${f:E}/${f} \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man${f:E}/${f}
.endfor
# Resolve conflict with devel/man-pages
.for f in \
	security.2
	${INSTALL_MAN} ${WRKSRC}/doc/man${f:E}/${f} \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man${f:E}/cint_${f}
.endfor


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


1.35
log
@cint: fix configure args, now it fails later in the build

XXX: does anyone still use this?
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2018/08/19 20:16:40 wiz Exp $
@


1.34
log
@*: reset maintainer for drochner
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2016/12/19 13:34:53 joerg Exp $
d21 1
a21 3
CONFIGURE_ARGS+=	--readline=${PREFIX}/lib/libreadline.so

USE_LANGUAGES=		c c++
@


1.33
log
@When building with clang, ignore return type warnings.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2016/09/28 10:00:27 kamil Exp $
d8 1
a8 1
MAINTAINER=		drochner@@NetBSD.org
@


1.32
log
@Upgrade cint from 5.15.174 to 5.16.19

cint is no longer developed upstream and was replaced with cling in root.
Add the latest version available from https://root.cern.ch/download/

New HOMEPAGE ships an unversioned tarball as the latest release, but its
conent is unrecognized and very different from the known cint from the old
cern.ch site.

FreeBSD claims to ship with cint-5.18 and there are references to it, but
it's probably root version 5.18 with possibly extracted files for cint.

If there is a newer version somewhere it will be upgraded later accordingly.

pkgsrc changes:
- refactor configure & build & install stages
- install demo files
- add license
- update DESCR
- new HOMEPAGE
- new MASTER_SITES
- remove conflict with devel/man-pages

Upstream changelog
==================
* 5.16.2, July 14 2005
* 6.1.2, July 14 2005
* -   , Convert most of the C source file from K&R C to Ansi C++
* -     The files *.c were renamed v6_*.cxx.  The interfaces are
* -     kept backward compatible (extern "C")
*
* 5.16.3, November 11, 2005
* 6.1.3, November 11, 2005
* -   , Port to windows visual C++ version 8
* -   , Many bugs fixes (see CVS change log for details)
*
* 5.16.4 November 30, 2005
* 6.1.4 November 30, 2005
* - Add support for generating dictionary using the reflex API (makecint -c3)
* - See CVS Change log for other updates.
*
* 5.16.5 November 30, 2005
* 6.1.5 November 30, 2005
* - Improve support for generating dictionary using the reflex API (makecint -c3)
* - Extend ClassInfo to better support array allocation and deallocation
* - See CVS Change log for other updates.
*
* 5.16.6 January 9, 2006
* 6.1.6 January 9, 2006
* - Import and use the shadow class mechanism from ROOT.  This allows the
*   calculation of the data member offset even if they are protected/private.
* - See CVS Change log for other updates (http://root.cern.ch/root/ChangeLog-cint.phtml)
*
* 5.16.7 January 19, 2006
* 6.1.7 January 19, 2006
* - Many improvement to the shadow class generation.
* - See CVS Change log for other updates (http://root.cern.ch/root/ChangeLog-cint.phtml)
*
* 5.16.8 February 9, 2006
* 6.1.8 February 9, 2006
* - Update and streamline the handling operator new and delete
* - See CVS Change log for other updates (http://root.cern.ch/root/ChangeLog-cint.phtml)
*
* 5.16.9 March 3, 2006
* 6.1.9 March 3, 2006
* - Upgrade the support for operator new and delete in the dictionaries (improve usage
    of user provided operator new).
* - Add a new command line option (-E) to insure exit on error.
* - Improve error message in case of missing symbols.
* - See CVS Change log for other updates (http://root.cern.ch/root/ChangeLog-cint.phtml)
*
* 5.16.10 March 30, 2006
* 6.1.10 March 30, 2006
* - Refresh of the port to icc and alpha cxx
* - Fix for comment parsing in the CPP parser.
* - See CVS Change log for other updates (http://root.cern.ch/root/ChangeLog-cint.phtml)
*
* 5.16.11 April 14, 2006
* 6.1.10 April 14, 2006
* - Improve template support
* - Port to MacOS on Intel
* - See CVS Change log for other updates (http://root.cern.ch/root/ChangeLog-cint.phtml)
*
* 5.16.12 May 16, 2006
* 6.1.12 May 16, 2006
* - Add support for variadic functions on AMD64 and EM64T.
* - See CVS Change log for other updates (http://root.cern.ch/root/ChangeLog-cint.phtml)
*
* 5.16.13 June 8, 2006
* 6.1.13 June 8, 2006
* - New build system based on the configure/make model.  MAKEINFO is not longer used.
* - A few more function has been officially exported and/or added to the appropriate
*   header files
* - See CVS Change log for other updates (http://root.cern.ch/root/ChangeLog-cint.phtml)
*
* 5.16.14 August 18, 2006
* 6.1.14 August 18, 2006
* - Clarification of the license (Now MIT License)
* - See CVS Change log for other updates (http://root.cern.ch/root/ChangeLog-cint.phtml)
*
* 5.16.15 September 21, 2006
* 6.1.15 September 21, 2006
* - Various bug fixes (include a couple of cint dlls cleanups)
* - See CVS Change log for other updates (http://root.cern.ch/root/ChangeLog-cint.phtml)
*
* 5.16.16 November 24, 2006
* 6.1.16 November 24, 2006
* - Some minor bug fixes: remove G__CINTVERSION from strm dict files, AMD64 vararg passing, long comments, extern "C" multiline issue
* - G__sizeof, G__getfunction now part of the API
* - respect system macros when generating dictionaries
* - Move public header files into inc/
* - Changes to achieve binary compatibility with cint7; some of these are temporary
* - Move C++ API into namespace Cint
* - added build support for linux x86_64
* - See CVS Change log for other updates (http://root.cern.ch/root/ChangeLog-cint.phtml)
*
* 5.16.17 December 12, 2006
* 6.1.17 December 12, 2006
* - Some previously publicly visibly types are now private. Please let us know if this
*   causes problems for you!
* - G__MethodInfo::Get/SetUserParam() added
* - extend G__ClassInfo::AddMethod
* - the relevant platform macros are now known to CINT, except when interpreting where the
*   compiler macros (e.g. __GNUC__) are hidden
* - Fix prec_stl for solarisgcc, cygwin (posix)
*
* 5.16.18 February 9, 2007
* 6.1.18 February 9, 2007
* - Fix a few bugs (fix arithmetics involving long double, "!",
*   LL suffix for operators' long long args, quoting of default
*   params,
* - Implement G__pop_tempobject_nodel() to "steal" temp object from CINT
* - modify algo.h's random_shuffle to use new Cint::G__long_random in new v6_random.cxx
* - make G__free_ifunc_table non-recursive
* - for ROOT, use R__HAVE_CONFIG, not HAVE_CONFIG
*
* 5.16.19 March 16, 2007
* 6.1.19 March 16, 2007
* - handle 1dim arrays properly (!= scalar)
* - more memory effient G__param and G__inherit
* - implement forward decl in dictionaries (e.g. if dict for "A* f()" is
*   setup, lib containing A will not be loaded)
* - add a reference layer between API ifunc* and internal ifunc*, so
*   reloading (scrupto of scripts) doesn't invalidate the external
*   ptrs for dependent libs
* - update tagnums below scrupto limit if they are autoload entries
* - allow multiple shared lib init routines
* - bug fixes: fix decl locations in .so-s, distinguish "class*",
*   "decl if unknown" in G__search_tagname
* - split Shadow.h off Api.h
* - remove temporary files on windows once they are unused (fixes problem
*   with tmp file flooding)
*
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2015/12/11 23:32:53 joerg Exp $
d40 5
@


1.31
log
@Honour wrappers. Declare C++ dependency.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2015/08/30 08:41:44 dholland Exp $
d3 2
a4 3
DISTNAME=		cint5.15
PKGNAME=		cint-5.15.174
PKGREVISION=		2
d6 1
a6 2
MASTER_SITES=		ftp://root.cern.ch/root/
#MASTER_SITES=		${MASTER_SITE_BACKUP}
d9 1
a9 1
HOMEPAGE=		http://root.cern.ch/root/Cint.html
d11 1
d13 9
a21 1
CONFLICTS=		man-pages-[0-9]*
d25 12
a36 10
#same distribution file name for minor versions
DIST_SUBDIR=		${PKGNAME_NOREV}
WRKSRC=			${WRKDIR}
GCC_REQD+=		3.0
PTHREAD_OPTS+=		native
PLIST_VARS+=		threads
.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native"
PLIST.threads=		yes
.endif
d38 4
a41 4
INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man2
INSTALLATION_DIRS+=	${PKGMANDIR}/man3
USE_LANGUAGES=		c c++
CHECK_PORTABILITY_SKIP+=	INSTALLBIN
d46 3
d50 4
a53 15
do-build:
	cd ${WRKDIR};						\
	case ${OPSYS} in					\
	FreeBSD|DragonFly)					\
		${PKGSRC_SETENV} ${MAKE_ENV} ${SH} ./setup platform/freebsd_C \
		;;						\
	NetBSD|OpenBSD|Bitrig)					\
		${PKGSRC_SETENV} ${MAKE_ENV} ${SH} ./setup platform/netbsd \
		;;						\
	SunOS)							\
		${PKGSRC_SETENV} ${MAKE_ENV} ${SH} ./setup platform/solaris_gcc \
		;;						\
	*)							\
		${ECHO} 'not yet ported to ${OPSYS}'; exit 1 ;;	\
	esac
d56 7
a62 4
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/cint
	${INSTALL_PROGRAM} ${WRKDIR}/cint ${DESTDIR}${PREFIX}/cint
	${INSTALL_PROGRAM} ${WRKDIR}/makecint ${DESTDIR}${PREFIX}/cint
	${SED} "s;XXXPREFIXXXX;${PREFIX};g" <${FILESDIR}/cint.sh >${DESTDIR}${PREFIX}/bin/cint
d64 23
a86 54
	rm -f ${DESTDIR}${PREFIX}/bin/makecint
	cd ${DESTDIR}${PREFIX}/bin && ${LN} cint makecint
	${INSTALL_DATA} ${WRKDIR}/MAKEINFO ${DESTDIR}${PREFIX}/cint
	${CP} -r ${WRKDIR}/include ${WRKDIR}/stl ${DESTDIR}${PREFIX}/cint
	${RM} ${DESTDIR}${PREFIX}/cint/include/Makeit \
		${DESTDIR}${PREFIX}/cint/include/make*
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/cint/lib
	${CP} -r ${WRKDIR}/lib/prec_stl ${DESTDIR}${PREFIX}/cint/lib
	${INSTALL_DATA} ${WRKDIR}/G__ci.h ${DESTDIR}${PREFIX}/cint
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/cint
	${INSTALL_DATA} ${WRKSRC}/doc/bytecode.txt \
		${DESTDIR}${PREFIX}/share/doc/cint
	${INSTALL_DATA} ${WRKSRC}/doc/cint.txt \
		${DESTDIR}${PREFIX}/share/doc/cint
	${INSTALL_DATA} ${WRKSRC}/doc/cintapi.txt \
		${DESTDIR}${PREFIX}/share/doc/cint
	${INSTALL_DATA} ${WRKSRC}/doc/extlib.txt \
		${DESTDIR}${PREFIX}/share/doc/cint
	${INSTALL_DATA} ${WRKSRC}/doc/ifdef.txt \
		${DESTDIR}${PREFIX}/share/doc/cint
	${INSTALL_DATA} ${WRKSRC}/doc/limitati.txt \
		${DESTDIR}${PREFIX}/share/doc/cint
	${INSTALL_DATA} ${WRKSRC}/doc/limitnum.txt \
		${DESTDIR}${PREFIX}/share/doc/cint
	${INSTALL_DATA} ${WRKSRC}/doc/makecint.txt \
		${DESTDIR}${PREFIX}/share/doc/cint
	${INSTALL_DATA} ${WRKSRC}/doc/message.txt \
		${DESTDIR}${PREFIX}/share/doc/cint
	${INSTALL_DATA} ${WRKSRC}/doc/ref.txt \
		${DESTDIR}${PREFIX}/share/doc/cint
	${INSTALL_MAN} ${WRKSRC}/doc/man1/cint.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_MAN} ${WRKSRC}/doc/man1/makecint.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_MAN} ${WRKSRC}/doc/man2/garbage.2 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man2
	${INSTALL_MAN} ${WRKSRC}/doc/man2/security.2 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man2
	${INSTALL_MAN} ${WRKSRC}/doc/man2/unique.2 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man2
	${INSTALL_MAN} ${WRKSRC}/doc/man3/array.h.3 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man3
	${INSTALL_MAN} ${WRKSRC}/doc/man3/fft.h.3 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man3
	${INSTALL_MAN} ${WRKSRC}/doc/man3/statistics.h.3 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man3

# The library seems to want these but the pertinent parts still don't
# build, so I'm reluctant to bother.
#
#.include "../../graphics/glu/buildlink3.mk"
#.include "../../graphics/MesaLib/buildlink3.mk"
#.include "../../x11/xproto/buildlink3.mk"
#.include "../../x11/libX11/buildlink3.mk"
d88 1
@


1.30
log
@Add more configs: try using the shipped freebsd config for freebsd and dfly,
use the netbsd config for openbsd and bitrig. Might work...
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2014/09/24 23:24:39 jperkin Exp $
d16 2
d42 2
a43 1
		${SH} ./setup platform/freebsd_C ;;		\
d45 2
a46 1
		${SH} ./setup platform/netbsd ;;		\
d48 2
a49 1
		${SH} ./setup platform/solaris_gcc ;;		\
@


1.29
log
@Use portable find constructs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2012/10/02 20:11:37 asau Exp $
d39 3
a41 1
	NetBSD)							\
@


1.28
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2012/05/12 07:37:51 wiz Exp $
d33 1
a33 1
	${FIND} -d ${WRKSRC} -type d -name CVS -exec ${RM} -rf {} \;
@


1.27
log
@Add CONFLICTS with new man-pages package. For details, see
man-pages/Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2008/09/05 05:27:30 dholland Exp $
a13 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.26
log
@Fix broken 64-bit build, and patch makefile to stop on error. There
are a lot of woolly things going on here, so PKGREVISION++ as a
precaution.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2008/04/12 22:43:02 jlam Exp $
d16 2
@


1.25
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.24 2008/03/04 16:38:11 jlam Exp $
d5 1
a5 1
PKGREVISION=		1
d100 8
@


1.24
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.23 2006/11/09 11:12:06 rillig Exp $
d20 2
a21 1
PTHREAD_OPTS+=	native
d24 1
a24 3
PLIST_SUBST+= HAVE_THR=""
.else
PLIST_SUBST+= HAVE_THR="@@comment "
@


1.23
log
@Fixed "test ==".
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2006/10/04 21:46:34 rillig Exp $
d14 2
d49 51
a99 32
	${INSTALL_DATA_DIR} ${PREFIX}/cint
	${INSTALL_PROGRAM} ${WRKDIR}/cint ${PREFIX}/cint
	${INSTALL_PROGRAM} ${WRKDIR}/makecint ${PREFIX}/cint
	${SED} "s;XXXPREFIXXXX;${PREFIX};g" <${FILESDIR}/cint.sh >${PREFIX}/bin/cint
	${CHMOD} +x ${PREFIX}/bin/cint
	rm -f ${PREFIX}/bin/makecint
	${LN} ${PREFIX}/bin/cint ${PREFIX}/bin/makecint
	${INSTALL_DATA} ${WRKDIR}/MAKEINFO ${PREFIX}/cint
	${CP} -r ${WRKDIR}/include ${WRKDIR}/stl ${PREFIX}/cint
	${RM} ${PREFIX}/cint/include/Makeit ${PREFIX}/cint/include/make*
	${INSTALL_DATA_DIR} ${PREFIX}/cint/lib
	${CP} -r ${WRKDIR}/lib/prec_stl ${PREFIX}/cint/lib
	${INSTALL_DATA} ${WRKDIR}/G__ci.h ${PREFIX}/cint
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cint
	${INSTALL_DATA} ${WRKSRC}/doc/bytecode.txt ${PREFIX}/share/doc/cint
	${INSTALL_DATA} ${WRKSRC}/doc/cint.txt ${PREFIX}/share/doc/cint
	${INSTALL_DATA} ${WRKSRC}/doc/cintapi.txt ${PREFIX}/share/doc/cint
	${INSTALL_DATA} ${WRKSRC}/doc/extlib.txt ${PREFIX}/share/doc/cint
	${INSTALL_DATA} ${WRKSRC}/doc/ifdef.txt ${PREFIX}/share/doc/cint
	${INSTALL_DATA} ${WRKSRC}/doc/limitati.txt ${PREFIX}/share/doc/cint
	${INSTALL_DATA} ${WRKSRC}/doc/limitnum.txt ${PREFIX}/share/doc/cint
	${INSTALL_DATA} ${WRKSRC}/doc/makecint.txt ${PREFIX}/share/doc/cint
	${INSTALL_DATA} ${WRKSRC}/doc/message.txt ${PREFIX}/share/doc/cint
	${INSTALL_DATA} ${WRKSRC}/doc/ref.txt ${PREFIX}/share/doc/cint
	${INSTALL_MAN} ${WRKSRC}/doc/man1/cint.1 ${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_MAN} ${WRKSRC}/doc/man1/makecint.1 ${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_MAN} ${WRKSRC}/doc/man2/garbage.2 ${PREFIX}/${PKGMANDIR}/man2
	${INSTALL_MAN} ${WRKSRC}/doc/man2/security.2 ${PREFIX}/${PKGMANDIR}/man2
	${INSTALL_MAN} ${WRKSRC}/doc/man2/unique.2 ${PREFIX}/${PKGMANDIR}/man2
	${INSTALL_MAN} ${WRKSRC}/doc/man3/array.h.3 ${PREFIX}/${PKGMANDIR}/man3
	${INSTALL_MAN} ${WRKSRC}/doc/man3/fft.h.3 ${PREFIX}/${PKGMANDIR}/man3
	${INSTALL_MAN} ${WRKSRC}/doc/man3/statistics.h.3 ${PREFIX}/${PKGMANDIR}/man3
@


1.22
log
@Fixed path to the manual pages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2006/10/04 21:14:00 rillig Exp $
d29 1
@


1.21
log
@Needs a C compiler.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2006/05/26 12:30:15 drochner Exp $
d26 2
a27 1
INSTALLATION_DIRS=	bin
d51 1
d70 8
a77 8
	${INSTALL_MAN} ${WRKSRC}/doc/man1/cint.1 ${PREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/doc/man1/makecint.1 ${PREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/doc/man2/garbage.2 ${PREFIX}/man/man2
	${INSTALL_MAN} ${WRKSRC}/doc/man2/security.2 ${PREFIX}/man/man2
	${INSTALL_MAN} ${WRKSRC}/doc/man2/unique.2 ${PREFIX}/man/man2
	${INSTALL_MAN} ${WRKSRC}/doc/man3/array.h.3 ${PREFIX}/man/man3
	${INSTALL_MAN} ${WRKSRC}/doc/man3/fft.h.3 ${PREFIX}/man/man3
	${INSTALL_MAN} ${WRKSRC}/doc/man3/statistics.h.3 ${PREFIX}/man/man3
@


1.20
log
@-uses c++
-install documentation, bump PKGREVISION
submitted by Ben Collver per PR pkg/33557 and pkg/33559
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2005/12/05 20:50:24 rillig Exp $
d27 1
a27 1
USE_LANGUAGES+=		c++
@


1.19
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.18 2005/11/09 21:24:12 tv Exp $
d5 1
d27 1
d34 1
a34 1
	@@cd ${WRKDIR};						\
d57 19
@


1.18
log
@Fail the build if the OPSYS check falls through in do-build.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2005/06/16 06:57:59 jlam Exp $
d14 1
a14 1
DIST_SUBDIR=		${PKGNAME}
@


1.17
log
@Create directories before installing files into them.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2005/05/31 16:40:31 drochner Exp $
d38 2
@


1.16
log
@don't require native threads, deal with the non-thread case instead.
this enables the pkg for NetBSD-1.6
tested by Roland Illig
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2005/05/25 17:48:13 drochner Exp $
d25 2
@


1.15
log
@require gcc>=3 and native threads
This effectively removes support for NetBSD-1.6, thus closing
PR pkg/30317 by diro@@nixsys.bz.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2005/05/19 17:11:45 drochner Exp $
d17 7
a23 1
PTHREAD_OPTS+=	require native
a51 1
.include "../../mk/pthread.buildlink3.mk"
@


1.14
log
@sync with changed distfile -- they have the habit to do minor updates
without changing the distfile name
changes seem X11/GL related which we don't support anyway
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2005/05/02 17:01:34 drochner Exp $
d16 2
d46 1
@


1.13
log
@update to 5.15.169
This fixes (additionally to internal changes) compilation with gcc3.
(it likely breaks on gcc2 now, but the effort to make it support
both gcc versions isn't worth it imho)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2004/01/20 12:19:16 agc Exp $
d4 1
a4 1
PKGNAME=		cint-5.15.169
d17 4
@


1.12
log
@Move WRKSRC definition away from the first paragraph in a Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2003/07/17 21:44:06 grant Exp $
d3 2
a4 2
DISTNAME=		cint5.14
PKGNAME=		cint-5.14.40
d6 2
a7 1
MASTER_SITES=		${MASTER_SITE_BACKUP}
@


1.11
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2003/03/29 12:41:24 jmmv Exp $
a4 1
WRKSRC=			${WRKDIR}
d14 1
@


1.10
log
@Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2001/09/09 20:36:31 agc Exp $
d9 1
a9 1
MAINTAINER=		drochner@@netbsd.org
@


1.9
log
@Deprecate NO_WRKSUBDIR, replacing it with an explicit assignment of:

WRKSRC= ${WRKDIR}

This is much cleaner, much more indicative of what happens, and removes
another of the negative definitions (NO_.* = value).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2001/05/09 15:14:16 agc Exp $
d5 1
a14 2

WRKSRC=			${WRKDIR}
@


1.8
log
@The Makefile says that the distfile will change for different minor version
numbers of this package.

To make sure we get the right distfile, use ${MASTER_SITE_BACKUP}.

Move to sha1 digest, and add distfile size.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2001/02/25 04:17:55 hubertf Exp $
a4 1
NO_WRKSUBDIR=		yes
d14 2
@


1.7
log
@Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2001/02/17 09:07:02 agc Exp $
d7 1
a7 1
MASTER_SITES=		ftp://root.cern.ch/root/
@


1.6
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.5 2000/06/19 19:59:32 drochner Exp $
d26 1
a26 1
	${MKDIR} ${PREFIX}/cint
d35 1
a35 1
	${MKDIR} ${PREFIX}/cint/lib
@


1.5
log
@put distfile into own DIST_SUBDIR because the filename doesn't change
between minor versions, upgrade to 5.14.40
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2000/02/05 19:45:33 wiz Exp $
d11 1
@


1.4
log
@Updated to the last dist-file at the original site, but marked as
broken, since it doesn't compile (the previous version didn't compile,
either).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 1999/11/23 19:29:05 drochner Exp $
d4 1
a4 1
PKGNAME=		cint-5.14.29
d12 2
a13 1
BROKEN=		does not compile
a32 1
	${RM} ${PREFIX}/cint/include/G__*
@


1.3
log
@I'll play MAINTAINER here
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 1999/11/18 11:00:41 agc Exp $
d4 1
a4 1
PKGNAME=		cint-5.14
d12 2
d15 1
a15 1
	@@cd $(WRKDIR);						\
d24 13
a36 13
	$(MKDIR) $(PREFIX)/cint
	$(INSTALL_PROGRAM) $(WRKDIR)/cint $(PREFIX)/cint
	$(INSTALL_PROGRAM) $(WRKDIR)/makecint $(PREFIX)/cint
	$(SED) "s;XXXPREFIXXXX;$(PREFIX);g" <$(FILESDIR)/cint.sh >$(PREFIX)/bin/cint
	$(CHMOD) +x $(PREFIX)/bin/cint
	$(LN) $(PREFIX)/bin/cint $(PREFIX)/bin/makecint
	$(INSTALL_DATA) $(WRKDIR)/MAKEINFO $(PREFIX)/cint
	$(CP) -r $(WRKDIR)/include $(WRKDIR)/stl $(PREFIX)/cint
	$(RM) $(PREFIX)/cint/include/G__*
	$(RM) $(PREFIX)/cint/include/Makeit $(PREFIX)/cint/include/make*
	$(MKDIR) $(PREFIX)/cint/lib
	$(CP) -r $(WRKDIR)/lib/prec_stl $(PREFIX)/cint/lib
	$(INSTALL_DATA) $(WRKDIR)/G__ci.h $(PREFIX)/cint
@


1.2
log
@Package this up a bit better for Solaris.
Delete unwanted patch-file checksums from patchsum file.
Re-generate distfile checksum, which seemed to be bad.
Add a missing quotation mark to the end of an echo command in the setup script
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 1999/11/17 14:48:18 drochner Exp $
d9 1
a9 1
MAINTAINER=		packages@@netbsd.org
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d13 7
a19 1
	cd $(WRKDIR); sh ./setup platform/netbsd
@


1.1.1.1
log
@import pkg for cint, a C/C++ interpreter
@
text
@@
