import matio 1.3.1
library for reading and writing Matlab MAT files
This commit is contained in:
parent
046ce6eca3
commit
ce9dcb222e
40
math/matio/Makefile
Normal file
40
math/matio/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2006/10/19 10:51:01 steven Exp $
|
||||
|
||||
COMMENT= "library for reading and writing Matlab MAT files"
|
||||
|
||||
DISTNAME= matio-1.3.1
|
||||
SHARED_LIBS= matio 0.0
|
||||
CATEGORIES= math
|
||||
|
||||
HOMEPAGE= http://sourceforge.net/projects/matio/
|
||||
|
||||
# LGPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=matio/}
|
||||
|
||||
USE_LIBTOOL= Yes
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
||||
--enable-fortran=no \
|
||||
--enable-test=yes
|
||||
|
||||
TESTS= copy write writecompressed writestruct writecell readslab \
|
||||
writeslab writesparse writenan writeinf readslab4 ind2sub sub2ind
|
||||
|
||||
do-regress:
|
||||
.for t in ${TESTS}
|
||||
@echo "Testing ${t}"
|
||||
@cd ${WRKBUILD}/test && ./test_mat ${t}
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/matio
|
||||
${INSTALL_DATA} ${WRKSRC}/libmatio.pdf ${PREFIX}/share/doc/matio
|
||||
@rm -rf ${PREFIX}/share/matio
|
||||
@rm -rf ${PREFIX}/bin/test_*
|
||||
|
||||
.include <bsd.port.mk>
|
4
math/matio/distinfo
Normal file
4
math/matio/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (matio-1.3.1.tar.gz) = 8fd9a3a6c2587deade56b0846642ebd3
|
||||
RMD160 (matio-1.3.1.tar.gz) = 64e12e1774db3054ce11f6efd15686c8432a3197
|
||||
SHA1 (matio-1.3.1.tar.gz) = 70af161a788f7f5e171f27e2655763454ec33839
|
||||
SIZE (matio-1.3.1.tar.gz) = 938713
|
13
math/matio/patches/patch-test_test_mat_c
Normal file
13
math/matio/patches/patch-test_test_mat_c
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-test_test_mat_c,v 1.1.1.1 2006/10/19 10:51:01 steven Exp $
|
||||
--- test/test_mat.c.orig Wed Oct 18 17:21:19 2006
|
||||
+++ test/test_mat.c Wed Oct 18 17:22:32 2006
|
||||
@@ -1197,6 +1197,9 @@ int main (int argc, char *argv[])
|
||||
}
|
||||
|
||||
printf("%d of %d tests completed successfully\n",ntests-err,ntests);
|
||||
+
|
||||
+ if (err > 0)
|
||||
+ return 1;
|
||||
|
||||
return 0;
|
||||
}
|
3
math/matio/pkg/DESCR
Normal file
3
math/matio/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
matio is an ISO C library for reading and writing Matlab MAT files.
|
||||
The library is intended for programs/libraries that do not have access
|
||||
or want to rely on Matlab's shared libraries.
|
2
math/matio/pkg/PFRAG.shared
Normal file
2
math/matio/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2006/10/19 10:51:01 steven Exp $
|
||||
@lib lib/libmatio.so.${LIBmatio_VERSION}
|
10
math/matio/pkg/PLIST
Normal file
10
math/matio/pkg/PLIST
Normal file
@ -0,0 +1,10 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/10/19 10:51:01 steven Exp $
|
||||
%%SHARED%%
|
||||
include/matio.h
|
||||
include/matioConfig.h
|
||||
lib/libmatio.a
|
||||
lib/libmatio.la
|
||||
lib/pkgconfig/
|
||||
lib/pkgconfig/matio.pc
|
||||
share/doc/matio/
|
||||
share/doc/matio/libmatio.pdf
|
Loading…
Reference in New Issue
Block a user