aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/Makefile1
-rw-r--r--math/mathomatic/Makefile34
-rw-r--r--math/mathomatic/distinfo2
-rw-r--r--math/mathomatic/files/patch-makefile11
-rw-r--r--math/mathomatic/pkg-descr11
5 files changed, 59 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 699330ba4aa2..8fb63fb291b7 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -105,6 +105,7 @@
SUBDIR += linux-dislin
SUBDIR += linux-relview
SUBDIR += lp_solve
+ SUBDIR += mathomatic
SUBDIR += matrix
SUBDIR += maxima
SUBDIR += mbasecalc
diff --git a/math/mathomatic/Makefile b/math/mathomatic/Makefile
new file mode 100644
index 000000000000..d5bb1bf4e26c
--- /dev/null
+++ b/math/mathomatic/Makefile
@@ -0,0 +1,34 @@
+# ex: ts=8 sts=0 noet
+# New ports collection makefile for: Mathomatic
+# Date created: Tue Mar 22 10:05:25 CET 2005
+# Whom: Roman Neuhauser <neuhauser@sigpipe.cz>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mathomatic
+PORTVERSION= 12.1.e
+CATEGORIES= math
+MASTER_SITES= http://www.panix.com/~gesslein/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= neuhauser@sigpipe.cz
+COMMENT= Highly portable, general purpose CAS (Computer Algebra System)
+
+DISTVERSION= ${PORTVERSION:C/\.([[:alpha:]]+)/\1/}
+WRKSRC= ${WRKDIR}/${DISTNAME}
+MAKEFILE= makefile
+MAKE_ARGS+= -DREADLINE prefix=${PREFIX} docdir='$$(prefix)/share/doc'
+USE_REINPLACE= yes
+
+PLIST_FILES= bin/mathomatic
+PORTDOCS= am.htm ctips.html index.html manual.htm notes.htm
+
+MAN1= mathomatic.1
+
+pre-configure:
+.if !defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -e "s|#%%PORTDOCS%%| |" ${WRKSRC}/makefile
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/mathomatic/distinfo b/math/mathomatic/distinfo
new file mode 100644
index 000000000000..a62591fb737e
--- /dev/null
+++ b/math/mathomatic/distinfo
@@ -0,0 +1,2 @@
+MD5 (mathomatic-12.1e.tgz) = 8c891061a6b754a28e714c1ed30ebab8
+SIZE (mathomatic-12.1e.tgz) = 134782
diff --git a/math/mathomatic/files/patch-makefile b/math/mathomatic/files/patch-makefile
new file mode 100644
index 000000000000..0a7e86d94997
--- /dev/null
+++ b/math/mathomatic/files/patch-makefile
@@ -0,0 +1,11 @@
+--- makefile.orig Mon Mar 7 03:40:08 2005
++++ makefile Mon Apr 11 22:16:09 2005
+@@ -42,7 +42,7 @@
+ install -d $(docdir)/mathomatic
+ install -m 0755 $(AOUT) $(bindir)
+ install -m 0644 doc/mathomatic.1 $(mandir)/man1
+- install -m 0644 doc/*.htm doc/*.html $(docdir)/mathomatic
++#%%PORTDOCS%%install -m 0644 doc/*.htm doc/*.html $(docdir)/mathomatic
+ @echo Install completed.
+
+ clean:
diff --git a/math/mathomatic/pkg-descr b/math/mathomatic/pkg-descr
new file mode 100644
index 000000000000..95164a1589a0
--- /dev/null
+++ b/math/mathomatic/pkg-descr
@@ -0,0 +1,11 @@
+Mathomatic is a highly portable, general purpose CAS (Computer Algebra System)
+published under the GNU LGPL license. Mathomatic can:
+
+ * Solve, simplify, and compare algebraic equations,
+ * Perform calculus transformations,
+ * Help with finite series analysis,
+ * Generate the sensitivity formula for one or more variables in an equation,
+ * Perform complex number and polynomial arithmetic,
+ * Generate efficient C or Java code from equations.
+
+WWW: http://www.mathomatic.com/