aboutsummaryrefslogtreecommitdiff
path: root/math/laspack
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2008-07-08 11:50:37 +0000
committerPav Lucistnik <pav@FreeBSD.org>2008-07-08 11:50:37 +0000
commitfeb756c1d64dc6eb5bd0520eb39418c6153a5f7a (patch)
tree690bfe062853847994b567b6d7525c169c20a0a5 /math/laspack
parent2bef4fbe6cea10e29352216a4c07953cc63d310c (diff)
downloadports-feb756c1d64dc6eb5bd0520eb39418c6153a5f7a.tar.gz
ports-feb756c1d64dc6eb5bd0520eb39418c6153a5f7a.zip
Notes
Diffstat (limited to 'math/laspack')
-rw-r--r--math/laspack/Makefile10
-rw-r--r--math/laspack/files/patch-makefile13
-rw-r--r--math/laspack/pkg-descr4
3 files changed, 10 insertions, 17 deletions
diff --git a/math/laspack/Makefile b/math/laspack/Makefile
index 7f4cb546d3a1..eb6aaf9dae38 100644
--- a/math/laspack/Makefile
+++ b/math/laspack/Makefile
@@ -8,8 +8,7 @@
PORTNAME= laspack
PORTVERSION= 1.12.2
CATEGORIES= math
-MASTER_SITES= ftp://netlib.bell-labs.com/netlib/linalg/ \
- ftp://www.hensa.ac.uk/mirrors/netlib/linalg/ \
+MASTER_SITES= http://netlib.sandia.gov/linalg/ \
http://www.netlib.org/linalg/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tgz
@@ -19,6 +18,7 @@ COMMENT= Package for solving large sparse systems of linear equations
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKEFILE= makefile
+MAKE_ENV+= HOME=${PREFIX}
post-patch:
@${REINPLACE_CMD} -e 's+/usr/local+${LOCALBASE}+g' ${WRKSRC}/${MAKEFILE}
@@ -29,4 +29,10 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${DOCSDIR}
.endif
+.ifdef MAINTAINER_MODE
+regression-test:
+ @cd ${WRKDIR} && ${SETENV} HOME=${WRKDIR} ./install
+ @cd ${WRKSRC}/check && ${SETENV} HOME=${WRKDIR} ./check
+.endif
+
.include <bsd.port.mk>
diff --git a/math/laspack/files/patch-makefile b/math/laspack/files/patch-makefile
deleted file mode 100644
index 4e1fb9a25266..000000000000
--- a/math/laspack/files/patch-makefile
+++ /dev/null
@@ -1,13 +0,0 @@
---- makefile.orig Mon Jul 25 00:24:08 2005
-+++ makefile Mon Jul 25 00:24:30 2005
-@@ -21,8 +21,8 @@
- #
- # set the destination directories for the library and include files
- #
--LIBDEST = $(HOME)/lib$(ARCH_EXT)
--INCDEST = $(HOME)/include
-+LIBDEST = $(PREFIX)/lib
-+INCDEST = $(PREFIX)/include
-
- #
- # the following text was created automaticaly. You should change it carefully.
diff --git a/math/laspack/pkg-descr b/math/laspack/pkg-descr
index cf5fdba6f37b..51e9b8707d73 100644
--- a/math/laspack/pkg-descr
+++ b/math/laspack/pkg-descr
@@ -18,6 +18,6 @@ Main features:
preconditioned by multigrid and BPX preconditioners.
A complete description of the package (including the installation procedure)
-you may find in LASPack Reference Manual in the following postscript files:
+you may find in LASPack Reference Manual:
-WWW: http://www.tu-dresden.de/mwism/skalicky/laspack/laspack.html
+WWW: http://www.mgnet.org/mgnet/Codes/laspack/html/laspack.html