# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
categories science biology
maintainers fbmc.fcen.uba.ar:abush
description Microscopy based cytometry segmentation software
long_description Cell-ID is a command line software that segments bright field \
microscopy images of yeast and mammalian cells, tracks cells \
over time and quantifies morphological and fluorescence \
homepage http://sourceforge.net/projects/cell-id
master_sites sourceforge:project/cell-id
distname cell_id_${version}
checksums md5 add16051f92ff4b95ba73619cfd33036 \
sha1 d3e67b45af06d136b137ac2fca1a529e0f5f803b \
rmd160 1406f30acdd62d87f1135eaa5b8e791663237c70
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
reinplace "s|-static|${configure.cflags} ${configure.cc_archflags}|g" ${worksrcpath}/Makefile
reinplace "s|-I/local|-I${prefix}|g" ${worksrcpath}/Makefile
reinplace "s|-L/local/lib|-I${prefix}/lib/glib-2.0/include -L${prefix}/lib|g" ${worksrcpath}/Makefile
reinplace "s|rm cell|rm -f cell|g" ${worksrcpath}/Makefile
reinplace "s|gcc|\$(CC)|g" ${worksrcpath}/Makefile
system -W ${worksrcpath} "${build.cmd} clean"
build.env CC=${configure.cc}
xinstall ${worksrcpath}/cell ${destroot}${prefix}/bin/cell
xinstall -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} Cell-ID-help.txt GNU_Lesser_General_Public_License.txt \
README.txt cell_id_description_of_output_file_R.txt \
cell_id_description_of_output_files_PAW.txt parameters.txt \
${destroot}${prefix}/share/doc/${name}