ports/63880: Update port: math/mtrxmath to 1.0.2

KATO Tsuguru tkato at prontomail.com
Sun Mar 7 14:40:15 UTC 2004


>Number:         63880
>Category:       ports
>Synopsis:       Update port: math/mtrxmath to 1.0.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 07 06:40:14 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 1.0.2

Remove file:
files/patch-mtrxmath.c
files/patch-mult.c
pkg-plist

>How-To-Repeat:
>Fix:

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



More information about the freebsd-ports-bugs mailing list