aboutsummaryrefslogtreecommitdiff
path: root/math/hexcalc
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-08-01 05:24:51 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-08-01 05:24:51 +0000
commitf32b4a646d57ce481b4dd7fe5833576a69aa79d5 (patch)
tree6c82ba3db072751cdb149734b14210803e71bfa2 /math/hexcalc
parent5accad06a79f54cba34f76f2319d8456664b9780 (diff)
downloadports-f32b4a646d57ce481b4dd7fe5833576a69aa79d5.tar.gz
ports-f32b4a646d57ce481b4dd7fe5833576a69aa79d5.zip
Notes
Diffstat (limited to 'math/hexcalc')
-rw-r--r--math/hexcalc/Makefile27
-rw-r--r--math/hexcalc/distinfo2
-rw-r--r--math/hexcalc/files/patch-hexcalc.c51
-rw-r--r--math/hexcalc/pkg-descr2
4 files changed, 0 insertions, 82 deletions
diff --git a/math/hexcalc/Makefile b/math/hexcalc/Makefile
deleted file mode 100644
index 23bf79635544..000000000000
--- a/math/hexcalc/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-# New ports collection makefile for: hexcalc
-# Date created: 5 December 1994
-# Whom: asami
-#
-# $FreeBSD$
-#
-
-PORTNAME= hexcalc
-PORTVERSION= 1.11
-PORTREVISION= 3
-CATEGORIES= math
-MASTER_SITES= ftp://aixpdslib.seas.ucla.edu/pub/hexcalc/RISC/3.2/src/
-DISTNAME= ${PORTNAME}
-EXTRACT_SUFX= ..tar.Z
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A multi-radix calculator for x11
-
-DEPRECATED= Look like an abandonware, no more public distifles
-EXPIRATION_DATE= 2011-08-01
-
-USE_IMAKE= yes
-USE_XORG= ice sm x11 xaw xext xmu xt
-MAN1= hexcalc.1
-PLIST_FILES= bin/hexcalc
-
-.include <bsd.port.mk>
diff --git a/math/hexcalc/distinfo b/math/hexcalc/distinfo
deleted file mode 100644
index 6eb4ee032385..000000000000
--- a/math/hexcalc/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (hexcalc..tar.Z) = cd9aed4c21b1dc4ea217fa78ec8558320ae93e944179055e5d184050b189631f
-SIZE (hexcalc..tar.Z) = 25129
diff --git a/math/hexcalc/files/patch-hexcalc.c b/math/hexcalc/files/patch-hexcalc.c
deleted file mode 100644
index c071859b659f..000000000000
--- a/math/hexcalc/files/patch-hexcalc.c
+++ /dev/null
@@ -1,51 +0,0 @@
---- hexcalc.c.orig 2011-05-13 08:28:24.000000000 +0800
-+++ hexcalc.c 2011-05-13 08:32:09.000000000 +0800
-@@ -37,6 +37,7 @@
- #endif
-
- #include <stdio.h>
-+#include <stdlib.h>
- #include <ctype.h>
- #include <X11/IntrinsicP.h>
- #include <X11/StringDefs.h>
-@@ -509,14 +510,16 @@
-
- switch(topOp) {
- case '+' :
-- ac = PopArg() + PopArg();
-+ temp = PopArg();
-+ ac = PopArg() + temp;
- break;
- case '-' :
- temp = PopArg();
- ac = PopArg() - temp;
- break;
- case '*' :
-- ac = PopArg() * PopArg();
-+ temp = PopArg();
-+ ac = temp * PopArg();
- break;
- case '/' :
- temp = PopArg();
-@@ -528,15 +531,18 @@
- break;
-
- case '|' :
-- ac = PopArg() | PopArg();
-+ temp = PopArg();
-+ ac = temp | PopArg();
- break;
-
- case '&' :
-- ac = PopArg() & PopArg();
-+ temp = PopArg();
-+ ac = temp & PopArg();
- break;
-
- case '^' :
-- ac = PopArg() ^ PopArg();
-+ temp = PopArg();
-+ ac = temp ^ PopArg();
- break;
-
- case '<' :
diff --git a/math/hexcalc/pkg-descr b/math/hexcalc/pkg-descr
deleted file mode 100644
index 0404ad27e89e..000000000000
--- a/math/hexcalc/pkg-descr
+++ /dev/null
@@ -1,2 +0,0 @@
-hexcalc is a multi-radix calucaltor for integers. It understands
-decimal, hexadecimal, octal and binary numbers.