pkgsrc/math/mtl/Makefile

32 lines
848 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.14 2018/01/01 18:16:38 rillig Exp $
DISTNAME= mtl-2.1.2-22
PKGNAME= mtl-2.1.2.22
CATEGORIES= math devel
MASTER_SITES= http://www.osl.iu.edu/download/research/mtl/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.osl.iu.edu/research/mtl/
COMMENT= Matrix Template Library
GNU_CONFIGURE= yes
NO_BUILD= yes
CONFLICTS+= mtl-2.1.2-[0-9]*
2006-07-11 02:19:20 +02:00
USE_LANGUAGES= c c++
2010-02-04 15:51:44 +01:00
INSTALLATION_DIRS+= share/doc/mtl share/examples/mtl
INSTALL_MAKE_FLAGS+= includedir=${DESTDIR}${PREFIX}/include/mtl
post-install:
${INSTALL_DATA} ${WRKSRC}/contrib/examples/*.cc \
2010-02-04 15:51:44 +01:00
${DESTDIR}${PREFIX}/share/examples/mtl
cd ${WRKSRC} && ${INSTALL_DATA} INSTALL license.mtl.txt README \
2010-02-04 15:51:44 +01:00
${DESTDIR}${PREFIX}/share/doc/mtl
do-test:
cd ${WRKSRC}/test && ${PERL5} ./bin/make_and_test.pl ${QUICK} -d ./src
.include "../../mk/bsd.pkg.mk"