diff options
author | gabor <gabor@FreeBSD.org> | 2010-02-03 20:47:33 +0800 |
---|---|---|
committer | gabor <gabor@FreeBSD.org> | 2010-02-03 20:47:33 +0800 |
commit | 786455d20b16df49969a45233291e915fa78a7fa (patch) | |
tree | ae7ac69d6c0b58a52087d17a385d04bf13f9bcda /math | |
parent | 25cad49608577761ec520625aeffd188300a1d0a (diff) | |
download | freebsd-ports-gnome-786455d20b16df49969a45233291e915fa78a7fa.tar.gz freebsd-ports-gnome-786455d20b16df49969a45233291e915fa78a7fa.tar.zst freebsd-ports-gnome-786455d20b16df49969a45233291e915fa78a7fa.zip |
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/
Diffstat (limited to 'math')
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/gnubc/Makefile | 38 | ||||
-rw-r--r-- | math/gnubc/distinfo | 3 | ||||
-rw-r--r-- | math/gnubc/pkg-descr | 5 |
4 files changed, 47 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index 44a256a2dc6e..15586fd36e5b 100644 --- a/math/Makefile +++ b/math/Makefile @@ -99,6 +99,7 @@ SUBDIR += gmm++ SUBDIR += gmp SUBDIR += gmp-ecm + SUBDIR += gnubc SUBDIR += gnumeric SUBDIR += gnuplot SUBDIR += gnuplot+ diff --git a/math/gnubc/Makefile b/math/gnubc/Makefile new file mode 100644 index 000000000000..9efd7f3b39af --- /dev/null +++ b/math/gnubc/Makefile @@ -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> diff --git a/math/gnubc/distinfo b/math/gnubc/distinfo new file mode 100644 index 000000000000..f7594e6e6158 --- /dev/null +++ b/math/gnubc/distinfo @@ -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 diff --git a/math/gnubc/pkg-descr b/math/gnubc/pkg-descr new file mode 100644 index 000000000000..12f6fafd3b69 --- /dev/null +++ b/math/gnubc/pkg-descr @@ -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/ |