View | Details | Raw Unified | Return to bug 63880
Collapse All | Expand All

(-)math/mtrxmath/Makefile (-10 / +14 lines)
Lines 5-25 Link Here
5
# $FreeBSD: ports/math/mtrxmath/Makefile,v 1.4 2003/11/03 07:26:22 linimon Exp $
5
# $FreeBSD: ports/math/mtrxmath/Makefile,v 1.4 2003/11/03 07:26:22 linimon Exp $
6
#
6
#
7
7
8
PORTNAME=		mtrxmath
8
PORTNAME=	mtrxmath
9
PORTVERSION=		0.9.3
9
PORTVERSION=	1.0.2
10
PORTREVISION=	1
10
CATEGORIES=	math
11
CATEGORIES=		math
11
MASTER_SITES=	http://www.angelfire.com/linux/linuxjeff/mtrxmath/files/
12
MASTER_SITES=		http://www.angelfire.com/linux/linuxjeff/mtrxmath/files/
13
12
14
MAINTAINER=		ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	A small tool for matrix mathemetics
14
COMMENT=	A small tool for matrix mathemetics
16
15
17
USE_GETOPT_LONG=yes
16
USE_GETOPT_LONG=	yes
18
MAKE_ENV=	CPPFLAGS="${CPPFLAGS}" \
17
MAKE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
19
		LDFLAGS="${LDFLAGS}"
18
19
PORTDOCS=	README
20
PLIST_FILES=	bin/mtrxmath
20
21
21
do-install:
22
do-install:
22
	${INSTALL_PROGRAM} ${WRKSRC}/mtrxmath ${PREFIX}/bin
23
	${INSTALL_PROGRAM} ${WRKSRC}/mtrxmath ${PREFIX}/bin
23
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/README.mtrxmath
24
.if !defined(NOPORTDOCS)
25
	@${MKDIR} ${DOCSDIR}
26
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
27
.endif
24
28
25
.include <bsd.port.mk>
29
.include <bsd.port.mk>
(-)math/mtrxmath/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (mtrxmath-0.9.3.tar.gz) = 3cece8368ef32e8fe39a6b7774e2bc14
1
MD5 (mtrxmath-1.0.2.tar.gz) = 7061de720440c470c83c322e7b6d0307
2
SIZE (mtrxmath-0.9.3.tar.gz) = 13479
2
SIZE (mtrxmath-1.0.2.tar.gz) = 15889
(-)math/mtrxmath/files/patch-Makefile (-6 / +12 lines)
Lines 1-12 Link Here
1
--- Makefile.orig	Mon Jan  8 08:29:11 2001
1
--- Makefile.orig	Mon Apr  9 10:26:51 2001
2
+++ Makefile	Sun Jul  6 20:09:15 2003
2
+++ Makefile	Sun Mar  7 12:06:36 2004
3
@@ -1,4 +1,4 @@
3
@@ -1,10 +1,9 @@
4
-CFLAGS=-Wall -g
4
 # Edited for Debian GNU/Linux
5
+CFLAGS+=-Wall -g ${CPPFLAGS}
5
 DESTDIR=
6
-CFLAGS=-Wall
7
+CFLAGS+=-Wall ${CPPFLAGS}
8
 IFLAGS=--owner=root --group=root
9
 BASEPATH=${DESTDIR}/usr
10
 BINPATH=${BASEPATH}/bin
11
-MANPATH=${BASEPATH}/share/man/man1
6
 
12
 
7
 SRCS=add.c  mtrxmath.c  mult.c  sub.c inverse.c
13
 SRCS=add.c  mtrxmath.c  mult.c  sub.c inverse.c
8
 
14
 
9
@@ -8,7 +8,7 @@
15
@@ -14,7 +13,7 @@
10
 all: ${EXE}
16
 all: ${EXE}
11
 
17
 
12
 ${EXE}: ${OBJS}
18
 ${EXE}: ${OBJS}
(-)math/mtrxmath/files/patch-mtrxmath.c (-11 lines)
Lines 1-11 Link Here
1
--- mtrxmath.c.orig	Tue Jan  9 20:44:12 2001
2
+++ mtrxmath.c	Tue Jan  9 20:44:00 2001
3
@@ -102,7 +102,7 @@
4
     exit(0);
5
   }
6
   if (cmdopt==INVERT) {
7
-    final == inverse(foo);
8
+    final = inverse(foo);
9
     show_matrix(final);
10
     exit(0);
11
   } 
(-)math/mtrxmath/files/patch-mult.c (-10 lines)
Lines 1-10 Link Here
1
--- mult.c.orig	Tue Jan  9 20:40:21 2001
2
+++ mult.c	Tue Jan  9 20:40:28 2001
3
@@ -11,7 +11,6 @@
4
 #include <stdio.h>
5
 #include <stdlib.h>
6
 #include <string.h>
7
-#include <malloc.h>
8
 #include "mtrxmath.h"
9
 
10
 MATRIX_PTR matrix_multiply( MATRIX_PTR first,  MATRIX_PTR second)
(-)math/mtrxmath/pkg-descr (+2 lines)
Lines 3-7 Link Here
3
multiplication, inversion, division, and will support whatever else is
3
multiplication, inversion, division, and will support whatever else is
4
necessary.
4
necessary.
5
5
6
WWW: http://www.angelfire.com/linux/linuxjeff/mtrxmath/
7
6
- George Reid
8
- George Reid
7
greid@ukug.uk.freebsd.org
9
greid@ukug.uk.freebsd.org
(-)math/mtrxmath/pkg-plist (-2 lines)
Lines 1-2 Link Here
1
bin/mtrxmath
2
share/README.mtrxmath

Return to bug 63880