diff options
Diffstat (limited to 'math/blas/Makefile')
-rw-r--r-- | math/blas/Makefile | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/math/blas/Makefile b/math/blas/Makefile index d1cedc2f21a..9de386e52b3 100644 --- a/math/blas/Makefile +++ b/math/blas/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.23 2007/12/02 12:14:15 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2008/03/07 07:14:24 jlam Exp $ # DISTNAME= blas -PKGNAME= blas-1.0 -PKGREVISION= 3 +PKGNAME= blas-1.1 CATEGORIES= math MASTER_SITES= ftp://ftp.netlib.org/blas/ EXTRACT_SUFX= .tgz @@ -13,11 +12,20 @@ HOMEPAGE= http://www.netlib.org/blas/ COMMENT= Basic Linear Algebra Subprograms (Fortran) PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir -WRKSRC= ${WRKDIR} +DIST_SUBDIR= ${PKGNAME_NOREV} +WRKSRC= ${WRKDIR}/BLAS USE_LANGUAGES= c fortran -USE_LIBTOOL= YES +USE_LIBTOOL= yes -INSTALLATION_DIRS= lib +# Pass along the major and minor of the version number as the major and +# minor of the shared library to be built. +# +MAKE_ENV+= SHLIB_MAJOR=${PKGNAME_NOREV:S/${PKGBASE}-//:C/[.].*$//} +MAKE_ENV+= SHLIB_MINOR=${PKGNAME_NOREV:S/${PKGBASE}-//:C/^.*[.]//} + +post-extract: + cp -f ${FILESDIR}/Makefile.blas ${WRKSRC}/Makefile .include "../../mk/bsd.pkg.mk" |