From ba171a91fab519f587b027c1a2888cb6e3fce049 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 12 Jun 2008 02:14:13 +0000 Subject: Add DESTDIR support. --- biology/puzzle/Makefile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'biology/puzzle') 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" -- cgit v1.2.3