summaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-12 02:14:13 +0000
committerjoerg <joerg>2008-06-12 02:14:13 +0000
commit39d7fb93432416d872ed34e0025741cc93068c06 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /biology
parentcce8b72ae5b66d3a54ac565ef8ac6780597301bc (diff)
downloadpkgsrc-39d7fb93432416d872ed34e0025741cc93068c06.tar.gz
Add DESTDIR support.
Diffstat (limited to 'biology')
-rw-r--r--biology/puzzle/Makefile16
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"