diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-06-18 07:29:21 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-06-18 07:29:21 +0000 |
commit | 88d145004ce1b6b0c4ec9e3d452a2cdb0f6d3fc2 (patch) | |
tree | 89f381be9a35832fd3470c779f5b8868739ea641 /math/gnubc | |
parent | 8e41b33ef0ef9951fef07674aaea15342eaca3de (diff) | |
download | ports-88d145004ce1b6b0c4ec9e3d452a2cdb0f6d3fc2.tar.gz ports-88d145004ce1b6b0c4ec9e3d452a2cdb0f6d3fc2.zip |
math/gnubc: Update 1.06 -> 1.07.1
Port changes:
* Change to DISTVERSION
* Fix LICENSE, it's actually GPLv3
* Add LICENSE_FILE
* Add USES=makeinfo
* Order USExx section
* Remove patches - not needed any more
* Change WWW to https
Reported by: portscout
Notes
Notes:
svn path=/head/; revision=472673
Diffstat (limited to 'math/gnubc')
-rw-r--r-- | math/gnubc/Makefile | 8 | ||||
-rw-r--r-- | math/gnubc/distinfo | 5 | ||||
-rw-r--r-- | math/gnubc/files/patch-bc__bc.y | 10 | ||||
-rw-r--r-- | math/gnubc/files/patch-bc__load.c | 11 | ||||
-rw-r--r-- | math/gnubc/files/patch-bc__main.c | 12 | ||||
-rw-r--r-- | math/gnubc/pkg-descr | 2 |
6 files changed, 8 insertions, 40 deletions
diff --git a/math/gnubc/Makefile b/math/gnubc/Makefile index 7e92f9703154..6196d09c05c1 100644 --- a/math/gnubc/Makefile +++ b/math/gnubc/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= bc -PORTVERSION= 1.06 -PORTREVISION= 3 +DISTVERSION= 1.07.1 CATEGORIES= math MASTER_SITES= GNU PKGNAMEPREFIX= gnu @@ -11,10 +10,11 @@ PKGNAMEPREFIX= gnu MAINTAINER= ports@FreeBSD.org COMMENT= GNU bc/dc calculator -LICENSE= GPLv2 +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING +USES= libedit makeinfo GNU_CONFIGURE= yes -USES= libedit CONFIGURE_ARGS+= --with-libedit INFO= bc \ dc diff --git a/math/gnubc/distinfo b/math/gnubc/distinfo index 8e7581a8dff4..bf320dc35c15 100644 --- a/math/gnubc/distinfo +++ b/math/gnubc/distinfo @@ -1,2 +1,3 @@ -SHA256 (bc-1.06.tar.gz) = 4ef6d9f17c3c0d92d8798e35666175ecd3d8efac4009d6457b5c99cea72c0e33 -SIZE (bc-1.06.tar.gz) = 278926 +TIMESTAMP = 1529306440 +SHA256 (bc-1.07.1.tar.gz) = 62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a +SIZE (bc-1.07.1.tar.gz) = 419850 diff --git a/math/gnubc/files/patch-bc__bc.y b/math/gnubc/files/patch-bc__bc.y deleted file mode 100644 index e7c0efdd8901..000000000000 --- a/math/gnubc/files/patch-bc__bc.y +++ /dev/null @@ -1,10 +0,0 @@ ---- bc/bc.y.orig Sun Oct 24 10:07:01 2004 -+++ bc/bc.y Sun Oct 24 10:07:20 2004 -@@ -424,7 +424,6 @@ - generate (genstr); - $$ = 0; - } -- ; - | expression AND - { - warn("&& operator"); diff --git a/math/gnubc/files/patch-bc__load.c b/math/gnubc/files/patch-bc__load.c deleted file mode 100644 index 8cafa3d5cc99..000000000000 --- a/math/gnubc/files/patch-bc__load.c +++ /dev/null @@ -1,11 +0,0 @@ ---- bc/load.c~ 2000-09-13 11:22:38.000000000 -0700 -+++ bc/load.c 2005-08-02 11:06:00.000000000 -0700 -@@ -156,7 +156,7 @@ load_code (code) - long label_no; - long vaf_name; /* variable, array or function number. */ - long func; -- program_counter save_adr; -+ static program_counter save_adr; /* saved across calls to load_code */ - - /* Initialize. */ - str = code; diff --git a/math/gnubc/files/patch-bc__main.c b/math/gnubc/files/patch-bc__main.c deleted file mode 100644 index 3936f89d59df..000000000000 --- a/math/gnubc/files/patch-bc__main.c +++ /dev/null @@ -1,12 +0,0 @@ ---- bc/main.c.orig 2006-12-01 14:30:52.000000000 -0800 -+++ bc/main.c 2006-12-01 14:31:13.000000000 -0800 -@@ -127,6 +127,9 @@ - warn_not_std = TRUE; - break; - -+ case 0: -+ break; -+ - default: - usage(argv[0]); - exit (1); diff --git a/math/gnubc/pkg-descr b/math/gnubc/pkg-descr index 12f6fafd3b69..22c183dba265 100644 --- a/math/gnubc/pkg-descr +++ b/math/gnubc/pkg-descr @@ -2,4 +2,4 @@ bc is an arbitrary precision numeric processing language. Syntax is similar to C but differs in many substantial areas. It supports interactive execution of statements. The bc utility is included in the POSIX 1003.1-2008 standard. -WWW: http://www.gnu.org/software/bc/ +WWW: https://www.gnu.org/software/bc/ |