Tue Jun 8 13:52:57 2010 UTC ()
Fix dependency pattern.


(wiz)
diff -r1.3 -r1.4 pkgsrc/graphics/circos/Makefile

cvs diff -r1.3 -r1.4 pkgsrc/graphics/circos/Makefile (switch to unified diff)

--- pkgsrc/graphics/circos/Makefile 2009/07/09 19:48:23 1.3
+++ pkgsrc/graphics/circos/Makefile 2010/06/08 13:52:57 1.4
@@ -1,72 +1,72 @@ @@ -1,72 +1,72 @@
1# $NetBSD: Makefile,v 1.3 2009/07/09 19:48:23 joerg Exp $ 1# $NetBSD: Makefile,v 1.4 2010/06/08 13:52:57 wiz Exp $
2# 2#
3 3
4DISTNAME= circos-0.49 4DISTNAME= circos-0.49
5PKGREVISION= 1 5PKGREVISION= 1
6CATEGORIES= graphics 6CATEGORIES= graphics
7MASTER_SITES= http://mkweb.bcgsc.ca/circos/distribution/ 7MASTER_SITES= http://mkweb.bcgsc.ca/circos/distribution/
8EXTRACT_SUFX= .tgz 8EXTRACT_SUFX= .tgz
9 9
10MAINTAINER= schmonz@NetBSD.org 10MAINTAINER= schmonz@NetBSD.org
11HOMEPAGE= http://mkweb.bcgsc.ca/circos/ 11HOMEPAGE= http://mkweb.bcgsc.ca/circos/
12COMMENT= Concise, explanatory, unique and print-ready data visualization 12COMMENT= Concise, explanatory, unique and print-ready data visualization
13#LICENSE= 13#LICENSE=
14 14
15PKG_DESTDIR_SUPPORT= user-destdir 15PKG_DESTDIR_SUPPORT= user-destdir
16 16
17USE_LANGUAGES= # none 17USE_LANGUAGES= # none
18USE_TOOLS+= pax perl bash:run 18USE_TOOLS+= pax perl bash:run
19NO_BUILD= yes 19NO_BUILD= yes
20 20
21DEPENDS+= p5-Clone-[0-9]*:../../devel/p5-Clone 21DEPENDS+= p5-Clone-[0-9]*:../../devel/p5-Clone
22DEPENDS+= p5-Config-General-[0-9]*:../../devel/p5-Config-General 22DEPENDS+= p5-Config-General-[0-9]*:../../devel/p5-Config-General
23DEPENDS+= p5-GD-[0-9]*:../../graphics/p5-GD 23DEPENDS+= p5-GD-[0-9]*:../../graphics/p5-GD
24DEPENDS+= p5-Math-Bezier-[0-9]*:../../math/p5-Math-Bezier 24DEPENDS+= p5-Math-Bezier-[0-9]*:../../math/p5-Math-Bezier
25DEPENDS+= p5-Math-Round-[0-9]*:../../math/p5-Math-Round 25DEPENDS+= p5-Math-Round-[0-9]*:../../math/p5-Math-Round
26DEPENDS+= p5-Math-VecStat-[0-9]*:../../math/p5-Math-VecStat 26DEPENDS+= p5-Math-VecStat-[0-9]*:../../math/p5-Math-VecStat
27DEPENDS+= p5-Params-Validate-[0-9]*:../../devel/p5-Params-Validate 27DEPENDS+= p5-Params-Validate-[0-9]*:../../devel/p5-Params-Validate
28DEPENDS+= p5-Set-IntSpan>=1.11*:../../devel/p5-Set-IntSpan 28DEPENDS+= p5-Set-IntSpan>=1.11:../../devel/p5-Set-IntSpan
29 29
30PKG_SYSCONFSUBDIR= ${PKGBASE} 30PKG_SYSCONFSUBDIR= ${PKGBASE}
31INSTALLATION_DIRS+= bin share/${PKGBASE} ${FONTDIR} ${EGDIR} 31INSTALLATION_DIRS+= bin share/${PKGBASE} ${FONTDIR} ${EGDIR}
32INSTALLATION_DIRS+= share/doc/${PKGBASE} 32INSTALLATION_DIRS+= share/doc/${PKGBASE}
33EGDIR= share/examples/${PKGBASE} 33EGDIR= share/examples/${PKGBASE}
34 34
35CONF_FILES+= ${EGDIR}/colors.conf ${PKG_SYSCONFDIR}/colors.conf 35CONF_FILES+= ${EGDIR}/colors.conf ${PKG_SYSCONFDIR}/colors.conf
36CONF_FILES+= ${EGDIR}/fonts.conf ${PKG_SYSCONFDIR}/fonts.conf 36CONF_FILES+= ${EGDIR}/fonts.conf ${PKG_SYSCONFDIR}/fonts.conf
37 37
38SUBST_CLASSES+= paths 38SUBST_CLASSES+= paths
39SUBST_STAGE.paths= do-configure 39SUBST_STAGE.paths= do-configure
40SUBST_FILES.paths= */*/*/circos*.conf bin/circos 40SUBST_FILES.paths= */*/*/circos*.conf bin/circos
41SUBST_SED.paths+= -e 's|<<include etc/\(.*\)>>|<<include ${PKG_SYSCONFDIR}/\1>>|g' 41SUBST_SED.paths+= -e 's|<<include etc/\(.*\)>>|<<include ${PKG_SYSCONFDIR}/\1>>|g'
42SUBST_SED.paths+= -e 's|@PREFIX@|${PREFIX}|g' 42SUBST_SED.paths+= -e 's|@PREFIX@|${PREFIX}|g'
43 43
44REPLACE_PERL+= data/3/make_random_highlights data/6/hist.random.make 44REPLACE_PERL+= data/3/make_random_highlights data/6/hist.random.make
45REPLACE_PERL+= svg/textrotation.svg 45REPLACE_PERL+= svg/textrotation.svg
46 46
47REPLACE_BASH+= data/6/gene.density 47REPLACE_BASH+= data/6/gene.density
48 48
49post-extract: 49post-extract:
50 cd ${WRKSRC} && rm -f bin/${PKGBASE} \ 50 cd ${WRKSRC} && rm -f bin/${PKGBASE} \
51 && mv bin/${PKGNAME_NOREV} bin/${PKGBASE} 51 && mv bin/${PKGNAME_NOREV} bin/${PKGBASE}
52 52
53do-configure: 53do-configure:
54 cd ${WRKSRC} && ( ${ECHO} ${PERL5:Q} ; ${ECHO} ) | ${BASH} ./install 54 cd ${WRKSRC} && ( ${ECHO} ${PERL5:Q} ; ${ECHO} ) | ${BASH} ./install
55 55
56pre-configure: 56pre-configure:
57 cd ${WRKSRC} && rm -f bin/*.orig 57 cd ${WRKSRC} && rm -f bin/*.orig
58 58
59do-install: 59do-install:
60 cd ${WRKSRC} && \ 60 cd ${WRKSRC} && \
61 for f in CHANGES README TODO; do \ 61 for f in CHANGES README TODO; do \
62 ${INSTALL_DATA} $${f} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}; \ 62 ${INSTALL_DATA} $${f} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}; \
63 done; \ 63 done; \
64 for f in bin/*; do \ 64 for f in bin/*; do \
65 ${INSTALL_SCRIPT} $${f} ${DESTDIR}${PREFIX}/bin; \ 65 ${INSTALL_SCRIPT} $${f} ${DESTDIR}${PREFIX}/bin; \
66 done; \ 66 done; \
67 for f in etc/*; do \ 67 for f in etc/*; do \
68 ${INSTALL_DATA} $${f} ${DESTDIR}${PREFIX}/${EGDIR}; \ 68 ${INSTALL_DATA} $${f} ${DESTDIR}${PREFIX}/${EGDIR}; \
69 done; \ 69 done; \
70 pax -rw -pp data fonts images svg tutorials ${DESTDIR}${PREFIX}/share/circos 70 pax -rw -pp data fonts images svg tutorials ${DESTDIR}${PREFIX}/share/circos
71 71
72.include "../../mk/bsd.pkg.mk" 72.include "../../mk/bsd.pkg.mk"