diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 00:51:43 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 00:51:43 +0000 |
commit | 075003a60c727330726570ab7674a2ee12c5654f (patch) | |
tree | cdb67462b5541a6566af441ea620d49ad326d24e /biology/coalesce | |
parent | bd579f3497266e46fb3a16428bf69c529a427d58 (diff) | |
download | pkgsrc-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/coalesce')
-rw-r--r-- | biology/coalesce/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/biology/coalesce/Makefile b/biology/coalesce/Makefile index 85d25fbd57e..38e89e67510 100644 --- a/biology/coalesce/Makefile +++ b/biology/coalesce/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2005/06/16 06:57:40 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2008/03/03 01:10:05 jlam Exp $ # DISTNAME= coalesce1.5b @@ -10,6 +10,8 @@ MAINTAINER= brook@nmsu.edu HOMEPAGE= http://evolution.genetics.washington.edu/lamarc/coalesce.html COMMENT= Estimates effective population size and mutation rate +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/coalesce1.5beta BUILD_TARGET= coalesce @@ -21,14 +23,14 @@ EXFILES= bestree infile intree outfile parmfile seedfile INSTALLATION_DIRS= bin do-install: - ${INSTALL_DATA_DIR} ${DOCDIR} - ${INSTALL_DATA_DIR} ${EXDIR} - ${INSTALL_PROGRAM} ${WRKSRC}/coalesce ${PREFIX}/bin/ - for f in ${DOCFILES}; do \ - ${INSTALL_DATA} ${WRKSRC}/$$f ${DOCDIR}/$$f; \ + ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${EXDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/coalesce ${DESTDIR}${PREFIX}/bin + for f in ${DOCFILES}; do \ + ${INSTALL_DATA} ${WRKSRC}/$$f ${DESTDIR}${DOCDIR}/$$f; \ done - for f in ${EXFILES}; do \ - ${INSTALL_DATA} ${WRKSRC}/$$f ${EXDIR}/$$f; \ + for f in ${EXFILES}; do \ + ${INSTALL_DATA} ${WRKSRC}/$$f ${DESTDIR}${EXDIR}/$$f; \ done .include "../../mk/bsd.pkg.mk" |