Date: Fri, 20 Jun 2014 19:03:21 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r358631 - head/math/lapack++ Message-ID: <201406201903.s5KJ3Loi073491@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Fri Jun 20 19:03:20 2014 New Revision: 358631 URL: http://svnweb.freebsd.org/changeset/ports/358631 QAT: https://qat.redports.org/buildarchive/r358631/ Log: - Support staging - Use new LIB_DEPENDS syntax - Switch to USES=libtool, drop .la files Approved by: portmgr blanket Modified: head/math/lapack++/Makefile head/math/lapack++/pkg-plist Modified: head/math/lapack++/Makefile ============================================================================== --- head/math/lapack++/Makefile Fri Jun 20 18:48:19 2014 (r358630) +++ head/math/lapack++/Makefile Fri Jun 20 19:03:20 2014 (r358631) @@ -3,7 +3,7 @@ PORTNAME= lapack++ PORTVERSION= 2.5.3 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= math MASTER_SITES= SF/lapackpp/lapackpp/${PORTVERSION} \ http://math.nist.gov/lapack++/:doc @@ -19,19 +19,18 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUF MAINTAINER= maho@FreeBSD.org COMMENT= Linear Algebra PACKage in C++, a wrapper for LAPACK -USES= fortran gmake pathfix +USES= fortran gmake pathfix libtool -NO_STAGE= yes .include <bsd.port.pre.mk> .if exists(${LOCALBASE}/lib/libatlas.so) && !defined(WITH_BLAS) WITH_ATLAS= yes .endif .if defined(WITH_ATLAS) -LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas +LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas .else -LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas -LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack +LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas +LIB_DEPENDS+= liblapack.so:${PORTSDIR}/math/lapack .endif GNU_CONFIGURE= yes @@ -49,14 +48,13 @@ LAPACK_LIB= -L${LOCALBASE}/lib -llapack #lapack++ forces to use atlas when detected, so we should disable here. CONFIGURE_ARGS+= --with-blas="${BLAS_LIB}" --with-lapack="${LAPACK_LIB}" --disable-atlas --enable-static -do-install: - @(cd ${WRKSRC} ; ${GMAKE} install) +post-install: .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/lapack++.ps.gz ${DOCSDIR} - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/lapack++_install.ps.gz ${DOCSDIR} - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/lapackpp1_1.ps.gz ${DOCSDIR} - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/lapackppman1_1.ps.gz ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/lapack++.ps.gz ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/lapack++_install.ps.gz ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/lapackpp1_1.ps.gz ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/lapackppman1_1.ps.gz ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.post.mk> Modified: head/math/lapack++/pkg-plist ============================================================================== --- head/math/lapack++/pkg-plist Fri Jun 20 18:48:19 2014 (r358630) +++ head/math/lapack++/pkg-plist Fri Jun 20 19:03:20 2014 (r358631) @@ -61,9 +61,9 @@ include/lapackpp/vf.h include/lapackpp/vi.h include/lapackpp/vli.h lib/liblapackpp.a -lib/liblapackpp.la lib/liblapackpp.so -lib/liblapackpp.so.16 +lib/liblapackpp.so.14 +lib/liblapackpp.so.14.2.0 libdata/pkgconfig/lapackpp.pc share/aclocal/acx_lapackpp.m4 @dirrm include/lapackpp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406201903.s5KJ3Loi073491>