aboutsummaryrefslogtreecommitdiffstats
path: root/math/linpack
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>1997-04-03 09:17:25 +0800
committerfenner <fenner@FreeBSD.org>1997-04-03 09:17:25 +0800
commit4386d3bc67dae9c2a57b131aa35c0af010201a93 (patch)
tree7a3388fb94fafbc6501ee80ed311980751cd07af /math/linpack
parent6dab24aaa326e341cc53101d8f52e2bff4676979 (diff)
downloadfreebsd-ports-gnome-4386d3bc67dae9c2a57b131aa35c0af010201a93.tar.gz
freebsd-ports-gnome-4386d3bc67dae9c2a57b131aa35c0af010201a93.tar.zst
freebsd-ports-gnome-4386d3bc67dae9c2a57b131aa35c0af010201a93.zip
Fix MASTER_SITE since netlib.att.com went away, do dependence on blas
properly, and clean up Makefiles a little.
Diffstat (limited to 'math/linpack')
-rw-r--r--math/linpack/Makefile15
-rw-r--r--math/linpack/files/Makefile.lib6
2 files changed, 10 insertions, 11 deletions
diff --git a/math/linpack/Makefile b/math/linpack/Makefile
index e71b53b7d30b..969a03626b5e 100644
--- a/math/linpack/Makefile
+++ b/math/linpack/Makefile
@@ -3,19 +3,22 @@
# Date created: 31 October 1994
# Whom: ljo
#
-# $Id: Makefile,v 1.9 1996/03/10 09:01:03 asami Exp $
+# $Id: Makefile,v 1.10 1996/11/18 11:32:26 asami Exp $
#
DISTNAME= linpack
PKGNAME= linpack-1.0
CATEGORIES= math
-MASTER_SITES= ftp://netlib.att.com/netlib/linpack/
+MASTER_SITES= ftp://netlib.bell-labs.com/netlib/linpack/ \
+ ftp://ftp.netlib.org/linpack/
DIST_SUBDIR= ${DISTNAME}
-EXTRACT_CMD=${.CURDIR}/scripts/uncomp
-EXTRACT_SUFX=.Z
-EXTRACT_ARGS= ${WRKDIR}
+RUN_DEPENDS= ${PREFIX}/lib/libcor.so.1.0:${PORTSDIR}/math/blas
+
+EXTRACT_CMD= ${SCRIPTDIR}/uncomp
+EXTRACT_SUFX= .Z
+EXTRACT_ARGS= ${WRKDIR}
NO_WRKSUBDIR= yes
@@ -49,7 +52,7 @@ pre-build:
cp Makefile.lib ${WRKDIR}/Makefile
pre-extract:
- chmod +x scripts/uncomp
+ chmod +x ${SCRIPTDIR}/uncomp
post-install:
ldconfig -m ${PREFIX}/lib
diff --git a/math/linpack/files/Makefile.lib b/math/linpack/files/Makefile.lib
index bed0736f916d..5dca47bf2123 100644
--- a/math/linpack/files/Makefile.lib
+++ b/math/linpack/files/Makefile.lib
@@ -1,7 +1,7 @@
# @(#)Makefile 5.7 (Berkeley) 6/27/91
# LINPACK sources
-LIBDIR= /usr/local/lib
+LIBDIR= ${PREFIX}/lib
NOPROFILE= no
SHLIB_MAJOR= 1
@@ -32,8 +32,4 @@ SRCS = cchdc.f cchdd.f cchex.f cchud.f cgbco.f cgbdi.f cgbfa.f cgbsl.f \
zsvdc.f ztrco.f ztrdi.f ztrsl.f
CLEANFILES+= *.c
-package: install pkg/+DESC pkg/+ONELINE pkg/+PLIST
- pkg_create -c pkg/+ONELINE -d pkg/+DESC -f pkg/+PLIST linpack_bin
-
.include <bsd.lib.mk>
-