aboutsummaryrefslogtreecommitdiffstats
path: root/math/laspack
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2008-07-08 19:50:37 +0800
committerpav <pav@FreeBSD.org>2008-07-08 19:50:37 +0800
commit964800c40561d70a92c0593eb4bf50eb9ee1a2e3 (patch)
tree1b486140652de3899ed808e6fb05d5464531903e /math/laspack
parentc7c0b91c1994e6259fc05e9fdbc1837c1e44ef71 (diff)
downloadfreebsd-ports-gnome-964800c40561d70a92c0593eb4bf50eb9ee1a2e3.tar.gz
freebsd-ports-gnome-964800c40561d70a92c0593eb4bf50eb9ee1a2e3.tar.zst
freebsd-ports-gnome-964800c40561d70a92c0593eb4bf50eb9ee1a2e3.zip
- Simplify build
- Add (disabled) regression test target - Update WWW - Update master sites PR: ports/124920 Submitted by: Pedro F. Giffuni <pfgshield-freebsd@yahoo.com>
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