- Simplify build

- Add (disabled) regression test target
- Update WWW
- Update master sites

PR:		ports/124920
Submitted by:	Pedro F. Giffuni <pfgshield-freebsd@yahoo.com>
This commit is contained in:
Pav Lucistnik
2008-07-08 11:50:37 +00:00
parent 2bef4fbe6c
commit feb756c1d6
3 changed files with 10 additions and 17 deletions

View File

@@ -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>

View File

@@ -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.

View File

@@ -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