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/clustalw | |
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/clustalw')
-rw-r--r-- | biology/clustalw/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/biology/clustalw/Makefile b/biology/clustalw/Makefile index 4e5c6551a91..220ee238e19 100644 --- a/biology/clustalw/Makefile +++ b/biology/clustalw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2006/10/04 20:47:03 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2008/03/03 01:10:05 jlam Exp $ DISTNAME= clustalw1.83.UNIX PKGNAME= clustalw-1.83 @@ -11,6 +11,7 @@ HOMEPAGE= http://bips.u-strasbg.fr/fr/Documentation/ClustalW/ COMMENT= General purpose multiple alignment program for DNA or proteins PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir MAKE_FILE= makefile BUILD_TARGET= clustalw @@ -26,10 +27,11 @@ post-patch: && ${MV} ${WRKSRC}/clustalw.c.tmp ${WRKSRC}/clustalw.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/clustalw ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/clustalw + ${INSTALL_PROGRAM} ${WRKSRC}/clustalw ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/clustalw for f in clustalv.doc clustalw.doc clustalw.ms clustalw_help; do \ - ${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/clustalw; \ + ${INSTALL_DATA} ${WRKSRC}/$$f \ + ${DESTDIR}${PREFIX}/share/doc/clustalw; \ done .include "../../mk/bsd.pkg.mk" |