From feb756c1d64dc6eb5bd0520eb39418c6153a5f7a Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Tue, 8 Jul 2008 11:50:37 +0000 Subject: - Simplify build - Add (disabled) regression test target - Update WWW - Update master sites PR: ports/124920 Submitted by: Pedro F. Giffuni --- math/laspack/Makefile | 10 ++++++++-- math/laspack/files/patch-makefile | 13 ------------- math/laspack/pkg-descr | 4 ++-- 3 files changed, 10 insertions(+), 17 deletions(-) delete mode 100644 math/laspack/files/patch-makefile (limited to 'math/laspack') 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 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 -- cgit v1.2.3