- 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:
@@ -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>
|
||||
|
||||
@@ -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.
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user