pkgsrc/math/mtl/Makefile
2010-02-04 14:51:44 +00:00

30 lines
792 B
Makefile

# $NetBSD: Makefile,v 1.10 2010/02/04 14:51:44 joerg Exp $
DISTNAME= mtl-2.1.2-21
PKGNAME= mtl-2.1.2.21
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
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
NO_BUILD= yes
CONFLICTS+= mtl-2.1.2-[0-9]*
USE_LANGUAGES= c c++
INSTALLATION_DIRS+= share/doc/mtl share/examples/mtl
INSTALL_MAKE_FLAGS+= includedir=${DESTDIR}${PREFIX}/include/mtl
post-install:
${INSTALL_DATA} ${WRKSRC}/contrib/examples/*.cc \
${DESTDIR}${PREFIX}/share/examples/mtl
cd ${WRKSRC} && ${INSTALL_DATA} INSTALL LICENSE README \
${DESTDIR}${PREFIX}/share/doc/mtl
.include "../../mk/bsd.pkg.mk"