d530b271d9
post-install: pkg_add -m ${PREFIX}/lib to Makefiles and @exec ldconfig -m %D to packing lists of ports that install shared libraries. This should get rid of a huge chunk of confusion for novice users! All hail Paul Kranenburg! :)
58 lines
1.7 KiB
Makefile
58 lines
1.7 KiB
Makefile
# New ports collection makefile for: blas
|
|
# Version required: ?
|
|
# Date created: 27 October 1994
|
|
# Whom: ljo
|
|
#
|
|
# $Id: Makefile,v 1.7 1995/05/03 02:22:18 asami Exp $
|
|
#
|
|
|
|
DISTNAME= blas
|
|
PKGNAME= blas-1.0
|
|
CATEGORIES= math
|
|
|
|
DISTDIR=${PORTSDIR}/distfiles/${DISTNAME}
|
|
|
|
MASTER_SITES= ftp://netlib.att.com/netlib/blas/
|
|
.if defined(MASTER_SITE_OVERRIDE)
|
|
MASTER_SITES:= ${MASTER_SITE_OVERRIDE}/blas/
|
|
.undef MASTER_SITE_OVERRIDE
|
|
.endif
|
|
|
|
EXTRACT_CMD=${.CURDIR}/scripts/uncomp
|
|
EXTRACT_SUFX=.Z
|
|
EXTRACT_ARGS= ${WRKDIR}
|
|
|
|
WRKSRC=${WRKDIR}
|
|
|
|
SRCS = caxpy.f cblas1.f cblas2.f ccopy.f cdotc.f cdotu.f cgbmv.f cgemv.f \
|
|
cgerc.f cgeru.f chbmv.f chemv.f cher.f cher2.f chpmv.f chpr.f \
|
|
chpr2.f cmach.f crotg.f cscal.f csrot.f csscal.f cswap.f ctbmv.f \
|
|
ctbsv.f ctpmv.f ctpsv.f ctrmv.f ctrsv.f d1mach.f dasum.f daxpy.f \
|
|
dblas1.f dblas2.f dcopy.f ddot.f dgbmv.f dgemv.f dger.f dmach.f \
|
|
dnrm2.f drot.f drotg.f dsbmv.f dscal.f dspmv.f dspr.f dspr2.f \
|
|
dswap.f dsymv.f dsyr.f dsyr2.f dtbmv.f dtbsv.f dtpmv.f dtpsv.f \
|
|
dtrmv.f dtrsv.f esblas2.f esgbmv.f esgemv.f esger.f essbmv.f \
|
|
esspmv.f esspr.f esspr2.f essymv.f essyr.f essyr2.f estbmv.f \
|
|
estbsv.f estpmv.f estpsv.f estrmv.f estrsv.f \
|
|
i1mach.f \
|
|
icamax.f idamax.f isamax.f lsame.f r1mach.f sasum.f saxpy.f \
|
|
sblas1.f sblas2.f scasum.f scnrm2.f scopy.f sdot.f sgbmv.f sgemv.f \
|
|
sger.f smach.f snrm2.f srot.f srotg.f ssbmv.f sscal.f sspmv.f \
|
|
sspr.f sspr2.f sswap.f ssymv.f ssyr.f ssyr2.f stbmv.f stbsv.f \
|
|
stpmv.f stpsv.f strmv.f strsv.f xerbla.f
|
|
|
|
# fdump.f
|
|
|
|
DISTFILES= ${SRCS:.f=.f.Z}
|
|
|
|
pre-build:
|
|
cp Makefile.lib ${WRKDIR}/Makefile
|
|
|
|
pre-extract:
|
|
chmod +x scripts/uncomp
|
|
|
|
post-install:
|
|
ldconfig -m ${PREFIX}/lib
|
|
|
|
.include <bsd.port.mk>
|