Import mathomatic 12.3.3.

Submitted by Gerardo Santana <gerardo.santana@gmail.com>.

Mathomatic is a small, portable, general purpose CAS (Computer
Algebra System) written entirely in C. This is a console mode
application that compiles and runs under any operating system with
a C compiler.
This commit is contained in:
naddy 2005-05-27 06:04:11 +00:00
parent 20151a61bd
commit 8ddd7ba043
6 changed files with 77 additions and 0 deletions

35
math/mathomatic/Makefile Normal file
View File

@ -0,0 +1,35 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/05/27 06:04:11 naddy Exp $
COMMENT= "small, portable, general purpose computer algebra system"
DISTNAME= mathomatic-12.3.3
CATEGORIES= math
HOMEPAGE= http://mathomatic.orgserve.de/math/
MAINTAINER= Gerardo Santana Gomez Garrido <santana@openbsd.org.mx>
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m ncurses readline
MASTER_SITES= http://www.panix.com/~gesslein/
EXTRACT_SUFX= .tgz
MAKE_ENV= READLINE=1
MAKE_FILE= makefile
REGRESS_TARGET= test
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/mathomatic ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/doc/mathomatic.1 ${PREFIX}/man/man1/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mathomatic
${INSTALL_DATA} ${WRKSRC}/changes.txt ${WRKSRC}/doc/*.htm \
${PREFIX}/share/doc/mathomatic/
.include <bsd.port.mk>

4
math/mathomatic/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (mathomatic-12.3.3.tgz) = 08fe86615fad0708f2aabf0e82ad2c31
RMD160 (mathomatic-12.3.3.tgz) = 8d0f2188619bc19b733db063cfab9c43d5fc24fe
SHA1 (mathomatic-12.3.3.tgz) = 6e8bf150f56c83071e2dd307207c97ad5a7a72cf
SIZE (mathomatic-12.3.3.tgz) = 126565

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-globals_c,v 1.1.1.1 2005/05/27 06:04:11 naddy Exp $
--- globals.c.orig Thu May 26 22:47:30 2005
+++ globals.c Thu May 26 22:47:43 2005
@@ -37,7 +37,7 @@ int finance_option; /* for displaying
int debug_level; /* current debug level */
#endif
int domain_check;
-int color_flag = true; /* true for color mode */
+int color_flag = false; /* true for color mode */
int html_flag; /* true for HTML mode */
int partial_flag; /* true for partial unfactoring of algebraic fractions */
int symb_flag; /* true for "simplify symbolic" */

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-makefile,v 1.1.1.1 2005/05/27 06:04:11 naddy Exp $
--- makefile.orig Thu May 26 22:54:54 2005
+++ makefile Thu May 26 22:55:12 2005
@@ -1,8 +1,8 @@
# Makefile for compiling Mathomatic under UNIX, GNU/Linux, and MacOS-X.
VERSION = `cat VERSION`
-CFLAGS += -O -DUNIX -DVERSION=\"$(VERSION)\"
-LDFLAGS += -s
+CFLAGS += -DUNIX -DVERSION=\"$(VERSION)\"
+LDFLAGS +=
LIBS += -lm
CFLAGS += $(READLINE:1=-DREADLINE)

View File

@ -0,0 +1,4 @@
Mathomatic is a small, portable, general purpose CAS (Computer Algebra System)
written entirely in C. It is totally free software (GNU LGPL license). This is
a console mode application that compiles and runs under any operating system
with a C compiler.

View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/05/27 06:04:11 naddy Exp $
bin/mathomatic
@man man/man1/mathomatic.1
share/doc/mathomatic/
share/doc/mathomatic/am.htm
share/doc/mathomatic/changes.txt
share/doc/mathomatic/manual.htm
share/doc/mathomatic/notes.htm