mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Update to version 2.0.0
This version uses an optimized internal representation of the operands which allows to speed up some operations by a significant factor (multiplication of large numbers is now about 40 times as fast). This version has been tested against a number of other bc implementations and has been found to significantly outperform them all (incl. GNU bc). There are no functional changes in this version, it is just much faster ... Approved by: antoine (implicit)
This commit is contained in:
parent
79057e3ff5
commit
5de1f253c1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=503284
@ -1,8 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= bc
|
||||
PORTVERSION= 1.2.8
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.0.0
|
||||
CATEGORIES= math
|
||||
PKGNAMEPREFIX= gh-
|
||||
|
||||
@ -27,8 +26,8 @@ do-install:
|
||||
${LN} ${STAGEDIR}${PREFIX}/bin/bc ${STAGEDIR}${PREFIX}/bin/dc
|
||||
${INSTALL_MAN} ${WRKSRC}/manuals/bc.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/manuals/dc.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
${WRKSRC}/locale_install.sh ${PREFIX}/share/nls/%L/%N.cat ${PORTNAME} ${STAGEDIR}
|
||||
${INSTALL} -ls ${STAGEDIR}${PREFIX}/share/nls/en_US.US-ASCII/bc.cat ${STAGEDIR}${PREFIX}/share/nls/C/
|
||||
${WRKSRC}/locale_install.sh ${STAGEDIR}${PREFIX}/share/nls/%L/%N.cat ${PORTNAME} #${STAGEDIR}
|
||||
${LN} ${STAGEDIR}${PREFIX}/share/nls/en_US.US-ASCII/bc.cat ${STAGEDIR}${PREFIX}/share/nls/C/
|
||||
|
||||
do-test:
|
||||
${MAKE} -C ${WRKSRC} test
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1555752237
|
||||
SHA256 (gavinhoward-bc-1.2.8_GH0.tar.gz) = c9704782e3768851855c7b78c50677cc975da9aafd82934e7a0e1373b4202c71
|
||||
SIZE (gavinhoward-bc-1.2.8_GH0.tar.gz) = 183925
|
||||
TIMESTAMP = 1558816804
|
||||
SHA256 (gavinhoward-bc-2.0.0_GH0.tar.gz) = cbe74064ccdb40158155309445fc3d17bf4e1072652ad526115be3c6cb190e83
|
||||
SIZE (gavinhoward-bc-2.0.0_GH0.tar.gz) = 223516
|
||||
|
Loading…
Reference in New Issue
Block a user