pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/bc bc 1.06 - Arbitrary precision calculator language
details: https://anonhg.NetBSD.org/pkgsrc/rev/97e7ad0477ae
branches: trunk
changeset: 462284:97e7ad0477ae
user: reed <reed%pkgsrc.org@localhost>
date: Mon Sep 29 23:57:38 2003 +0000
description:
bc 1.06 - Arbitrary precision calculator language
diffstat:
math/bc/DESCR | 12 ++++++++
math/bc/Makefile | 24 ++++++++++++++++
math/bc/PLIST | 7 ++++
math/bc/distinfo | 6 ++++
math/bc/patches/patch-aa | 69 ++++++++++++++++++++++++++++++++++++++++++++++++
math/bc/patches/patch-ab | 45 +++++++++++++++++++++++++++++++
6 files changed, 163 insertions(+), 0 deletions(-)
diffs (187 lines):
diff -r e96a55223a66 -r 97e7ad0477ae math/bc/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/bc/DESCR Mon Sep 29 23:57:38 2003 +0000
@@ -0,0 +1,12 @@
+Bc is an arbitrary precision calculator language. Syntax is similar
+to C, but differs in many substantial areas. It supports interactive
+execution of statements
+
+It can also be used as a simple console-based calculator.
+
+This GNU version of bc contains several extensions beyond traditional
+bc implementations and the POSIX draft standard.
+
+This package also includes dc, another arbitrary precision calculator.
+Dc is a reverse-polish desk calculator which supports unlimited
+precision arithmetic. It also allows you to define and call macros.
diff -r e96a55223a66 -r 97e7ad0477ae math/bc/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/bc/Makefile Mon Sep 29 23:57:38 2003 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/09/29 23:57:38 reed Exp $
+
+DISTNAME= bc-1.06
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_GNU:=bc/}
+
+MAINTAINER= reed%reedmedia.net@localhost
+HOMEPAGE= http://www.gnu.org/software/bc/bc.html
+COMMENT= Arbitrary precision calculator language
+# this provides dc(1) which is essential for pkgsrc installations
+
+USE_BUILDLINK2= YES
+GNU_CONFIGURE= YES
+INFO_FILES= bc.info dc.info
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !exists(/usr/bin/flex)
+BUILD_DEPENDS+= flex-[0-9]*:../../devel/flex
+.endif
+
+.include "../../devel/ncurses/buildlink2.mk"
+.include "../../devel/readline/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e96a55223a66 -r 97e7ad0477ae math/bc/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/bc/PLIST Mon Sep 29 23:57:38 2003 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/09/29 23:57:38 reed Exp $
+bin/bc
+bin/dc
+man/man1/bc.1
+man/man1/dc.1
+info/bc.info
+info/dc.info
diff -r e96a55223a66 -r 97e7ad0477ae math/bc/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/bc/distinfo Mon Sep 29 23:57:38 2003 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/09/29 23:57:38 reed Exp $
+
+SHA1 (bc-1.06.tar.gz) = c8f258a7355b40a485007c40865480349c157292
+Size (bc-1.06.tar.gz) = 278926 bytes
+SHA1 (patch-aa) = 338b4e1232f4d10dee35183dec16b8da62f0cabf
+SHA1 (patch-ab) = 7f51824877c1573c737c6fa5695d1f2443e3b335
diff -r e96a55223a66 -r 97e7ad0477ae math/bc/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/bc/patches/patch-aa Mon Sep 29 23:57:38 2003 +0000
@@ -0,0 +1,69 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/09/29 23:57:38 reed Exp $
+
+--- doc/bc.info.orig Fri Nov 15 18:09:27 2002
++++ doc/bc.info Fri Nov 15 18:16:06 2002
+@@ -1,4 +1,9 @@
+-This is bc.info, produced by makeinfo version 4.0 from bc.texi.
++This is bc.info, produced by makeinfo version 4.2 from bc.texi.
++
++INFO-DIR-SECTION Mathematics
++START-INFO-DIR-ENTRY
++* bc: (bc). An arbitrary precision calculator language.
++END-INFO-DIR-ENTRY
+
+
+ File: bc.info, Node: Top, Next: Introduction, Prev: (dir), Up: (dir)
+@@ -971,29 +976,29 @@
+
+
+ Tag Table:
+-Node: Top65
+-Node: Introduction354
+-Node: Description515
+-Node: Command Line Options1969
+-Node: Basic Elements2533
+-Node: Numbers2704
+-Node: Variables3467
+-Node: Comments4576
+-Node: Expressions5317
+-Node: About Expressions and Special Variables5597
+-Node: Basic Expressions7333
+-Node: Relational Expressions10274
+-Node: Boolean Expressions11279
+-Node: Precedence11834
+-Node: Special Expressions12994
+-Node: Statements14376
+-Node: Pseudo Statements21001
+-Node: Functions21649
+-Node: Math Library Functions25703
+-Node: Examples26413
+-Node: Readline and Libedit Options28431
+-Node: GNU `bc' and Other Implementations29458
+-Node: Limits34700
+-Node: Environment Variables35953
++Node: Top203
++Node: Introduction492
++Node: Description653
++Node: Command Line Options2107
++Node: Basic Elements2671
++Node: Numbers2842
++Node: Variables3605
++Node: Comments4714
++Node: Expressions5455
++Node: About Expressions and Special Variables5735
++Node: Basic Expressions7471
++Node: Relational Expressions10412
++Node: Boolean Expressions11417
++Node: Precedence11972
++Node: Special Expressions13132
++Node: Statements14514
++Node: Pseudo Statements21139
++Node: Functions21787
++Node: Math Library Functions25841
++Node: Examples26551
++Node: Readline and Libedit Options28569
++Node: GNU `bc' and Other Implementations29596
++Node: Limits34838
++Node: Environment Variables36091
+
+ End Tag Table
diff -r e96a55223a66 -r 97e7ad0477ae math/bc/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/bc/patches/patch-ab Mon Sep 29 23:57:38 2003 +0000
@@ -0,0 +1,45 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/09/29 23:57:39 reed Exp $
+
+--- doc/dc.info.orig Fri Nov 15 18:09:53 2002
++++ doc/dc.info Fri Nov 15 18:16:01 2002
+@@ -1,4 +1,9 @@
+-This is dc.info, produced by makeinfo version 4.0 from dc.texi.
++This is dc.info, produced by makeinfo version 4.2 from dc.texi.
++
++INFO-DIR-SECTION Mathematics
++START-INFO-DIR-ENTRY
++* dc: (dc). A reverse-polish arbitrary precision calculator.
++END-INFO-DIR-ENTRY
+
+ START-INFO-DIR-ENTRY
+ * dc: (dc). Arbritrary precision RPN "Desktop Calculator".
+@@ -425,17 +430,17 @@
+
+
+ Tag Table:
+-Node: Top1084
+-Node: Introduction1663
+-Node: Invocation2880
+-Node: Printing Commands3724
+-Node: Arithmetic4902
+-Node: Stack Control7815
+-Node: Registers8228
+-Node: Parameters9154
+-Node: Strings10415
+-Node: Status Inquiry13385
+-Node: Miscellaneous13942
+-Node: Reporting bugs14909
++Node: Top1227
++Node: Introduction1806
++Node: Invocation3023
++Node: Printing Commands3867
++Node: Arithmetic5045
++Node: Stack Control7958
++Node: Registers8371
++Node: Parameters9297
++Node: Strings10558
++Node: Status Inquiry13528
++Node: Miscellaneous14085
++Node: Reporting bugs15052
+
+ End Tag Table
Home |
Main Index |
Thread Index |
Old Index