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/
This commit is contained in:
Gabor Kovesdan 2010-02-03 12:47:33 +00:00
parent 33e59342ef
commit 39342e3318
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249168
4 changed files with 47 additions and 0 deletions

View file

@ -99,6 +99,7 @@
SUBDIR += gmm++ SUBDIR += gmm++
SUBDIR += gmp SUBDIR += gmp
SUBDIR += gmp-ecm SUBDIR += gmp-ecm
SUBDIR += gnubc
SUBDIR += gnumeric SUBDIR += gnumeric
SUBDIR += gnuplot SUBDIR += gnuplot
SUBDIR += gnuplot+ SUBDIR += gnuplot+

38
math/gnubc/Makefile Normal file
View file

@ -0,0 +1,38 @@
# New ports collection makefile for: bc
# Date created: 21 Januar 2010
# Whom: Gabor Kovesdan <gabor@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= bc
PORTVERSION= 1.06
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX= gnu
MAINTAINER= gabor@FreeBSD.org
COMMENT= The GNU bc/dc calculator
GNU_CONFIGURE= yes
MAN1= bc.1 \
dc.1
INFO= bc \
dc
PLIST_FILES= bin/bc \
bin/dc
PORTEXAMPLES= ckbook.b \
pi.b \
primes.b \
twins.b
post-install:
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/Examples/${f} ${EXAMPLESDIR}
.endfor
.endif
.include <bsd.port.mk>

3
math/gnubc/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (bc-1.06.tar.gz) = d44b5dddebd8a7a7309aea6c36fda117
SHA256 (bc-1.06.tar.gz) = 4ef6d9f17c3c0d92d8798e35666175ecd3d8efac4009d6457b5c99cea72c0e33
SIZE (bc-1.06.tar.gz) = 278926

5
math/gnubc/pkg-descr Normal file
View file

@ -0,0 +1,5 @@
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/