summaryrefslogtreecommitdiff
path: root/biology/fastDNAml
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 00:51:43 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 00:51:43 +0000
commit075003a60c727330726570ab7674a2ee12c5654f (patch)
treecdb67462b5541a6566af441ea620d49ad326d24e /biology/fastDNAml
parentbd579f3497266e46fb3a16428bf69c529a427d58 (diff)
downloadpkgsrc-075003a60c727330726570ab7674a2ee12c5654f.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'biology/fastDNAml')
-rw-r--r--biology/fastDNAml/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/biology/fastDNAml/Makefile b/biology/fastDNAml/Makefile
index ef7ec12fc43..4e80c773e7a 100644
--- a/biology/fastDNAml/Makefile
+++ b/biology/fastDNAml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/06/16 06:57:40 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2008/03/03 01:10:05 jlam Exp $
DISTNAME= fastDNAml_1.2.2
PKGNAME= fastDNAml-1.2.2
@@ -9,12 +9,14 @@ MAINTAINER= babafou@babafou.eu.org
HOMEPAGE= http://geta.life.uiuc.edu/~gary/programs/fastDNAml.html
COMMENT= Program derived from Joseph Felsenstein's version 3.3 DNAML
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${DISTNAME}/source
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/fastDNAml ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/fastDNAml ${DESTDIR}${PREFIX}/bin
.for SCRIPT in ae2dnaml bootstrap categories categories_file \
checkpoint_summary clean_checkpoints clean_jumbles \
dnaml_progress fastDNAml_boot fastDNAml_loop \
@@ -23,11 +25,13 @@ do-install:
quickadd restart scores transition treefile \
treefile2prolog trees2NEXUS trees2prolog userlengths \
usertree usertrees weights weights_categories
- ${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/scripts/${SCRIPT} ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/scripts/${SCRIPT} \
+ ${DESTDIR}${PREFIX}/bin
.endfor
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fastDNAml
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/fastDNAml
.for DOC in fastDNAml_doc_1.2.txt fastDNAml_scripts.txt
- ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/docs/${DOC} ${PREFIX}/share/doc/fastDNAml
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/docs/${DOC} \
+ ${DESTDIR}${PREFIX}/share/doc/fastDNAml
.endfor
.include "../../mk/bsd.pkg.mk"