mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
qrupdate is a Fortran library for fast updates of QR and Cholesky
decomposition. It was originally part of GNU-Octave. WWW: http://qrupdate.sourceforge.net/ PR: 137467 Submitted by: Robert Jenssen Note: maintainership is taken over by maho@FreeBSD.org.
This commit is contained in:
parent
62110fb0db
commit
4e9fc47980
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=239012
@ -440,6 +440,7 @@
|
||||
SUBDIR += qd
|
||||
SUBDIR += qgfe
|
||||
SUBDIR += qhull
|
||||
SUBDIR += qrupdate
|
||||
SUBDIR += qscanplot
|
||||
SUBDIR += qtiplot
|
||||
SUBDIR += qtiplot-doc
|
||||
|
36
math/qrupdate/Makefile
Normal file
36
math/qrupdate/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# New ports collection makefile for: qrupdate
|
||||
# Date created: 4 August 2009
|
||||
# Whom: Robert Jenssen
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= qrupdate
|
||||
PORTVERSION= 1.0.1
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://downloads.sourceforge.net/project/qrupdate/qrupdate/1.0/ \
|
||||
http://transact.dl.sourceforge.net/project/qrupdate/qrupdate/1.0/
|
||||
|
||||
MAINTAINER= maho@FreeBSD.org
|
||||
COMMENT= Fortran library for fast updates of QR and Cholesky decomposition
|
||||
|
||||
FETCH_ARGS= -p
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "sparc64"
|
||||
PICFLAG?= -fPIC
|
||||
.else
|
||||
PICFLAG?= -fpic
|
||||
.endif
|
||||
|
||||
USE_FORTRAN= yes
|
||||
USE_GMAKE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
pre-build:
|
||||
@${REINPLACE_CMD} -e 's+%%FC%%+${FC}+g ; s+%%FFLAGS%%+${FFLAGS}+g ; \
|
||||
s+%%PICFLAG%%+${PICFLAG}+g ; ' \
|
||||
${WRKSRC}/Makeconf
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
math/qrupdate/distinfo
Normal file
3
math/qrupdate/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (qrupdate-1.0.1.tar.gz) = 73d87b081e6fb89c9dc5b0ef0773b4dc
|
||||
SHA256 (qrupdate-1.0.1.tar.gz) = 45ba0b4e6b15236a219b5b380e15fc9acfe6760a9ca5e53484de9b534969ba0d
|
||||
SIZE (qrupdate-1.0.1.tar.gz) = 42179
|
22
math/qrupdate/files/patch-Makeconf
Normal file
22
math/qrupdate/files/patch-Makeconf
Normal file
@ -0,0 +1,22 @@
|
||||
--- Makeconf.orig 2009-03-11 15:08:32.000000000 +0900
|
||||
+++ Makeconf 2009-08-06 12:30:47.000000000 +0900
|
||||
@@ -1,14 +1,14 @@
|
||||
# set this to your compiler's executable name (e.g. gfortran, g77)
|
||||
-FC=gfortran
|
||||
+FC=%%FC%%
|
||||
# requested flags
|
||||
-FFLAGS=-fimplicit-none -O3 -funroll-loops
|
||||
+FFLAGS=%%FFLAGS%%
|
||||
# set if you need shared library
|
||||
-FPICFLAGS=-fPIC
|
||||
+FPICFLAGS=%%PICFLAG%%
|
||||
|
||||
# BLAS library (only required for tests)
|
||||
-BLAS=-lblas
|
||||
+#BLAS=-L/usr/local/lib -lblas
|
||||
# LAPACK library (only required for tests)
|
||||
-LAPACK=-llapack
|
||||
+#LAPACK=-llapack
|
||||
|
||||
# Library version
|
||||
VERSION=1.0
|
37
math/qrupdate/files/patch-Makefile
Normal file
37
math/qrupdate/files/patch-Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
--- Makefile.orig 2009-02-06 20:12:00.000000000 +1100
|
||||
+++ Makefile 2009-08-06 01:20:12.000000000 +1000
|
||||
@@ -21,6 +21,8 @@
|
||||
|
||||
include Makeconf
|
||||
|
||||
+all: solib
|
||||
+
|
||||
help:
|
||||
@echo
|
||||
@echo "The following targets are available:"
|
||||
@@ -34,20 +36,20 @@
|
||||
lib:
|
||||
make -C src/ lib
|
||||
solib:
|
||||
- make -C src/ solib
|
||||
+ gmake -C src/ solib
|
||||
test: lib
|
||||
make -C test/
|
||||
|
||||
clean:
|
||||
rm -f libqrupdate.a libqrupdate.so
|
||||
- make -C src/ clean
|
||||
- make -C test/ clean
|
||||
+ gmake -C src/ clean
|
||||
+ gmake -C test/ clean
|
||||
|
||||
install:
|
||||
- make -C src/ install
|
||||
+ gmake -C src/ install
|
||||
|
||||
install-shlib:
|
||||
- make -C src/ install-shlib
|
||||
+ gmake -C src/ install-shlib
|
||||
|
||||
install-staticlib:
|
||||
make -C src/ install-staticlib
|
14
math/qrupdate/files/patch-src-Makefile
Normal file
14
math/qrupdate/files/patch-src-Makefile
Normal file
@ -0,0 +1,14 @@
|
||||
--- src/Makefile.orig 2009-08-06 01:21:58.000000000 +1000
|
||||
+++ src/Makefile 2009-08-06 01:28:32.000000000 +1000
|
||||
@@ -52,9 +52,9 @@
|
||||
install: install-shlib install-staticlib
|
||||
|
||||
install-shlib: ../libqrupdate.so
|
||||
- install -D -m644 ../libqrupdate.so $(PREFIX)/lib/libqrupdate.so.$(VERSION)
|
||||
+ install -s ../libqrupdate.so $(PREFIX)/lib/libqrupdate.so.$(VERSION)
|
||||
ln -s libqrupdate.so.$(VERSION) $(PREFIX)/lib/libqrupdate.so.$(MAJOR)
|
||||
ln -s libqrupdate.so.$(VERSION) $(PREFIX)/lib/libqrupdate.so
|
||||
|
||||
install-staticlib: ../libqrupdate.a
|
||||
- install -D -m644 ../libqrupdate.a $(PREFIX)/lib/libqrupdate.a
|
||||
+ install -s ../libqrupdate.a $(PREFIX)/lib/libqrupdate.a
|
4
math/qrupdate/pkg-descr
Normal file
4
math/qrupdate/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
qrupdate is a Fortran library for fast updates of QR and Cholesky
|
||||
decomposition. It was originally part of GNU-Octave.
|
||||
|
||||
WWW: http://qrupdate.sourceforge.net/
|
4
math/qrupdate/pkg-plist
Normal file
4
math/qrupdate/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
lib/libqrupdate.so.1.0
|
||||
lib/libqrupdate.so.1
|
||||
lib/libqrupdate.so
|
||||
lib/libqrupdate.a
|
Loading…
Reference in New Issue
Block a user