Update to bcal-2.3

Changelog: https://github.com/jarun/bcal/releases/tag/v2.3
This commit is contained in:
bcallah 2021-10-30 04:02:05 +00:00
parent 685b434426
commit 0faf43f50f
3 changed files with 9 additions and 9 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.8 2021/02/23 19:39:29 sthen Exp $
# $OpenBSD: Makefile,v 1.9 2021/10/30 04:02:05 bcallah Exp $
# Upstream says 64-bit only.
# https://github.com/jarun/bcal/issues/4
ONLY_FOR_ARCHS = ${LP64_ARCHS}
V = 2.2
V = 2.3
COMMENT = storage and general-purpose calculator (Byte CALculator)
DISTNAME = bcal-v${V}
PKGNAME = bcal-${V}
@ -31,7 +31,7 @@ TEST_DEPENDS = devel/py-test${MODPY_FLAVOR}
USE_GMAKE = Yes
WRKDIST = ${WRKDIR}/bcal
WRKDIST = ${WRKDIR}/${PKGNAME}
# Better install routine
do-install:

View File

@ -1,2 +1,2 @@
SHA256 (bcal-v2.2.tar.gz) = FBu8XKF3XHfyOXN2LbhngmxPBGot4WiGufLJKBFKdfI=
SIZE (bcal-v2.2.tar.gz) = 39526
SHA256 (bcal-v2.3.tar.gz) = 4pWwIuUYcHm0zFMQRH2lx4fLa63oaTbavzSkK7hTSLo=
SIZE (bcal-v2.3.tar.gz) = 36111

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-bcal_1,v 1.3 2020/01/10 15:03:23 bcallah Exp $
$OpenBSD: patch-bcal_1,v 1.4 2021/10/30 04:02:05 bcallah Exp $
We use our own bc(1)
@ -7,10 +7,10 @@ Index: bcal.1
+++ bcal.1
@@ -7,7 +7,7 @@ bcal \- Storage expression calculator.
.B bcal
(Byte CALculator) is a command-line utility to help with numerical calculations and expressions involving data storage units, addressing, base conversion etc.
(Byte CALculator) is a command-line utility to help with numerical calculations and expressions involving binary prefixes, SI/IEC conversion, byte addressing, base conversion, LBA/CHS calculation etc.
.PP
-It invokes GNU \fBbc\fR for non-storage expressions. Alternatively, it can also invoke \fBcalc\fR (\fIhttp://www.isthe.com/chongo/tech/comp/calc/\fR) which works better with expressions involving multiple bases. To use \fBcalc\fR:
+It invokes \fBbc\fR for non-storage expressions. Alternatively, it can also invoke \fBcalc\fR (\fIhttp://www.isthe.com/chongo/tech/comp/calc/\fR) which works better with expressions involving multiple bases. To use \fBcalc\fR:
-It invokes GNU \fBbc\fR for non-storage expressions. Alternatively, it can also invoke \fBcalc\fR (\fIhttp://www.isthe.com/chongo/tech/comp/calc/\fR). To use \fBcalc\fR:
+It invokes \fBbc\fR for non-storage expressions. Alternatively, it can also invoke \fBcalc\fR (\fIhttp://www.isthe.com/chongo/tech/comp/calc/\fR). To use \fBcalc\fR:
.PP
.EX
.B export BCAL_USE_CALC=1