diff options
author | tnn <tnn@pkgsrc.org> | 2007-04-29 20:01:45 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2007-04-29 20:01:45 +0000 |
commit | 41307ad1a8b64d6374f0ffbea2baca10696956fd (patch) | |
tree | b9a5a2fc032ad78d9404b000dc07b8f428ef2ead /math | |
parent | 9c600da349de02ac4afc24cbe1b5bed519716886 (diff) | |
download | pkgsrc-41307ad1a8b64d6374f0ffbea2baca10696956fd.tar.gz |
Add orpie 1.4.3.
-
Orpie is a fullscreen RPN calculator for the console.
Its operation is similar to that of modern HP calculators, but data entry has
been optimized for efficiency on a PC keyboard. Features include extensive
scientific calculator functionality, command completion, and a visible
interactive stack.
Diffstat (limited to 'math')
-rw-r--r-- | math/orpie/DESCR | 5 | ||||
-rw-r--r-- | math/orpie/Makefile | 25 | ||||
-rw-r--r-- | math/orpie/PLIST | 8 | ||||
-rw-r--r-- | math/orpie/distinfo | 8 | ||||
-rw-r--r-- | math/orpie/patches/patch-aa | 12 | ||||
-rw-r--r-- | math/orpie/patches/patch-ab | 13 | ||||
-rw-r--r-- | math/orpie/patches/patch-ac | 20 |
7 files changed, 91 insertions, 0 deletions
diff --git a/math/orpie/DESCR b/math/orpie/DESCR new file mode 100644 index 00000000000..771fcec71d8 --- /dev/null +++ b/math/orpie/DESCR @@ -0,0 +1,5 @@ +Orpie is a fullscreen RPN calculator for the console. +Its operation is similar to that of modern HP calculators, but data entry has +been optimized for efficiency on a PC keyboard. Features include extensive +scientific calculator functionality, command completion, and a visible +interactive stack. diff --git a/math/orpie/Makefile b/math/orpie/Makefile new file mode 100644 index 00000000000..b3f659c12a5 --- /dev/null +++ b/math/orpie/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/04/29 20:01:45 tnn Exp $ +# + +DISTNAME= orpie-1.4.3 +PKGREVISION= 1 +CATEGORIES= math +MASTER_SITES= http://www.eecs.umich.edu/~pelzlpj/orpie/ + +MAINTAINER= tnn@NetBSD.org +HOMEPAGE= http://www.eecs.umich.edu/~pelzlpj/orpie/ +COMMENT= Curses-based reverse polish notation (RPN) calculator + +GNU_CONFIGURE= YES +USE_TOOLS+= gmake + +CONFIGURE_ARGS+= --with-ncurses + +INCOMPAT_CURSES+= NetBSD-*-* +CONF_FILES+= ${PREFIX}/share/examples/orpie/orpierc \ + ${PKG_SYSCONFDIR}/orpierc + +.include "../../devel/ncurses/buildlink3.mk" +.include "../../lang/ocaml/buildlink3.mk" +.include "../../math/gsl/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/math/orpie/PLIST b/math/orpie/PLIST new file mode 100644 index 00000000000..bf7aa9bb0f0 --- /dev/null +++ b/math/orpie/PLIST @@ -0,0 +1,8 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/04/29 20:01:45 tnn Exp $ +bin/orpie +bin/orpie-curses-keys +man/man1/orpie-curses-keys.1 +man/man1/orpie.1 +man/man5/orpierc.5 +share/examples/orpie/orpierc +@dirrm share/examples/orpie diff --git a/math/orpie/distinfo b/math/orpie/distinfo new file mode 100644 index 00000000000..35f91506b47 --- /dev/null +++ b/math/orpie/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/04/29 20:01:45 tnn Exp $ + +SHA1 (orpie-1.4.3.tar.gz) = 068fd06467b20dea54c230933e2ee391cebe2616 +RMD160 (orpie-1.4.3.tar.gz) = 81a1cf45ea761dd67ca3eae75fa8ff670c2c6989 +Size (orpie-1.4.3.tar.gz) = 356721 bytes +SHA1 (patch-aa) = 2c2afd826a8efcc31bd015188ed9ca028fdaf199 +SHA1 (patch-ab) = 32912430fe15b5125f5ae1cbd6131d8d16cd2645 +SHA1 (patch-ac) = 13c3059b24997214af57f12da90b6cf03c5877ee diff --git a/math/orpie/patches/patch-aa b/math/orpie/patches/patch-aa new file mode 100644 index 00000000000..571baa96909 --- /dev/null +++ b/math/orpie/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2007/04/29 20:01:45 tnn Exp $ + +--- curses/ml_curses.c.orig 2005-01-30 05:52:05.000000000 +0100 ++++ curses/ml_curses.c +@@ -170,7 +170,6 @@ static void winch_handler(int n) + } + + #include "functions.c" +-#include "caml/signals.h" + + /* The following routines were rewritten 07/14/04 by Paul Pelzl + * to allow other threads to run while getch() is blocking */ diff --git a/math/orpie/patches/patch-ab b/math/orpie/patches/patch-ab new file mode 100644 index 00000000000..50c7f8714d9 --- /dev/null +++ b/math/orpie/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2007/04/29 20:01:45 tnn Exp $ + +--- gsl/mlgsl_error.c.orig 2007-04-24 16:06:49.000000000 +0200 ++++ gsl/mlgsl_error.c +@@ -43,7 +43,7 @@ void ml_gsl_raise_exn(int gsl_errno) + exn_arg = alloc_small(2, 0); + Store_field(exn_arg, 0, Val_int(conv_err_code(gsl_errno))); + Store_field(exn_arg, 1, copy_string(ml_gsl_exn_msg)); +- CAMLreturn(raise_with_arg(*ml_gsl_exn, exn_arg)); ++ raise_with_arg(*ml_gsl_exn, exn_arg); + } + + static void ml_gsl_error_handler(const char *reason, const char *file, diff --git a/math/orpie/patches/patch-ac b/math/orpie/patches/patch-ac new file mode 100644 index 00000000000..e2c55c7acd8 --- /dev/null +++ b/math/orpie/patches/patch-ac @@ -0,0 +1,20 @@ +$NetBSD: patch-ac,v 1.1.1.1 2007/04/29 20:01:45 tnn Exp $ + +--- Makefile.in.orig 2005-10-30 03:50:43.000000000 +0100 ++++ Makefile.in +@@ -148,13 +148,8 @@ version.ml: Makefile + + install-indep: + mkdir -p $(BINDIR) +- if test "$(prefix)" = "/usr"; then \ +- mkdir -p $(DESTDIR)/etc; \ +- install -m 644 orpierc $(DESTDIR)/etc; \ +- else \ +- mkdir -p $(DESTDIR)/$(prefix)/etc; \ +- install -m 644 orpierc $(DESTDIR)/$(prefix)/etc; \ +- fi ++ mkdir -p $(DESTDIR)/$(prefix)/share/examples/orpie; \ ++ install -m 644 orpierc $(DESTDIR)/$(prefix)/share/examples/orpie; \ + mkdir -p $(MANDIR)/man1 + mkdir -p $(MANDIR)/man5 + install -m 644 doc/orpie.1 $(MANDIR)/man1/orpie.1 |