source: trunk/dports/science/cell-id/Portfile

Last change on this file was 102865, checked in by jeremyhu@…, 4 years ago

tiff: Update to version 4.0.3 and revbump dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# -*- 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
2# $Id: Portfile 102865 2013-02-09 19:16:59Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                cell-id
7version             1.4.6
8revision            1
9categories          science biology
10license             LGPL-2.1+
11platforms           darwin
12maintainers         fbmc.fcen.uba.ar:abush
13description         Microscopy based cytometry segmentation software
14long_description    Cell-ID is a command line software that segments bright field \
15                    microscopy images of yeast and mammalian cells, tracks cells \
16                    over time and quantifies morphological and fluorescence \
17                    features for each cell.
18homepage            http://sourceforge.net/projects/cell-id
19master_sites        sourceforge:project/cell-id
20distname            cell_id_${version}
21use_zip             yes
22
23checksums           md5     add16051f92ff4b95ba73619cfd33036 \
24                    sha1    d3e67b45af06d136b137ac2fca1a529e0f5f803b \
25                    rmd160  1406f30acdd62d87f1135eaa5b8e791663237c70
26
27depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
28                    port:tiff
29
30post-patch {
31    reinplace "s|-static|${configure.cflags} ${configure.cc_archflags}|g" ${worksrcpath}/Makefile
32    reinplace "s|-I/local|-I${prefix}|g" ${worksrcpath}/Makefile
33    reinplace "s|-L/local/lib|-I${prefix}/lib/glib-2.0/include -L${prefix}/lib|g" ${worksrcpath}/Makefile
34    reinplace "s|rm cell|rm -f cell|g" ${worksrcpath}/Makefile
35    reinplace "s|gcc|\$(CC)|g" ${worksrcpath}/Makefile
36}
37
38use_configure       no
39
40pre-build {
41    system -W ${worksrcpath} "${build.cmd} clean"
42}
43
44build.target        cell
45build.env           CC="${configure.cc}"
46use_parallel_build  no
47
48destroot {
49    xinstall ${worksrcpath}/cell ${destroot}${prefix}/bin/cell
50    xinstall -d ${destroot}${prefix}/share/doc/${name}
51    xinstall -m 644 -W ${worksrcpath} Cell-ID-help.txt GNU_Lesser_General_Public_License.txt \
52        README.txt cell_id_description_of_output_file_R.txt \
53        cell_id_description_of_output_files_PAW.txt parameters.txt \
54        ${destroot}${prefix}/share/doc/${name}
55}
Note: See TracBrowser for help on using the repository browser.