summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authoris <is@pkgsrc.org>2009-09-18 14:09:26 +0000
committeris <is@pkgsrc.org>2009-09-18 14:09:26 +0000
commitb2ad5cf6724a5caeab0a99796228a8425c334858 (patch)
tree0fe5d4eb7c5f15298d726698f07dfed314e20f73 /math
parent5d19911a3f8c8fe73be4497c0e8d89ae7472babb (diff)
downloadpkgsrc-b2ad5cf6724a5caeab0a99796228a8425c334858.tar.gz
ordCalc is a program for interactively dealing with ordinals (generalized
integers).
Diffstat (limited to 'math')
-rw-r--r--math/ordCalc/DESCR9
-rw-r--r--math/ordCalc/Makefile40
-rw-r--r--math/ordCalc/PLIST5
-rw-r--r--math/ordCalc/distinfo7
-rw-r--r--math/ordCalc/patches/patch-aa13
-rw-r--r--math/ordCalc/patches/patch-ab13
6 files changed, 87 insertions, 0 deletions
diff --git a/math/ordCalc/DESCR b/math/ordCalc/DESCR
new file mode 100644
index 00000000000..e8722f282bf
--- /dev/null
+++ b/math/ordCalc/DESCR
@@ -0,0 +1,9 @@
+ OrdCalc
+ An interactive tool to understand the recursive ordinals
+
+'ord' is a program for understanding the recursive ordinals.
+It has a command line interpreter resembling command line calculators.
+
+See 'ordCalc.pdf' for a brief description of how to use the interpreter.
+See 'ordinal.pdf' for a description of the structure of the program and the
+theory on which it is based.
diff --git a/math/ordCalc/Makefile b/math/ordCalc/Makefile
new file mode 100644
index 00000000000..743774ee558
--- /dev/null
+++ b/math/ordCalc/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/09/18 14:09:26 is Exp $
+#
+
+ORDCALCVER= 0.1
+PKGNAME= ordCalc-${ORDCALCVER}
+DISTNAME= ordCalc_${ORDCALCVER}
+CATEGORIES= math
+MASTER_SITES= http://mtnmath.com/ord/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= is@NetBSD.org
+HOMEPAGE= http://mtnmath.com/ord/
+COMMENT= Ordinal arithmetic calculator and research tool
+LICENSE= gnu-gpl-v2
+
+USE_LANGUAGES= c++
+USE_TOOLS+= bash bison flex gmake
+USE_LIBTOOL= yes
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+BUILD_TARGET= EXE
+
+DOCS= ${DESTDIR}${PREFIX}/share/doc/ordCalc
+
+AUTO_MKDIRS=yes
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/ord ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/ordCalc.pdf ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/ordinal.pdf ${DOCS}
+
+
+
+.include "../../devel/gmp/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/ordCalc/PLIST b/math/ordCalc/PLIST
new file mode 100644
index 00000000000..f1b9a123b78
--- /dev/null
+++ b/math/ordCalc/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/09/18 14:09:26 is Exp $
+bin/ord
+share/doc/ordCalc/README
+share/doc/ordCalc/ordCalc.pdf
+share/doc/ordCalc/ordinal.pdf
diff --git a/math/ordCalc/distinfo b/math/ordCalc/distinfo
new file mode 100644
index 00000000000..7eaadb5cf5c
--- /dev/null
+++ b/math/ordCalc/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/09/18 14:09:26 is Exp $
+
+SHA1 (ordCalc_0.1.tar.bz2) = a9a2978830b948b7f12ee247593ba94775a87672
+RMD160 (ordCalc_0.1.tar.bz2) = 556b6b94e98705fed9287d2c35a7e640b9c0274b
+Size (ordCalc_0.1.tar.bz2) = 516210 bytes
+SHA1 (patch-aa) = 903e1b6255f2247f407b7b16ff46d96470236dac
+SHA1 (patch-ab) = 0adfeaa3a1018d3197a26480e9a736e7d9da962d
diff --git a/math/ordCalc/patches/patch-aa b/math/ordCalc/patches/patch-aa
new file mode 100644
index 00000000000..7153b02eb4d
--- /dev/null
+++ b/math/ordCalc/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/09/18 14:09:26 is Exp $
+
+--- src/Makefile.orig 2009-09-16 11:00:03.000000000 -0700
++++ src/Makefile
+@@ -21,7 +21,7 @@ SCRIPTS = update.sh srTest.sh cmdIntfcTe
+ ALL_FILES = ${SRC} ${HDRS} ${SCRIPTS} Makefile
+
+ ord : ${OBJS}
+- g++ -g ${OBJS} -lgmp -lgmpxx -lreadline -lncurses \
++ ${LIBTOOL} --mode=link ${CXX} -g ${OBJS} -lgmp -lgmpxx -lreadline -lncurses \
+ -o ord
+
+ DOC : ord
diff --git a/math/ordCalc/patches/patch-ab b/math/ordCalc/patches/patch-ab
new file mode 100644
index 00000000000..0c2254e066f
--- /dev/null
+++ b/math/ordCalc/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/09/18 14:09:26 is Exp $
+
+--- Makefile.orig 2009-09-14 21:59:55.000000000 -0700
++++ Makefile
+@@ -4,7 +4,7 @@ TEST :
+ cd src ; make TEST
+
+ EXE :
+- cd src : make ord
++ cd src ; make ord
+
+ ALL :
+ cd src ; make ALL