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/mummer | |
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/mummer')
-rw-r--r-- | biology/mummer/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/biology/mummer/Makefile b/biology/mummer/Makefile index 97281c2c9c3..cd54bbe48dd 100644 --- a/biology/mummer/Makefile +++ b/biology/mummer/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2007/01/18 19:13:10 rillig Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/03 01:10:06 jlam Exp $ # DISTNAME= MUMmer3.19 @@ -10,6 +10,8 @@ MAINTAINER= hdp@cs.nmsu.edu HOMEPAGE= http://mummer.sourceforge.net/ COMMENT= System for aligning whole genome sequences +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${DISTNAME} USE_TOOLS+= csh:run gmake perl:run USE_LANGUAGES= c c++ @@ -22,15 +24,16 @@ INSTALLATION_DIRS= bin share/doc/mummer share/mummer do-install: .for p in annotate combineMUMs delta-filter gaps mgaps mummer \ repeat-match show-aligns show-coords show-snps show-tiling - ${INSTALL_PROGRAM} ${WRKSRC}/${p} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${p} ${DESTDIR}${PREFIX}/bin .endfor .for p in postnuc postpro prenuc prepro - ${INSTALL_PROGRAM} ${WRKSRC}/aux_bin/${p} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/aux_bin/${p} ${DESTDIR}${PREFIX}/bin .endfor .for f in run-mummer1 run-mummer3 nucmer promer exact-tandems \ mapview mummerplot nucmer2xfig - ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/share/mummer + ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/mummer .endfor - cd ${WRKSRC}/docs && pax -wr -s ',^Makefile$$,,' * ${PREFIX}/share/doc/mummer + cd ${WRKSRC}/docs && pax -wr -s ',^Makefile$$,,' * \ + ${DESTDIR}${PREFIX}/share/doc/mummer .include "../../mk/bsd.pkg.mk" |