diff options
author | jlam <jlam> | 2008-03-03 00:51:43 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 00:51:43 +0000 |
commit | 47ea0a619138ec48bf6f6b8dd266feca338f19e0 (patch) | |
tree | cdb67462b5541a6566af441ea620d49ad326d24e /biology/fluctuate | |
parent | 1e4d986899bd1f99c95ee5a1ef8f9cd3fe3a3bd2 (diff) | |
download | pkgsrc-47ea0a619138ec48bf6f6b8dd266feca338f19e0.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/fluctuate')
-rw-r--r-- | biology/fluctuate/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/biology/fluctuate/Makefile b/biology/fluctuate/Makefile index 5d3d0d9a388..4e608478835 100644 --- a/biology/fluctuate/Makefile +++ b/biology/fluctuate/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2007/11/06 20:16:58 reed Exp $ +# $NetBSD: Makefile,v 1.8 2008/03/03 01:10:05 jlam Exp $ # DISTNAME= fluctuate1.4.src.doc @@ -10,6 +10,8 @@ MAINTAINER= brook@nmsu.edu HOMEPAGE= http://evolution.genetics.washington.edu/lamarc/fluctuate.html COMMENT= Estimation of population growth rate +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/fluctuate1.4 BUILD_TARGET= fluctuate @@ -21,14 +23,14 @@ EXFILES= bestree infile outfile INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/fluctuate ${PREFIX}/bin/ - ${INSTALL_DATA_DIR} ${DOCDIR} - ${INSTALL_DATA_DIR} ${EXDIR} - for f in ${DOCFILES}; do \ - ${INSTALL_DATA} ${WRKSRC}/$$f ${DOCDIR}/$$f; \ + ${INSTALL_PROGRAM} ${WRKSRC}/fluctuate ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${EXDIR} + 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" |