head	1.10;
access;
symbols
	pkgsrc-2021Q1:1.3.0.2
	pkgsrc-2021Q1-base:1.3;
locks; strict;
comment	@# @;


1.10
date	2021.06.03.10.41.31;	author pin;	state dead;
branches;
next	1.9;
commitid	sgBOeevp9cwgRFVC;

1.9
date	2021.05.31.20.53.46;	author pin;	state Exp;
branches;
next	1.8;
commitid	sKADJPNN4XJpllVC;

1.8
date	2021.05.30.06.43.45;	author pin;	state Exp;
branches;
next	1.7;
commitid	bRCepvH8BkWNF8VC;

1.7
date	2021.05.27.20.44.36;	author pin;	state Exp;
branches;
next	1.6;
commitid	TkcwJ2zN7l7fqPUC;

1.6
date	2021.05.19.10.56.13;	author pin;	state Exp;
branches;
next	1.5;
commitid	wnDMD32oOrlkqKTC;

1.5
date	2021.05.14.13.30.56;	author nia;	state Exp;
branches;
next	1.4;
commitid	aFunbi4Inq5pr7TC;

1.4
date	2021.04.24.19.47.11;	author pin;	state Exp;
branches;
next	1.3;
commitid	c5qjDrUR6k2eaAQC;

1.3
date	2021.02.23.14.48.11;	author pin;	state Exp;
branches;
next	1.2;
commitid	cyrX6eEhhIfjrQIC;

1.2
date	2021.01.30.22.21.27;	author pin;	state Exp;
branches;
next	1.1;
commitid	YCKgqcNUaFjDINFC;

1.1
date	2021.01.13.11.15.55;	author pin;	state Exp;
branches;
next	;
commitid	9gk4jiMifaR4AyDC;


desc
@@


1.10
log
@Remove math/kalk: package has been renamed upstream
@
text
@# $NetBSD: Makefile,v 1.9 2021/05/31 20:53:46 pin Exp $

DISTNAME=	kalk-0.5.4
CATEGORIES=	math
MASTER_SITES=	${MASTER_SITE_GITHUB:=PaddiM8/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://kalk.strct.net/
COMMENT=	CLI calculator supporting user defined variables and functions
LICENSE=	mit

.include "cargo-depends.mk"

USE_LANGUAGES+=	c c++	# rust, but needs a toolchain to link
USE_TOOLS+=	m4

INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/target/release/kalk ${DESTDIR}${PREFIX}/bin

.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"
@


1.9
log
@math/kalk: update to 0.5.4

-Fixed piping, implicit multiplication with groups like ⌈⌉, implemented
Iverson brackets.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2021/05/30 06:43:45 pin Exp $
@


1.8
log
@math/kalk: update to 0.5.3

-Minor bug fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2021/05/27 20:44:36 pin Exp $
d3 1
a3 1
DISTNAME=	kalk-0.5.3
@


1.7
log
@math/kalk: update to 0.5.2

-Adjusted estimation and rounding to include imaginary numbers
-Division with complex numbers
-Fixed negative scientific notation
-Basics of complex numbers
-Made sum() and ans compatible with complex numbers
-Implemented complex variants of prelude functions
-Allow a comma before 'dx' in integrals
-Always round values <= 10^-16 down to zero
-Finding square roots for estimate()
-Created synonym 'integral' for 'integrate'
-Convert fract to f64 before turning into string in estimate()
-Avoid panic because of invalid number literal
-Fixed integration with expressions like xdx
-Fixed rounding for complex numbers resulting in 0
-Integration with complex numbers
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2021/05/19 10:56:13 pin Exp $
d3 1
a3 1
DISTNAME=	kalk-0.5.2
d6 1
a6 2
GITHUB_PROJECT=	kalk
GITHUB_TAG=	5848c36125bb487c0f909faef965437e131e917c
@


1.6
log
@math/kalk: update to 0.4.1

0.4.1
=====
-Use KalkNum's to_string() function in to_scientific_notation()
-kalk_web: Added integral and estimation support
-Combined to_scientific_notation() methods for both types, and added types,
and added tests
-Added wasm binding to KalkNum.estimate()

0.4.0
=====
-Fixed mod.rs errors for when rug is not used, and added some unit tests
-Estimation/rounding for final results
-Lex special symbols as one token
-Basic rounding for calculus functions
-Higher order derivatation
-Improved accuracy for derivation
-Basics of derivation
-Created 'Identifier' struct that contains prime count and name
-Fixed integrate function test
-Lex '**' as power sign
-Switched to Simpson's rule (composite, 3/8) for integration
-Fixed "dx" in integrals, and created calculus.rs
-Integration estimation
-Fixed zeroes being trimmed for non-rug numbers
-kalk: Fixed type error in kalk_num/regular.rs
-Trimming trailing zeroes for non-rug numbers
-Fixed xy^z precedence, from (xy)^2 to x(y^2)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2021/05/14 13:30:56 nia Exp $
d3 1
a3 1
DISTNAME=	kalk-0.4.1
d7 1
a7 1
GITHUB_TAG=	93aa751f66c3e228110ff69dcc86e2542f8d297b
@


1.5
log
@kalk: needs m4
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2021/04/24 19:47:11 pin Exp $
d3 1
a3 1
DISTNAME=	kalk-0.3.14
d6 2
a7 1
GITHUB_TAG=	v${PKGVERSION_NOREV}
a13 2
USE_TOOLS=	m4

d17 1
@


1.4
log
@math/kalk: reset maintainer
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2021/02/23 14:48:11 pin Exp $
d13 2
@


1.3
log
@math/kalk: update to 0.3.14

-Important xy^z precedence fix, and some minor polishing
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2021/01/30 22:21:27 pin Exp $
d8 1
a8 1
MAINTAINER=	pin@@NetBSD.org
@


1.2
log
@math/kalk: update to 0.3.13

-Removed timeout from kalk_cli
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2021/01/13 11:15:55 pin Exp $
d3 1
a3 1
DISTNAME=	kalk-0.3.13
@


1.1
log
@math/kalk: import package

Kalk is a calculator (both program and library) that supports user-define
variables, functions, and units (experimental).
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	kalk-0.3.12
@

