diff options
author | schmonz <schmonz@pkgsrc.org> | 2009-04-21 17:51:05 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2009-04-21 17:51:05 +0000 |
commit | a6c1a37a8f3ee679cfaead457bfe3d2b2c629ec4 (patch) | |
tree | 46eb1e0e13568b5c30389faa5fcba71ca13cc5f7 /graphics/circos/Makefile | |
parent | ebfb87ea8fb2c8f3b3b9e22d0b98a6236d473380 (diff) | |
download | pkgsrc-a6c1a37a8f3ee679cfaead457bfe3d2b2c629ec4.tar.gz |
Initial import of graphics/circos.
Circos is a Perl application for the generation of publication-quality,
circularly composited renditions of genomic data and related annotations.
Circos is particularly suited for visualizing alignments, conservation and
intra and inter-chromosomal relationships.
Approved by: groo
Diffstat (limited to 'graphics/circos/Makefile')
-rw-r--r-- | graphics/circos/Makefile | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/graphics/circos/Makefile b/graphics/circos/Makefile new file mode 100644 index 00000000000..26f559d083d --- /dev/null +++ b/graphics/circos/Makefile @@ -0,0 +1,69 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/04/21 17:51:05 schmonz Exp $ +# + +DISTNAME= circos-0.49 +CATEGORIES= graphics +MASTER_SITES= http://mkweb.bcgsc.ca/circos/distribution/ +EXTRACT_SUFX= .tgz + +MAINTAINER= schmonz@NetBSD.org +HOMEPAGE= http://mkweb.bcgsc.ca/circos/ +COMMENT= Concise, explanatory, unique and print-ready data visualization +#LICENSE= + +USE_LANGUAGES= # none +USE_TOOLS+= pax perl +NO_BUILD= yes + +DEPENDS+= p5-Clone-[0-9]*:../../devel/p5-Clone +DEPENDS+= p5-Config-General-[0-9]*:../../devel/p5-Config-General +DEPENDS+= p5-GD-[0-9]*:../../graphics/p5-GD +DEPENDS+= p5-Math-Bezier-[0-9]*:../../math/p5-Math-Bezier +DEPENDS+= p5-Math-Round-[0-9]*:../../math/p5-Math-Round # XXX commit +DEPENDS+= p5-Math-VecStat-[0-9]*:../../math/p5-Math-VecStat # XXX +DEPENDS+= p5-Params-Validate-[0-9]*:../../devel/p5-Params-Validate +DEPENDS+= p5-Set-IntSpan>=1.11*:../../devel/p5-Set-IntSpan + +PKG_SYSCONFSUBDIR= ${PKGBASE} +INSTALLATION_DIRS+= bin share/${PKGBASE} ${FONTDIR} ${EGDIR} +INSTALLATION_DIRS+= share/doc/${PKGBASE} +EGDIR= share/examples/${PKGBASE} + +CONF_FILES+= ${EGDIR}/colors.conf ${PKG_SYSCONFDIR}/colors.conf +CONF_FILES+= ${EGDIR}/fonts.conf ${PKG_SYSCONFDIR}/fonts.conf + +SUBST_CLASSES+= paths +SUBST_STAGE.paths= do-configure +SUBST_FILES.paths= */*/*/circos*.conf bin/circos +SUBST_SED.paths+= -e 's|<<include etc/\(.*\)>>|<<include ${PKG_SYSCONFDIR}/\1>>|g' +SUBST_SED.paths+= -e 's|@PREFIX@|${PREFIX}|g' + +REPLACE_PERL+= data/3/make_random_highlights data/6/hist.random.make +REPLACE_PERL+= svg/textrotation.svg + +post-extract: + cd ${WRKSRC} && rm -f bin/${PKGBASE} \ + && mv bin/${PKGNAME_NOREV} bin/${PKGBASE} + +do-configure: + cd ${WRKSRC} && ( ${ECHO} ${PERL5:Q} ; ${ECHO} ) | ./install + +pre-configure: + cd ${WRKSRC} && rm -f bin/*.orig + +do-install: + cd ${WRKSRC} && \ + for f in CHANGES README TODO; do \ + ${INSTALL_DATA} $${f} ${PREFIX}/share/doc/${PKGBASE}; \ + done; \ + for f in bin/*; do \ + ${INSTALL_SCRIPT} $${f} ${PREFIX}/bin; \ + done; \ + for f in etc/*; do \ + ${INSTALL_DATA} $${f} ${PREFIX}/${EGDIR}; \ + done; \ + pax -rw -pp data fonts images svg tutorials ${PREFIX}/share/circos + # XXX install recursively data,images,svg,tutorials to share/circos + # XXX then see if stuff works, find more paths to fix + +.include "../../mk/bsd.pkg.mk" |