Import math/gbc, the GNU version of the arbitrary precision calculators bc
and dc. Original submission by Ivan Ivanov, who takes MAINTAINER -- thanks! ok bentley@ 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 includes GNU 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.
This commit is contained in:
parent
cb6ba676e4
commit
9b2d382921
22
math/gbc/Makefile
Normal file
22
math/gbc/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2018/08/21 02:04:04 bcallah Exp $
|
||||
|
||||
COMMENT = GNU version of the arbitrary precision calculators bc and dc
|
||||
DISTNAME = bc-1.07.1
|
||||
PKGNAME = g${DISTNAME}
|
||||
CATEGORIES = math
|
||||
|
||||
HOMEPAGE = https://www.gnu.org/software/bc/
|
||||
MAINTAINER = Ivan Ivanov <rambiusparkisanius@gmail.com>
|
||||
|
||||
# GPLv3+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB += c curses edit
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_GNU:=bc/}
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ARGS = --program-prefix=g \
|
||||
--with-libedit
|
||||
|
||||
.include <bsd.port.mk>
|
2
math/gbc/distinfo
Normal file
2
math/gbc/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (bc-1.07.1.tar.gz) = Yq38qJsKHAFkws3KWcohDB1Ew//Eba+ZMc9JQmZMsCo=
|
||||
SIZE (bc-1.07.1.tar.gz) = 419850
|
12
math/gbc/pkg/DESCR
Normal file
12
math/gbc/pkg/DESCR
Normal file
@ -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 includes GNU 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.
|
7
math/gbc/pkg/PLIST
Normal file
7
math/gbc/pkg/PLIST
Normal file
@ -0,0 +1,7 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2018/08/21 02:04:04 bcallah Exp $
|
||||
@bin bin/gbc
|
||||
@bin bin/gdc
|
||||
@info info/bc.info
|
||||
@info info/dc.info
|
||||
@man man/man1/gbc.1
|
||||
@man man/man1/gdc.1
|
Loading…
x
Reference in New Issue
Block a user