hexcalc is a multi-radix calculator for integers.
Works with hexadecimal, decimal, octal and binary numbers. MAINTAINER= Peter Valchev <pvalchev@toxiclinux.org>
This commit is contained in:
parent
eb6d638bf0
commit
c06aefb11e
26
math/hexcalc/Makefile
Normal file
26
math/hexcalc/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2001/01/12 15:59:05 reinhard Exp $
|
||||
|
||||
DISTNAME= hexcalc
|
||||
CATEGORIES= math
|
||||
EXTRACT_SUFX= ..tar.Z
|
||||
NEED_VERSION= 1.351
|
||||
|
||||
MASTER_SITES= ftp://aixpdslib.seas.ucla.edu/pub/hexcalc/RISC/3.2/src/ \
|
||||
http://toxiclinux.org/binary
|
||||
|
||||
MAINTAINER= Peter Valchev <pvalchev@toxiclinux.org>
|
||||
|
||||
USE_X11= Yes
|
||||
|
||||
FAKE_FLAGS= PREFIX="${WRKINST}${PREFIX}"
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/hexcalc ${PREFIX}/bin/hexcalc
|
||||
${INSTALL_MAN} ${WRKSRC}/hexcalc.man ${PREFIX}/man/man1/hexcalc.1
|
||||
|
||||
.include <bsd.port.mk>
|
3
math/hexcalc/files/md5
Normal file
3
math/hexcalc/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (hexcalc..tar.Z) = 16b8334957c4631312eb97b2496ca7d4
|
||||
RMD160 (hexcalc..tar.Z) = 283f8fc6456ffed026665a9b0828896ede9ff8ec
|
||||
SHA1 (hexcalc..tar.Z) = bce2e0d23d9412020c60dde40b2aeb93e8bf8887
|
47
math/hexcalc/patches/patch-Makefile
Normal file
47
math/hexcalc/patches/patch-Makefile
Normal file
@ -0,0 +1,47 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2001/01/12 15:59:05 reinhard Exp $
|
||||
--- Makefile.orig Tue Aug 22 16:48:35 1995
|
||||
+++ Makefile Tue Jan 9 21:24:40 2001
|
||||
@@ -53,7 +53,7 @@
|
||||
COMPRESS = compress
|
||||
CPP = /usr/lpp/X11/Xamples/util/cpp/cpp $(STD_CPP_DEFINES)
|
||||
PREPROCESSCMD = cc -E $(STD_CPP_DEFINES)
|
||||
- INSTALL = /usr/ucb/install
|
||||
+ INSTALL = /usr/bin/install
|
||||
LD = ld
|
||||
LINT = lint
|
||||
LINTLIBFLAG = -o
|
||||
@@ -69,9 +69,9 @@
|
||||
TBL = tbl
|
||||
EQN = eqn
|
||||
STD_INCLUDES =
|
||||
- STD_CPP_DEFINES = -DAIXV3 -D_NO_PROTO
|
||||
- STD_DEFINES = -DAIXV3 -D_NO_PROTO
|
||||
- EXTRA_LOAD_FLAGS = -bnodelcsect
|
||||
+ STD_CPP_DEFINES =
|
||||
+ STD_DEFINES =
|
||||
+ EXTRA_LOAD_FLAGS =
|
||||
|
||||
EXTRA_INCLUDES =
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
INSTDATFLAGS = -m 0444
|
||||
INSTKMEMFLAGS = -m 4755
|
||||
|
||||
- PROJECTROOT = /usr/local/X11R5
|
||||
+ PROJECTROOT = /usr/X11R6
|
||||
|
||||
TOP_INCLUDES = -I$(INCROOT)
|
||||
|
||||
@@ -133,10 +133,10 @@
|
||||
# X Window System make variables; this need to be coordinated with rules
|
||||
|
||||
PATHSEP = /
|
||||
- USRLIBDIR = /usr/local/X11R5/lib
|
||||
+ USRLIBDIR = /usr/X11R6/lib
|
||||
|
||||
BINDIR = /usr/local/bin
|
||||
- INCROOT = /usr/local/X11R5/include
|
||||
+ INCROOT = /usr/X11R6/include
|
||||
BUILDINCROOT = $(TOP)
|
||||
BUILDINCDIR = $(BUILDINCROOT)/X11
|
||||
BUILDINCTOP = ..
|
31
math/hexcalc/patches/patch-hexcalc_man
Normal file
31
math/hexcalc/patches/patch-hexcalc_man
Normal file
@ -0,0 +1,31 @@
|
||||
$OpenBSD: patch-hexcalc_man,v 1.1.1.1 2001/01/12 15:59:05 reinhard Exp $
|
||||
--- hexcalc.man.orig Wed Nov 22 21:25:28 1989
|
||||
+++ hexcalc.man Tue Jan 9 21:14:33 2001
|
||||
@@ -11,14 +11,14 @@
|
||||
.if n .sp 1
|
||||
.if t .sp .5
|
||||
..
|
||||
-.TH heXcalc 1 "1 October 1989" "X Version 11"
|
||||
+.TH hexcalc 1 "1 October 1989" "X Version 11"
|
||||
.SH NAME
|
||||
-heXcalc \- programmers calculator for X
|
||||
+hexcalc \- programmers calculator for X
|
||||
.SH SYNOPSIS
|
||||
-.B heXcalc
|
||||
+.B hexcalc
|
||||
[standard X options]
|
||||
.SH DESCRIPTION
|
||||
-.I heXcalc
|
||||
+.I hexcalc
|
||||
is a mutli-radix calculator that offers the standard C integer operations.
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
@@ -129,7 +129,7 @@ binds the return key to act as though th
|
||||
|
||||
.PP
|
||||
.SH RESOURCES
|
||||
-heXcalc consists of a a vPaned widget ("wholePane") with two
|
||||
+hexcalc consists of a a vPaned widget ("wholePane") with two
|
||||
panes. The top pane is a label widget ("display"). The bottom half
|
||||
is a from widget ("buttonForm") holding the command widgets that
|
||||
make up the calculator buttons. The buttons are named in such that
|
1
math/hexcalc/pkg/COMMENT
Normal file
1
math/hexcalc/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
multi-radix calculator for x11
|
2
math/hexcalc/pkg/DESCR
Normal file
2
math/hexcalc/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
This is a multi-radix calculator for integers.
|
||||
Works with hexadecimal, decimal, octal and binary numbers.
|
3
math/hexcalc/pkg/PLIST
Normal file
3
math/hexcalc/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/01/12 15:59:05 reinhard Exp $
|
||||
bin/hexcalc
|
||||
man/man1/hexcalc.1
|
Loading…
Reference in New Issue
Block a user