mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
math/gh-bc: update to version 6.2.4
This update changes the URL of the upstream repository in the documentation to: https://git.gavinhoward.com/gavin/bc
This commit is contained in:
parent
b8bce0b01a
commit
002fa656dc
@ -1,12 +1,12 @@
|
||||
PORTNAME= bc
|
||||
PORTVERSION= 6.2.2
|
||||
PORTVERSION= 6.2.4
|
||||
CATEGORIES= math lang
|
||||
MASTER_SITES= https://github.com/gavinhoward/bc/releases/download/${PORTVERSION}/
|
||||
PKGNAMEPREFIX= gh-
|
||||
|
||||
MAINTAINER= se@FreeBSD.org
|
||||
COMMENT= GNU compatible bc/dc calculator
|
||||
WWW= https://git.yzena.com/gavin/bc
|
||||
WWW= https://git.gavinhoward.com/gavin/bc
|
||||
|
||||
LICENSE= BSD2CLAUSE MIT
|
||||
LICENSE_COMB= multi
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1674331624
|
||||
SHA256 (bc-6.2.2.tar.xz) = 5b6fe23b720ab898c9c9c9cbdc83e124791b0b575005ec91a63175d3b69b90f2
|
||||
SIZE (bc-6.2.2.tar.xz) = 456672
|
||||
TIMESTAMP = 1675634839
|
||||
SHA256 (bc-6.2.4.tar.xz) = 2b9f712e1e02473ca0e01979dd026e818dafc169a3cf63887d91bdaafeb812b5
|
||||
SIZE (bc-6.2.4.tar.xz) = 457272
|
||||
|
10
math/gh-bc/files/patch-gen_strgen.sh
Normal file
10
math/gh-bc/files/patch-gen_strgen.sh
Normal file
@ -0,0 +1,10 @@
|
||||
--- gen/strgen.sh.orig 2023-02-02 08:17:32 UTC
|
||||
+++ gen/strgen.sh
|
||||
@@ -62,7 +62,6 @@ remove_tabs="$7"
|
||||
label="$5"
|
||||
define="$6"
|
||||
remove_tabs="$7"
|
||||
-check_bool_arg "$remove_tabs"
|
||||
|
||||
tmpinput=$(mktemp -t "${input##*/}_XXXXXX")
|
||||
|
@ -1,14 +1,14 @@
|
||||
--- scripts/locale_install.sh.orig 2021-06-28 18:10:45 UTC
|
||||
--- scripts/locale_install.sh.orig 2023-02-02 08:17:33 UTC
|
||||
+++ scripts/locale_install.sh
|
||||
@@ -243,6 +243,7 @@ for file in $locales_dir/*.msg; do
|
||||
@@ -246,6 +246,7 @@ for file in $locales_dir/*.msg; do
|
||||
# Generate the proper location for the cat file.
|
||||
loc=$(gen_nlspath "$destdir/$nlspath" "$locale" "$main_exec")
|
||||
|
||||
+ echo gencatfile "$loc" "$file"
|
||||
gencatfile "$loc" "$file"
|
||||
|
||||
done
|
||||
@@ -282,8 +283,6 @@ for file in $locales_dir/*.msg; do
|
||||
printf 'done\n'
|
||||
@@ -289,8 +290,6 @@ for file in $locales_dir/*.msg; do
|
||||
linkdir=$(dirname "$file")
|
||||
locale=$(basename "$link" .msg)
|
||||
linksrc=$(gen_nlspath "$nlspath" "$locale" "$main_exec")
|
||||
@ -17,13 +17,13 @@
|
||||
|
||||
# If the target file doesn't exist (because it's for a locale that is
|
||||
# not installed), generate it anyway. It's easier this way.
|
||||
@@ -293,7 +292,8 @@ for file in $locales_dir/*.msg; do
|
||||
@@ -300,7 +299,8 @@ for file in $locales_dir/*.msg; do
|
||||
|
||||
# Finally, symlink to the install of the generated cat file that
|
||||
# corresponds to the correct msg file.
|
||||
- ln -fs "$rel" "$loc"
|
||||
+ echo ln "$linksrc" "$loc"
|
||||
+ ln "$linksrc" "$loc"
|
||||
fi
|
||||
|
||||
done
|
||||
printf 'done\n'
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user