1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/math/lapack++/Makefile
Ying-Chieh Liao c93bf47f91 add lapack++ 1.1
Linear Algebra PACKage in C++, a wrapper for LAPACK

PR:		39653
Submitted by:	Nakata Maho <chat95@mbox.kyoto-inet.or.jp>
2002-06-22 17:10:55 +00:00

46 lines
1.2 KiB
Makefile

# New ports collection makefile for: lapack++
# Date created: 5 May 2002
# Whom: NAKATA Maho <chat95@mbox.kyoto-inet.or.jp>
#
# $FreeBSD$
#
PORTNAME= lapack++
PORTVERSION= 1.1
CATEGORIES= math
MASTER_SITES= http://math.nist.gov/lapack++/
DISTFILES= Lapackpp1_1a.tgz
DIST_SUBDIR= lapack++
EXTRACT_ONLY= Lapackpp1_1a.tgz
.if !defined(NOPORTDOCS)
DISTFILES+= lapack++.ps.gz lapackpp1_1.ps.gz lapackppman1_1.ps.gz \
lapack++_install.ps.gz
.endif
MAINTAINER= chat95@mbox.kyoto-inet.or.jp
LIB_DEPENDS= lapack:${PORTSDIR}/math/lapack \
atlas:${PORTSDIR}/math/atlas
WRKSRC= ${WRKDIR}/Lapackpp1.1a
post-patch:
@(cd ${WRKSRC} ; ${MV} makefile Makefile)
do-install:
.for i in libblas++ liblamatrix++ liblapack++
${INSTALL_DATA} ${WRKSRC}/${i}.a ${PREFIX}/lib
.endfor
@${MKDIR} ${PREFIX}/include/lapack++
${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/lapack++
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${CP} ${DISTDIR}/${DIST_SUBDIR}/lapack++.ps.gz ${DOCSDIR}
${CP} ${DISTDIR}/${DIST_SUBDIR}/lapack++_install.ps.gz ${DOCSDIR}
${CP} ${DISTDIR}/${DIST_SUBDIR}/lapackpp1_1.ps.gz ${DOCSDIR}
${CP} ${DISTDIR}/${DIST_SUBDIR}/lapackppman1_1.ps.gz ${DOCSDIR}
.endif
.include <bsd.port.mk>