diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-04 14:51:44 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-04 14:51:44 +0000 |
commit | 4b5389e83d3b1410f9ec26ddcdfdf1abdb5345a4 (patch) | |
tree | 81a3e23530a37cc3cc045606120c4147937974bf /math/mtl/Makefile | |
parent | b620b7f1552a7e876d633741668e9db02de26e94 (diff) | |
download | pkgsrc-4b5389e83d3b1410f9ec26ddcdfdf1abdb5345a4.tar.gz |
DESTDIR support
Diffstat (limited to 'math/mtl/Makefile')
-rw-r--r-- | math/mtl/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/math/mtl/Makefile b/math/mtl/Makefile index fe35f33ca60..c3035397e64 100644 --- a/math/mtl/Makefile +++ b/math/mtl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2008/03/10 10:33:38 wiz Exp $ +# $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 @@ -9,18 +9,22 @@ 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_DIR} ${PREFIX}/share/examples/mtl ${INSTALL_DATA} ${WRKSRC}/contrib/examples/*.cc \ - ${PREFIX}/share/examples/mtl - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mtl + ${DESTDIR}${PREFIX}/share/examples/mtl cd ${WRKSRC} && ${INSTALL_DATA} INSTALL LICENSE README \ - ${PREFIX}/share/doc/mtl + ${DESTDIR}${PREFIX}/share/doc/mtl .include "../../mk/bsd.pkg.mk" |