summaryrefslogtreecommitdiffstats
path: root/math/linalg/Makefile
blob: 47e9e46f70cbcb801997c7d2b4556e84f6042b80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# 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

.include <bsd.port.pre.mk>

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.post.mk>
OpenPOWER on IntegriCloud