mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
matio is an ISO C library (with a limited Fortran 90 interface) for reading
and writing Matlab MAT files. WWW: http://sourceforge.net/projects/matio/ PR: ports/143928 Submitted by: Rob Farmer <rfarmer@predatorlabs.net> Feature safe: yes
This commit is contained in:
parent
0261d7a05f
commit
4657cdf1ef
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=250256
4 changed files with 48 additions and 0 deletions
|
@ -170,6 +170,7 @@
|
|||
SUBDIR += lybniz
|
||||
SUBDIR += matharray
|
||||
SUBDIR += mathomatic
|
||||
SUBDIR += matio
|
||||
SUBDIR += matrices
|
||||
SUBDIR += matrix
|
||||
SUBDIR += maxima
|
||||
|
|
40
math/matio/Makefile
Normal file
40
math/matio/Makefile
Normal file
|
@ -0,0 +1,40 @@
|
|||
# New ports collection makefile for: matio
|
||||
# Date created: 14 February 2010
|
||||
# Whom: rfarmer@predatorlabs.net
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= matio
|
||||
PORTVERSION= 1.3.3
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= SF
|
||||
|
||||
MAINTAINER= rfarmer@predatorlabs.net
|
||||
COMMENT= Library for reading/writing Matlab files
|
||||
|
||||
USE_FORTRAN= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
CFLAGS+= -fPIC
|
||||
|
||||
PLIST_FILES= include/matio.h \
|
||||
include/matioConfig.h \
|
||||
lib/libmatio.a \
|
||||
lib/libmatio.la \
|
||||
lib/libmatio.so.1 \
|
||||
libdata/pkgconfig/matio.pc
|
||||
|
||||
post-build:
|
||||
(cd ${WRKSRC}/src && ${CC} ${CFLAGS} -shared -o libmatio.so.1 snprintf.o endian.o io.o inflate.o read_data.o mat5.o mat4.o mat.o)
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/src/.libs/libmatio.lai ${PREFIX}/lib/libmatio.la
|
||||
${INSTALL_DATA} ${WRKSRC}/src/.libs/libmatio.a ${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/src/matio.h ${PREFIX}/include
|
||||
${INSTALL_DATA} ${WRKSRC}/src/matioConfig.h ${PREFIX}/include
|
||||
${INSTALL_DATA} ${WRKSRC}/matio.pc ${PREFIX}/libdata/pkgconfig
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/libmatio.so.1 ${PREFIX}/lib
|
||||
|
||||
.include <bsd.port.mk>
|
3
math/matio/distinfo
Normal file
3
math/matio/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (matio-1.3.3.tar.gz) = 5c12a98f391de000e88b5a1b20d74abf
|
||||
SHA256 (matio-1.3.3.tar.gz) = 5ab18a4e31e7688623a74493f06a493b857c8a58f60c67673b7b7ff4a4cf08b0
|
||||
SIZE (matio-1.3.3.tar.gz) = 418794
|
4
math/matio/pkg-descr
Normal file
4
math/matio/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
|||
matio is an ISO C library (with a limited Fortran 90 interface) for reading
|
||||
and writing Matlab MAT files.
|
||||
|
||||
WWW: http://sourceforge.net/projects/matio/
|
Loading…
Add table
Reference in a new issue