[94916] trunk/dports/science
jmr at macports.org
jmr at macports.org
Mon Jul 2 04:56:26 PDT 2012
Revision: 94916
https://trac.macports.org/changeset/94916
Author: jmr at macports.org
Date: 2012-07-02 04:56:23 -0700 (Mon, 02 Jul 2012)
Log Message:
-----------
New port: cell-id, Microscopy based cytometry segmentation software (#32448)
Added Paths:
-----------
trunk/dports/science/cell-id/
trunk/dports/science/cell-id/Portfile
Added: trunk/dports/science/cell-id/Portfile
===================================================================
--- trunk/dports/science/cell-id/Portfile (rev 0)
+++ trunk/dports/science/cell-id/Portfile 2012-07-02 11:56:23 UTC (rev 94916)
@@ -0,0 +1,54 @@
+# -*- 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
+# $Id$
+
+PortSystem 1.0
+
+name cell-id
+version 1.4.6
+categories science biology
+license LGPL-2.1+
+platforms darwin
+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 \
+ features for each cell.
+homepage http://sourceforge.net/projects/cell-id
+master_sites sourceforge:project/cell-id
+distname cell_id_${version}
+use_zip yes
+
+checksums md5 add16051f92ff4b95ba73619cfd33036 \
+ sha1 d3e67b45af06d136b137ac2fca1a529e0f5f803b \
+ rmd160 1406f30acdd62d87f1135eaa5b8e791663237c70
+
+depends_lib port:glib2 \
+ port:tiff
+
+post-patch {
+ 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
+}
+
+use_configure no
+
+pre-build {
+ system -W ${worksrcpath} "${build.cmd} clean"
+}
+
+build.target cell
+build.env CC="${configure.cc}"
+use_parallel_build no
+
+destroot {
+ 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}
+}
Property changes on: trunk/dports/science/cell-id/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120702/c20c87a8/attachment.html>
More information about the macports-changes
mailing list