mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# New ports collection makefile for: LinAlg
|
|
# Date created: August 25, 1999
|
|
# Whom: Oleg Kiselyov <oleg@pobox.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= linalg
|
|
PORTVERSION= 4.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= math
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= arved
|
|
|
|
MAINTAINER= oleg@pobox.com
|
|
COMMENT= C++ Linear Algebra and Optimization classlib
|
|
|
|
WRKSRC= ${WRKDIR}/LinAlg
|
|
ALL_TARGET= lib
|
|
INSTALL_TARGET= lib
|
|
USE_GMAKE= yes
|
|
|
|
post-install:
|
|
$(INSTALL_DATA) ${WRKSRC}/libla.a ${PREFIX}/lib
|
|
${MKDIR} ${PREFIX}/include/LinAlg
|
|
$(INSTALL_DATA) ${WRKSRC}/LinAlg.h ${PREFIX}/include/LinAlg
|
|
$(INSTALL_DATA) ${WRKSRC}/LAStreams.h ${PREFIX}/include/LinAlg
|
|
$(INSTALL_DATA) ${WRKSRC}/builtin.h ${PREFIX}/include/LinAlg
|
|
$(INSTALL_DATA) ${WRKSRC}/math_num.h ${PREFIX}/include/LinAlg
|
|
$(INSTALL_DATA) ${WRKSRC}/minmax.h ${PREFIX}/include/LinAlg
|
|
$(INSTALL_DATA) ${WRKSRC}/myenv.h ${PREFIX}/include/LinAlg
|
|
$(INSTALL_DATA) ${WRKSRC}/std.h ${PREFIX}/include/LinAlg
|
|
$(INSTALL_DATA) ${WRKSRC}/svd.h ${PREFIX}/include/LinAlg
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/LinAlg
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/LinAlg
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 700042
|
|
BROKEN= Does not compile with GCC 4.2
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|