ports/70054: New port: math/orpie: A fullscreen RPN calculator for the console (successor to math/rpc)
Dylan Alex Simon
dylan at dylex.net
Fri Aug 6 00:00:50 UTC 2004
>Number: 70054
>Category: ports
>Synopsis: New port: math/orpie: A fullscreen RPN calculator for the console (successor to math/rpc)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 06 00:00:49 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Dylan Simon
>Release: FreeBSD 5.2.1-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD druid.rainfinity.prv 5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #0: Tue Mar 23 14:44:41 PST 2004 root at druid.rainfinity.prv:/usr/obj/usr/src/sys/QUARK i386
>Description:
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.
Orpie is the successor of math/rpc by the same author; it has been completely
rewritten in Ocaml, and offers a number of features that were not available in
the older program.
WWW: http://www.eecs.umich.edu/~pelzlpj/orpie/
>How-To-Repeat:
>Fix:
--- orpie.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# orpie
# orpie/Makefile
# orpie/pkg-descr
# orpie/pkg-plist
# orpie/distinfo
# orpie/files
# orpie/files/patch-Makefile
# orpie/files/patch-aa
#
echo c - orpie
mkdir -p orpie > /dev/null 2>&1
echo x - orpie/Makefile
sed 's/^X//' >orpie/Makefile << 'END-of-orpie/Makefile'
X# New ports collection makefile for: orpie
X# Date created: 4 August 2004
X# Whom: Dylan Simon <dylan at dylex.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME= orpie
XPORTVERSION= 1.3.1
XCATEGORIES+= math
XMASTER_SITES= http://www.eecs.umich.edu/~pelzlpj/orpie/
X
XMAINTAINER= dylan at dylex.net
XCOMMENT= A fullscreen RPN calculator for the console
X
XBUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
XLIB_DEPENDS= gsl.6:${PORTSDIR}/math/gsl
X
XGNU_CONFIGURE= yes
XUSE_GMAKE= yes
XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
X LDFLAGS="-L${LOCALBASE}/lib"
X
XMAN1= orpie.1 orpie-curses-keys.1
XMAN5= orpierc.5
X
X.include <bsd.port.mk>
END-of-orpie/Makefile
echo x - orpie/pkg-descr
sed 's/^X//' >orpie/pkg-descr << 'END-of-orpie/pkg-descr'
XOrpie is a fullscreen RPN calculator for the console. Its operation is similar
Xto that of modern HP calculators, but data entry has been optimized for
Xefficiency on a PC keyboard. Features include extensive scientific calculator
Xfunctionality, command completion, and a visible interactive stack.
X
XOrpie is the successor of math/rpc by the same author; it has been completely
Xrewritten in Ocaml, and offers a number of features that were not available in
Xthe older program.
X
XWWW: http://www.eecs.umich.edu/~pelzlpj/orpie/
END-of-orpie/pkg-descr
echo x - orpie/pkg-plist
sed 's/^X//' >orpie/pkg-plist << 'END-of-orpie/pkg-plist'
Xbin/orpie
Xbin/orpie-curses-keys
Xetc/orpierc
END-of-orpie/pkg-plist
echo x - orpie/distinfo
sed 's/^X//' >orpie/distinfo << 'END-of-orpie/distinfo'
XMD5 (orpie-1.3.1.tar.gz) = d8736e97113d15ff690e6d09f35c710e
XSIZE (orpie-1.3.1.tar.gz) = 274790
END-of-orpie/distinfo
echo c - orpie/files
mkdir -p orpie/files > /dev/null 2>&1
echo x - orpie/files/patch-Makefile
sed 's/^X//' >orpie/files/patch-Makefile << 'END-of-orpie/files/patch-Makefile'
X--- Makefile.in.orig Thu Jul 22 11:33:41 2004
X+++ Makefile.in Thu Aug 5 11:49:03 2004
X@@ -41,8 +41,8 @@
X INCLUDES = -I ./curses -I ./gsl
X BFLAGS = -pp camlp4o -g $(INCLUDES) -thread
X OFLAGS = -pp camlp4o $(INCLUDES) -thread
X-BLFLAGS = -custom -cclib '$(CURSES_LIB) $(GSL_LIB) -lm'
X-OLFLAGS = -cclib '$(CURSES_LIB) $(GSL_LIB) -lm'
X+BLFLAGS = -custom -cclib '@LDFLAGS@ $(CURSES_LIB) $(GSL_LIB) -lm'
X+OLFLAGS = -cclib '@LDFLAGS@ $(CURSES_LIB) $(GSL_LIB) -lm'
X DEPFLAGS = -pp camlp4o
X
X # main target
X@@ -144,21 +144,21 @@
X mkdir -p $(DESTDIR)/$(prefix)/etc; \
X install -m 644 orpierc $(DESTDIR)/$(prefix)/etc; \
X fi
X- install -m 644 -D doc/orpie.1 $(MANDIR)/man1/orpie.1
X- install -m 644 -D doc/orpie-curses-keys.1 $(MANDIR)/man1/orpie-curses-keys.1
X- install -m 644 -D doc/orpierc.5 $(MANDIR)/man5/orpierc.5
X+ install -m 644 doc/orpie.1 $(MANDIR)/man1/orpie.1
X+ install -m 644 doc/orpie-curses-keys.1 $(MANDIR)/man1/orpie-curses-keys.1
X+ install -m 644 doc/orpierc.5 $(MANDIR)/man5/orpierc.5
X
X install: install-indep
X- install -m 755 -D $(NAME).$(OCAMLBEST) $(BINDIR)/$(NAME)$(EXE)
X- install -m 755 -D $(NAME2).$(OCAMLBEST) $(BINDIR)/$(NAME2)$(EXE)
X+ install -m 755 $(NAME).$(OCAMLBEST) $(BINDIR)/$(NAME)$(EXE)
X+ install -m 755 $(NAME2).$(OCAMLBEST) $(BINDIR)/$(NAME2)$(EXE)
X
X install-byte: install-indep
X- install -m 755 -D $(NAME).byte $(BINDIR)/$(NAME)$(EXE)
X- install -m 755 -D $(NAME2).byte $(BINDIR)/$(NAME2)$(EXE)
X+ install -m 755 $(NAME).byte $(BINDIR)/$(NAME)$(EXE)
X+ install -m 755 $(NAME2).byte $(BINDIR)/$(NAME2)$(EXE)
X
X install-opt: install-indep
X- install -m 755 -D $(NAME).opt $(BINDIR)/$(NAME)$(EXE)
X- install -m 755 -D $(NAME2).opt $(BINDIR)/$(NAME2)$(EXE)
X+ install -m 755 $(NAME).opt $(BINDIR)/$(NAME)$(EXE)
X+ install -m 755 $(NAME2).opt $(BINDIR)/$(NAME2)$(EXE)
X
X uninstall:
X rm -f $(BINDIR)/$(NAME)$(EXE)
X@@ -185,7 +185,7 @@
X GSL_INCLUDES = -I ./gsl
X GSL_BFLAGS = -g $(GSL_INCLUDES) -thread
X GSL_OFLAGS = $(GSL_INCLUDES) -thread
X-GSL_CFLAGS = -Wall -fPIC -DPIC
X+GSL_CFLAGS = -Wall -fPIC -DPIC @CPPFLAGS@
X
X gsl/%.cmi : gsl/%.mli
X $(OCAMLC) -c $(GSL_BFLAGS) $<
END-of-orpie/files/patch-Makefile
echo x - orpie/files/patch-aa
sed 's/^X//' >orpie/files/patch-aa << 'END-of-orpie/files/patch-aa'
X--- gsl/wrappers.h.orig Thu Jul 22 11:33:38 2004
X+++ gsl/wrappers.h Thu Aug 5 11:10:31 2004
X@@ -70,7 +70,7 @@
X #define CONCAT3(a,b,c) CONCAT3x(a,b,c)
X
X #ifndef DONT_USE_ALLOCA
X-#include <malloc.h>
X+#include <stdlib.h>
X #define LOCALARRAY(type, x, len) type * x = ( type *) alloca(sizeof( type ) * (len))
X #else
X #define LOCALARRAY(type, x, len) type x [(len)]
END-of-orpie/files/patch-aa
exit
--- orpie.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list