svn commit: r349400 - head/math/matio
Max Brazhnikov
makc at FreeBSD.org
Fri Mar 28 09:22:38 UTC 2014
Author: makc
Date: Fri Mar 28 09:22:37 2014
New Revision: 349400
URL: http://svnweb.freebsd.org/changeset/ports/349400
QAT: https://qat.redports.org/buildarchive/r349400/
Log:
math/matio:
- Update to 1.5.2
- Remove FORTRAN option (not supported anymore)
- Add HDF5 option (support for MAT v7.3 files)
- Add LICENSE
- Update COMMENT and description
- Use pkg-plist
- Take maintainership
Added:
head/math/matio/pkg-plist (contents, props changed)
Modified:
head/math/matio/Makefile
head/math/matio/distinfo
head/math/matio/pkg-descr
Modified: head/math/matio/Makefile
==============================================================================
--- head/math/matio/Makefile Fri Mar 28 09:19:50 2014 (r349399)
+++ head/math/matio/Makefile Fri Mar 28 09:22:37 2014 (r349400)
@@ -2,46 +2,26 @@
# $FreeBSD$
PORTNAME= matio
-PORTVERSION= 1.3.4
-PORTREVISION= 1
+PORTVERSION= 1.5.2
CATEGORIES= math
MASTER_SITES= SF
-MAINTAINER= ports at FreeBSD.org
-COMMENT= Library for reading/writing Matlab files
+MAINTAINER= makc at FreeBSD.org
+COMMENT= Library for reading and writing Matlab MAT files
+
+LICENSE= BSD2CLAUSE
GNU_CONFIGURE= yes
-USES= pathfix
+USES= libtool pathfix
USE_LDCONFIG= yes
+INSTALL_TARGET= install-strip
-OPTIONS_DEFINE= FORTRAN
-FORTRAN_DESC= Build Fortran bindings
-
-CONFIGURE_ARGS= --enable-shared
-
-PLIST_FILES= include/matio.h \
- include/matioConfig.h \
- lib/libmatio.a \
- lib/libmatio.la \
- lib/libmatio.so \
- lib/libmatio.so.1 \
- libdata/pkgconfig/matio.pc
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MFORTRAN}
-USES+= fortran
-
-CONFIGURE_ARGS+= --enable-fortran
-CONFIGURE_ENV+= FCFLAGS="${FFLAGS}"
-
-PLIST_FILES+= include/matio.mod
-
-MAKE_JOBS_UNSAFE=yes
-.endif
+OPTIONS_DEFINE= HDF5
+OPTIONS_DEFAULT= HDF5
-post-patch:
- @${REINPLACE_CMD} -e '/AM_LDFLAGS = /s/$$/ -version-info 1/' \
- ${WRKSRC}/src/Makefile.in
+HDF5_DESC= Support for MAT file version 7.3
+HDF5_LIB_DEPENDS= libhdf5.so:${PORTSDIR}/science/hdf5-18
+HDF5_CONFIGURE_ON= --enable-mat73=yes \
+ --with-hdf5=${LOCALBASE}
.include <bsd.port.mk>
Modified: head/math/matio/distinfo
==============================================================================
--- head/math/matio/distinfo Fri Mar 28 09:19:50 2014 (r349399)
+++ head/math/matio/distinfo Fri Mar 28 09:22:37 2014 (r349400)
@@ -1,2 +1,2 @@
-SHA256 (matio-1.3.4.tar.gz) = 7261880b18a661e5d206b4e479d4334b47549f093130df42f7204fd05dfe0bc5
-SIZE (matio-1.3.4.tar.gz) = 450343
+SHA256 (matio-1.5.2.tar.gz) = db02d0fb3373c3d766a606309b17e64a5d8da55610e921a9f1a0ec171e911d45
+SIZE (matio-1.5.2.tar.gz) = 8179926
Modified: head/math/matio/pkg-descr
==============================================================================
--- head/math/matio/pkg-descr Fri Mar 28 09:19:50 2014 (r349399)
+++ head/math/matio/pkg-descr Fri Mar 28 09:22:37 2014 (r349400)
@@ -1,4 +1,3 @@
-matio is an ISO C library (with a limited Fortran 90 interface) for reading
-and writing Matlab MAT files.
+matio is an ISO C library for reading and writing Matlab MAT files.
WWW: http://sourceforge.net/projects/matio/
Added: head/math/matio/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/matio/pkg-plist Fri Mar 28 09:22:37 2014 (r349400)
@@ -0,0 +1,29 @@
+bin/matdump
+include/matio.h
+include/matio_pubconf.h
+lib/libmatio.a
+lib/libmatio.la
+lib/libmatio.so
+lib/libmatio.so.2
+lib/libmatio.so.2.0.2
+libdata/pkgconfig/matio.pc
+man/man3/Mat_Close.3.gz
+man/man3/Mat_CreateVer.3.gz
+man/man3/Mat_GetFilename.3.gz
+man/man3/Mat_GetLibraryVersion.3.gz
+man/man3/Mat_GetVersion.3.gz
+man/man3/Mat_Open.3.gz
+man/man3/Mat_Rewind.3.gz
+man/man3/Mat_VarAddStructField.3.gz
+man/man3/Mat_VarCreate.3.gz
+man/man3/Mat_VarCreateStruct.3.gz
+man/man3/Mat_VarFree.3.gz
+man/man3/Mat_VarGetNumberOfFields.3.gz
+man/man3/Mat_VarGetStructFieldnames.3.gz
+man/man3/Mat_VarGetStructs.3.gz
+man/man3/Mat_VarGetStructsLinear.3.gz
+man/man3/Mat_VarRead.3.gz
+man/man3/Mat_VarReadInfo.3.gz
+man/man3/Mat_VarReadNext.3.gz
+man/man3/Mat_VarReadNextInfo.3.gz
+man/man3/Mat_VarWrite.3.gz
More information about the svn-ports-head
mailing list