Fri Apr 4 23:45:57 2008 UTC ()
Fix DESTDIR installation.


(joerg)
diff -r1.17 -r1.18 pkgsrc/biology/phylip/Makefile

cvs diff -r1.17 -r1.18 pkgsrc/biology/phylip/Makefile (expand / switch to unified diff)

--- pkgsrc/biology/phylip/Makefile 2008/03/03 01:10:06 1.17
+++ pkgsrc/biology/phylip/Makefile 2008/04/04 23:45:57 1.18
@@ -1,49 +1,47 @@ @@ -1,49 +1,47 @@
1# $NetBSD: Makefile,v 1.17 2008/03/03 01:10:06 jlam Exp $ 1# $NetBSD: Makefile,v 1.18 2008/04/04 23:45:57 joerg Exp $
2 2
3DISTNAME= phylip-3.61 3DISTNAME= phylip-3.61
4PKGREVISION= 2 4PKGREVISION= 2
5CATEGORIES= biology 5CATEGORIES= biology
6MASTER_SITES= ftp://evolution.genetics.washington.edu/pub/phylip/ 6MASTER_SITES= ftp://evolution.genetics.washington.edu/pub/phylip/
7 7
8MAINTAINER= babafou@babafou.eu.org 8MAINTAINER= babafou@babafou.eu.org
9HOMEPAGE= http://evolution.genetics.washington.edu/phylip.html 9HOMEPAGE= http://evolution.genetics.washington.edu/phylip.html
10COMMENT= Phylogeny Inference Package 10COMMENT= Phylogeny Inference Package
11 11
12LICENSE= phylip-license 12LICENSE= phylip-license
13RESTRICTED= No commercial distribution without a royalty agreement with the author 13RESTRICTED= No commercial distribution without a royalty agreement with the author
14NO_SRC_ON_CDROM= ${RESTRICTED} 14NO_SRC_ON_CDROM= ${RESTRICTED}
15NO_BIN_ON_CDROM= ${RESTRICTED} 15NO_BIN_ON_CDROM= ${RESTRICTED}
16 16
17PKG_DESTDIR_SUPPORT= user-destdir 17PKG_DESTDIR_SUPPORT= user-destdir
18 18
19WRKSRC= ${WRKDIR}/${DISTNAME}/src 19WRKSRC= ${WRKDIR}/${DISTNAME}/src
20 20
21INSTALLATION_DIRS= bin 21INSTALLATION_DIRS= bin share/fonts/phylib share/doc/html/phylip
22 22
23do-install: 23do-install:
24.for PROGRAM in clique consense contml contrast dnacomp dnadist \ 24.for PROGRAM in clique consense contml contrast dnacomp dnadist \
25 dnainvar dnaml dnamlk dnamove dnapars dnapenny \ 25 dnainvar dnaml dnamlk dnamove dnapars dnapenny \
26 dolmove dollop dolpenny factor fitch gendist kitsch \ 26 dolmove dollop dolpenny factor fitch gendist kitsch \
27 mix move neighbor pars penny proml promlk protdist \ 27 mix move neighbor pars penny proml promlk protdist \
28 protpars restdist restml retree seqboot treedist \ 28 protpars restdist restml retree seqboot treedist \
29 drawgram drawtree 29 drawgram drawtree
30 ${INSTALL_PROGRAM} ${WRKSRC}/${PROGRAM} ${DESTDIR}${PREFIX}/bin 30 ${INSTALL_PROGRAM} ${WRKSRC}/${PROGRAM} ${DESTDIR}${PREFIX}/bin
31.endfor 31.endfor
32 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/fonts/phylip 
33.for FONT in font1 font2 font3 font4 font5 font6 32.for FONT in font1 font2 font3 font4 font5 font6
34 ${INSTALL_DATA} ${WRKSRC}/${FONT} ${DESTDIR}${PREFIX}/share/fonts/phylip 33 ${INSTALL_DATA} ${WRKSRC}/${FONT} ${DESTDIR}${PREFIX}/share/fonts/phylip
35.endfor 34.endfor
36 ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/phylip 
37.for HTML in clique.html consense.html contchar.html contml.html \ 35.for HTML in clique.html consense.html contchar.html contml.html \
38 contrast.html discrete.html distance.html dnacomp.html \ 36 contrast.html discrete.html distance.html dnacomp.html \
39 dnadist.html dnainvar.html dnaml.html dnamlk.html \ 37 dnadist.html dnainvar.html dnaml.html dnamlk.html \
40 dnamove.html dnapars.html dnapenny.html dollop.html \ 38 dnamove.html dnapars.html dnapenny.html dollop.html \
41 dolmove.html dolpenny.html draw.html drawgram.html \ 39 dolmove.html dolpenny.html draw.html drawgram.html \
42 drawtree.html factor.html fitch.html gendist.html \ 40 drawtree.html factor.html fitch.html gendist.html \
43 kitsch.html main.html mix.html move.html neighbor.html \ 41 kitsch.html main.html mix.html move.html neighbor.html \
44 pars.html penny.html phylip.gif phylip.html proml.html \ 42 pars.html penny.html phylip.gif phylip.html proml.html \
45 promlk.html protdist.html protpars.html restdist.html \ 43 promlk.html protdist.html protpars.html restdist.html \
46 restml.html retree.html seqboot.html sequence.html \ 44 restml.html retree.html seqboot.html sequence.html \
47 treedist.html 45 treedist.html
48 ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/${HTML} \ 46 ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/${HTML} \
49 ${DESTDIR}${PREFIX}/share/doc/html/phylip 47 ${DESTDIR}${PREFIX}/share/doc/html/phylip