diff options
author | erich <erich@FreeBSD.org> | 1996-12-12 03:46:31 +0000 |
---|---|---|
committer | erich <erich@FreeBSD.org> | 1996-12-12 03:46:31 +0000 |
commit | 2537d61ca507086799fc2f7e43f4ec3641da8f05 (patch) | |
tree | c41676b21df9742339288c1831b2e071a1c78a5c /math | |
parent | e74ed0f3fc58d411fbd2f8ee9343238e9cff071d (diff) | |
download | FreeBSD-ports-2537d61ca507086799fc2f7e43f4ec3641da8f05.zip FreeBSD-ports-2537d61ca507086799fc2f7e43f4ec3641da8f05.tar.gz |
new port of calctool, another X11 calculator,
closes ports/2157
Submitted by: Nick Sayer nsayer@quack.kfu.com
Diffstat (limited to 'math')
-rw-r--r-- | math/calctool/Makefile | 18 | ||||
-rw-r--r-- | math/calctool/distinfo | 1 | ||||
-rw-r--r-- | math/calctool/files/patch-aa | 22 | ||||
-rw-r--r-- | math/calctool/files/patch-ab | 48 | ||||
-rw-r--r-- | math/calctool/pkg-comment | 1 | ||||
-rw-r--r-- | math/calctool/pkg-descr | 23 | ||||
-rw-r--r-- | math/calctool/pkg-plist | 4 |
7 files changed, 117 insertions, 0 deletions
diff --git a/math/calctool/Makefile b/math/calctool/Makefile new file mode 100644 index 0000000..121ba33 --- /dev/null +++ b/math/calctool/Makefile @@ -0,0 +1,18 @@ +# New ports collection makefile for: calctool-2.4pl13 +# Version required: 1.14.5 +# Date created: 2 Dec 1996 +# Whom: nsayer@quack.kfu.com +# +# $Id$ +# + +DISTNAME= calctool-2.4pl13 +PKGNAME= calctool-2.4.13 +CATEGORIES= math +MASTER_SITES= ftp://ftp.kfu.com/pub/ + +MAINTAINER= nsayer@quack.kfu.com +USE_X11= yes +MAN1= calctool.1 + +.include <bsd.port.mk> diff --git a/math/calctool/distinfo b/math/calctool/distinfo new file mode 100644 index 0000000..7daac1e --- /dev/null +++ b/math/calctool/distinfo @@ -0,0 +1 @@ +MD5 (calctool-2.4pl13.tar.gz) = 630ec2787d4e99f7c000dd038b592fbb diff --git a/math/calctool/files/patch-aa b/math/calctool/files/patch-aa new file mode 100644 index 0000000..2815917 --- /dev/null +++ b/math/calctool/files/patch-aa @@ -0,0 +1,22 @@ +*** tty.c.orig Wed Dec 4 12:43:55 1996 +--- tty.c Wed Dec 4 12:45:33 1996 +*************** +*** 1,5 **** +- /*LINTLIBRARY*/ +- + /* @(#)tty.c 1.14 90/02/06 + * + * These are the dumb tty dependent graphics routines used by calctool. +--- 1,3 ---- +*************** +*** 21,26 **** +--- 19,26 ---- + #include <sys/types.h> + #include <sys/ioctl.h> + #include <sys/time.h> ++ #include <sys/termios.h> ++ #include <sys/ioctl_compat.h> + #include "calctool.h" + #include "color.h" + #include "extern.h" + diff --git a/math/calctool/files/patch-ab b/math/calctool/files/patch-ab new file mode 100644 index 0000000..d80496a --- /dev/null +++ b/math/calctool/files/patch-ab @@ -0,0 +1,48 @@ +--- Makefile.orig Sat May 29 11:35:43 1993 ++++ Makefile Wed Dec 11 21:32:54 1996 +@@ -116,8 +116,8 @@ + # library files are not in a standard place, then the following + # two lines should be uncommented, and set appropriately. + # +-#X11INCDIR = -I$(OPENWINHOME)/include +-#X11LIBDIR = -L$(OPENWINHOME)/lib ++X11INCDIR = -I/usr/X11R6/include ++X11LIBDIR = -L/usr/X11R6/lib + #------------------------------------------------------------------------- + # If you are compiling the XView version, then the following two lines + # should be uncommented. +@@ -130,10 +130,10 @@ + # Default locations where calctool files will be installed. + # You might wish to alter these values. + # +-BINDIR = /usr/local/bin +-LIBDIR = /usr/local/lib +-MANDIR = /usr/man/man$(MANSECT) +-MANSECT = l ++BINDIR = ${PREFIX}/bin ++LIBDIR = ${PREFIX}/lib/X11 ++MANDIR = ${PREFIX}/man/man$(MANSECT) ++MANSECT = 1 + # + # Compilation flags and standard macro definitions. + # +@@ -144,8 +144,9 @@ + # + #========================================================================= + +-BINARIES = mgr_calctool ps_calctool sv_calctool \ +- tty_calctool xcalctool xv_calctool ++#BINARIES = mgr_calctool ps_calctool sv_calctool \ ++# tty_calctool xcalctool xv_calctool ++BINARIES = x11 + + CC = cc + +@@ -233,7 +234,6 @@ + ld -o libcalctool.so.1.1 -assert pure-text $? + + install: +- install -c -m 644 $(LIBNAME) $(LIBDIR) + install -s -m 751 calctool $(BINDIR) + install -c -m 644 calctool.help $(LIBDIR) + install -c -m 644 calctool.ps $(LIBDIR) diff --git a/math/calctool/pkg-comment b/math/calctool/pkg-comment new file mode 100644 index 0000000..8aaebe8 --- /dev/null +++ b/math/calctool/pkg-comment @@ -0,0 +1 @@ +a multi-GUI (text, X, xview, NeWS, sunview) calculator program diff --git a/math/calctool/pkg-descr b/math/calctool/pkg-descr new file mode 100644 index 0000000..281d41c --- /dev/null +++ b/math/calctool/pkg-descr @@ -0,0 +1,23 @@ +From the README: + +calctool - README - November 1989. + +This is V2.4 of a simple desktop calculator. +This version works under SunView, XView, X11, NeWS, MGR and for +dumb tty terminals. + +It is almost visually identical to V2.1 which was released in August +1988, but internally most of the code has been reworked to include a +level of graphics abstraction, to make porting this code to other +window systems a trivial task. + +V2.4 includes display in scientific notation, color icons, a correct +factorial function and fixes for a few minor bugs. It introduces the +new versions for XView, X11, MGR and dumb terminals. New functions +include hyperbolic and inverse hyperbolic trigonometrical functions, +register exchange, constants and the input of numbers in exponential +notation. You can also have a .calctoolrc file in your home directory, +which can define upto ten new values for constants, and ten function +definitions which are used in conjunction with the FUN key. + +(port maintained by nsayer@quack.kfu.com) diff --git a/math/calctool/pkg-plist b/math/calctool/pkg-plist new file mode 100644 index 0000000..ce016a4 --- /dev/null +++ b/math/calctool/pkg-plist @@ -0,0 +1,4 @@ +bin/calctool +lib/X11/calctool.help +lib/X11/calctool.ps +man/man1/calctool.1.gz |