From 2a6b85739de7b0726e0724f4f120fb80799ec0c9 Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Sat, 10 Mar 2001 19:46:38 +0000 Subject: Add mtrxmath 0.9.3, a small tool for matrix mathemetics. PR: 24202 Submitted by: George Reid --- math/mtrxmath/Makefile | 21 +++++++++++++++++++++ math/mtrxmath/distinfo | 1 + math/mtrxmath/files/patch-Makefile | 17 +++++++++++++++++ math/mtrxmath/files/patch-mtrxmath.c | 11 +++++++++++ math/mtrxmath/files/patch-mtrxmath.h | 10 ++++++++++ math/mtrxmath/files/patch-mult.c | 10 ++++++++++ math/mtrxmath/pkg-comment | 1 + math/mtrxmath/pkg-descr | 7 +++++++ math/mtrxmath/pkg-plist | 2 ++ 9 files changed, 80 insertions(+) create mode 100644 math/mtrxmath/Makefile create mode 100644 math/mtrxmath/distinfo create mode 100644 math/mtrxmath/files/patch-Makefile create mode 100644 math/mtrxmath/files/patch-mtrxmath.c create mode 100644 math/mtrxmath/files/patch-mtrxmath.h create mode 100644 math/mtrxmath/files/patch-mult.c create mode 100644 math/mtrxmath/pkg-comment create mode 100644 math/mtrxmath/pkg-descr create mode 100644 math/mtrxmath/pkg-plist (limited to 'math/mtrxmath') diff --git a/math/mtrxmath/Makefile b/math/mtrxmath/Makefile new file mode 100644 index 000000000000..e93a6f9b79e9 --- /dev/null +++ b/math/mtrxmath/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: mtrxmath +# Date created: 09 January 2001 +# Whom: George Reid +# +# $FreeBSD$ +# + +PORTNAME= mtrxmath +PORTVERSION= 0.9.3 +CATEGORIES= math +MASTER_SITES= http://www.angelfire.com/linux/linuxjeff/mtrxmath/files/ + +MAINTAINER= greid@ukug.uk.freebsd.org + +LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/mtrxmath ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/README.mtrxmath + +.include diff --git a/math/mtrxmath/distinfo b/math/mtrxmath/distinfo new file mode 100644 index 000000000000..d3e4c3f18cbf --- /dev/null +++ b/math/mtrxmath/distinfo @@ -0,0 +1 @@ +MD5 (mtrxmath-0.9.3.tar.gz) = 3cece8368ef32e8fe39a6b7774e2bc14 diff --git a/math/mtrxmath/files/patch-Makefile b/math/mtrxmath/files/patch-Makefile new file mode 100644 index 000000000000..4e9502de0bf9 --- /dev/null +++ b/math/mtrxmath/files/patch-Makefile @@ -0,0 +1,17 @@ +--- Makefile.orig Sun Jan 7 23:29:11 2001 ++++ Makefile Tue Jan 9 20:43:18 2001 +@@ -1,4 +1,4 @@ +-CFLAGS=-Wall -g ++CFLAGS+=-Wall -g -I${PREFIX}/include + + SRCS=add.c mtrxmath.c mult.c sub.c inverse.c + +@@ -8,7 +8,7 @@ + all: ${EXE} + + ${EXE}: ${OBJS} +- ${CC} -o $@ ${OBJS} ++ ${CC} -o $@ ${OBJS} -L${PREFIX}/lib -lgnugetopt + + clean: + rm -f ${OBJS} ${EXE} *.orig diff --git a/math/mtrxmath/files/patch-mtrxmath.c b/math/mtrxmath/files/patch-mtrxmath.c new file mode 100644 index 000000000000..d3533f877408 --- /dev/null +++ b/math/mtrxmath/files/patch-mtrxmath.c @@ -0,0 +1,11 @@ +--- mtrxmath.c.orig Tue Jan 9 20:44:12 2001 ++++ mtrxmath.c Tue Jan 9 20:44:00 2001 +@@ -102,7 +102,7 @@ + exit(0); + } + if (cmdopt==INVERT) { +- final == inverse(foo); ++ final = inverse(foo); + show_matrix(final); + exit(0); + } diff --git a/math/mtrxmath/files/patch-mtrxmath.h b/math/mtrxmath/files/patch-mtrxmath.h new file mode 100644 index 000000000000..60c4e31b8a56 --- /dev/null +++ b/math/mtrxmath/files/patch-mtrxmath.h @@ -0,0 +1,10 @@ +--- mtrxmath.h.orig Tue Jan 9 20:33:48 2001 ++++ mtrxmath.h Tue Jan 9 20:35:02 2001 +@@ -13,7 +13,6 @@ + #include + #include + #include +-#include + #include + #include + diff --git a/math/mtrxmath/files/patch-mult.c b/math/mtrxmath/files/patch-mult.c new file mode 100644 index 000000000000..da4b9c88257d --- /dev/null +++ b/math/mtrxmath/files/patch-mult.c @@ -0,0 +1,10 @@ +--- mult.c.orig Tue Jan 9 20:40:21 2001 ++++ mult.c Tue Jan 9 20:40:28 2001 +@@ -11,7 +11,6 @@ + #include + #include + #include +-#include + #include "mtrxmath.h" + + MATRIX_PTR matrix_multiply( MATRIX_PTR first, MATRIX_PTR second) diff --git a/math/mtrxmath/pkg-comment b/math/mtrxmath/pkg-comment new file mode 100644 index 000000000000..c2ed0d33404a --- /dev/null +++ b/math/mtrxmath/pkg-comment @@ -0,0 +1 @@ +A small tool for matrix mathemetics diff --git a/math/mtrxmath/pkg-descr b/math/mtrxmath/pkg-descr new file mode 100644 index 000000000000..c035d978bca1 --- /dev/null +++ b/math/mtrxmath/pkg-descr @@ -0,0 +1,7 @@ +Matrix Math is software to quickly and easily compute functions of +matrices of any size. It supports addition, subtraction, +multiplication, inversion, division, and will support whatever else is +necessary. + +- George Reid +greid@ukug.uk.freebsd.org diff --git a/math/mtrxmath/pkg-plist b/math/mtrxmath/pkg-plist new file mode 100644 index 000000000000..fef81d6874b3 --- /dev/null +++ b/math/mtrxmath/pkg-plist @@ -0,0 +1,2 @@ +bin/mtrxmath +share/README.mtrxmath -- cgit v1.2.3