diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
commit | ba171a91fab519f587b027c1a2888cb6e3fce049 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /biology/puzzle/Makefile | |
parent | 3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff) | |
download | pkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'biology/puzzle/Makefile')
-rw-r--r-- | biology/puzzle/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/biology/puzzle/Makefile b/biology/puzzle/Makefile index 2f85bbe3c83..4398dbcc0c8 100644 --- a/biology/puzzle/Makefile +++ b/biology/puzzle/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2007/06/08 18:35:22 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2008/06/12 02:14:15 joerg Exp $ DISTNAME= tree-puzzle-5.1 PKGNAME= puzzle-5.1 @@ -12,18 +12,20 @@ MAINTAINER= babafou@babafou.eu.org HOMEPAGE= http://www.tree-puzzle.de/ COMMENT= Maximum likelihood analysis of molecular sequence data +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes +INSTALLATION_DIRS= share/doc/puzzle share/doc/html/puzzle \ + share/examples/puzzle + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/puzzle cd ${WRKSRC}/doc && ${INSTALL_DATA} tree-puzzle.pdf \ - ${PREFIX}/share/doc/puzzle - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/puzzle + ${DESTDIR}${PREFIX}/share/doc/puzzle cd ${WRKSRC}/doc && ${INSTALL_DATA} tree-puzzle.html \ - *.gif ${PREFIX}/share/doc/html/puzzle - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/puzzle + *.gif ${DESTDIR}${PREFIX}/share/doc/html/puzzle cd ${WRKSRC}/data && ${INSTALL_DATA} EF.* *.a *.n *.b \ - ${PREFIX}/share/examples/puzzle + ${DESTDIR}${PREFIX}/share/examples/puzzle .include "../../parallel/mpi-ch/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |