1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

Add port math/nyh-hoc:

Hoc, the High Order Calculator, is an interpreted language for
floating-point calculations. Its most basic use is as a powerful and
convenient calculator, interactively evaluating expressions such as
1+2*sin(0.7). But hoc is no ordinary calculator: It also lets you
assign values to variables, define your own functions, and use loops,
conditionals, and everything else you'd expect in a programming
language.

Hoc was developed by Brian Kernighan and Rob Pike, and introduced in
their 1984 book The Unix Programming Environment. This version has been
extended and improved by Nadav Y. Har'El.

WWW: http://nadav.harel.org.il/homepage/hoc/
Author: Nadav Y. Har'El <nadav@harel.org.il>
This commit is contained in:
Andrew Pantyukhin 2007-08-13 20:20:40 +00:00
parent bd3da77ed8
commit ba4fc9043e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197599
4 changed files with 39 additions and 0 deletions

View File

@ -167,6 +167,7 @@
SUBDIR += nsc2ke
SUBDIR += ntl
SUBDIR += numdiff
SUBDIR += nyh-hoc
SUBDIR += ocaml-ocamlgraph
SUBDIR += octave
SUBDIR += octave-devel

21
math/nyh-hoc/Makefile Normal file
View File

@ -0,0 +1,21 @@
# New ports collection makefile for: hoc
# Date created: 14 August 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= hoc
PORTVERSION= 9.1.2
CATEGORIES= math
MASTER_SITES= http://nadav.harel.org.il/homepage/hoc/ CENKES
PKGNAMEPREFIX= nyh-
EXTRACT_SUFX= .tgz
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= High Order Calculator
GNU_CONFIGURE= yes
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.mk>

3
math/nyh-hoc/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (hoc-9.1.2.tgz) = bbd4a953d71f08d0071f9df93adcbd5e
SHA256 (hoc-9.1.2.tgz) = bba14f7cc28218eeb1f5d506df6b0868df438cd12ba86805ec366ccaed854416
SIZE (hoc-9.1.2.tgz) = 60819

14
math/nyh-hoc/pkg-descr Normal file
View File

@ -0,0 +1,14 @@
Hoc, the High Order Calculator, is an interpreted language for
floating-point calculations. Its most basic use is as a powerful and
convenient calculator, interactively evaluating expressions such as
1+2*sin(0.7). But hoc is no ordinary calculator: It also lets you
assign values to variables, define your own functions, and use loops,
conditionals, and everything else you'd expect in a programming
language.
Hoc was developed by Brian Kernighan and Rob Pike, and introduced in
their 1984 book The Unix Programming Environment. This version has been
extended and improved by Nadav Y. Har'El.
WWW: http://nadav.harel.org.il/homepage/hoc/
Author: Nadav Y. Har'El <nadav@harel.org.il>