blob: d03f65d8f2a4fa3d5aad08c5c237d01bae368422 (
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
|
# $NetBSD: Makefile,v 1.9 2006/06/01 19:30:12 joerg Exp $
#
DISTNAME= newmat10 # actually newmat10B, but no such distfile
PKGNAME= ${DISTNAME:C/([0-9]+)$/-\1/}
PKGREVISION= 1
CATEGORIES= math devel
MASTER_SITES= http://www.robertnz.net/ftp/
MAINTAINER= jschauma@NetBSD.org
HOMEPAGE= http://www.robertnz.net/ol_doc.htm
COMMENT= Newmat C++ Matrix Library
WRKSRC= ${WRKDIR}
DIST_SUBDIR= newmat10B
MAKEFILE= nm_cc.mak
BUILD_TARGET= garch
USE_LANGUAGES= c++
HEADERS= boolean.h controlw.h include.h myexcept.h newmat.h \
newmatap.h newmatio.h newmatnl.h newmatrc.h precisio.h
DOCDIR= ${PREFIX}/share/doc/html/newmat
INSTALLATION_DIRS= lib
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/include/newmat
.for header in ${HEADERS}
${INSTALL_DATA} ${WRKSRC}/${header} ${PREFIX}/include/newmat
.endfor
${INSTALL_DATA} ${WRKSRC}/libnewmat.a ${PREFIX}/lib
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/nm10.htm ${DOCDIR}/index.html
.include "../../mk/bsd.pkg.mk"
|