[41666] trunk/dports/science

mr_bond at macports.org mr_bond at macports.org
Sat Nov 8 13:27:46 PST 2008


Revision: 41666
          http://trac.macports.org/changeset/41666
Author:   mr_bond at macports.org
Date:     2008-11-08 13:27:45 -0800 (Sat, 08 Nov 2008)
Log Message:
-----------
science/xmedcon: New port submission, (X)MedCon 0.10.4.
 - Thanks to krunk-, for taking maintainership on this port.

Added Paths:
-----------
    trunk/dports/science/xmedcon/
    trunk/dports/science/xmedcon/Portfile

Added: trunk/dports/science/xmedcon/Portfile
===================================================================
--- trunk/dports/science/xmedcon/Portfile	                        (rev 0)
+++ trunk/dports/science/xmedcon/Portfile	2008-11-08 21:27:45 UTC (rev 41666)
@@ -0,0 +1,47 @@
+PortSystem          1.0
+
+name                xmedcon
+version             0.10.4
+categories          science graphics 
+maintainers         jameskyle at ucla.edu
+description         an open source toolkit for medical image conversion
+long_description    xmedcon is a framework specifically designed to resolve the complexities involved with conversion of medical image formats. It offers a GUI, a CLI (medcon), and a library for writing custom applications licensed under the (L)GPL.
+
+homepage            http://xmedcon.sourceforge.net/
+platforms           darwin 
+master_sites        http://prdownloads.sourceforge.net/xmedcon/
+checksums           md5 45b6a305336b731ad216e09744bc946b \
+                    sha1 d382ce055e1497d3cb66db649adcc107c5802aa3 \
+                    rmd160 f7a691eca3f7c59230488a585e3c0a1e0cdc0567
+use_parallel_build  yes
+
+depends_lib         port:libpng 
+                   
+configure.pre_args
+configure.args      --prefix=${prefix} \
+                    --disable-gui \
+                    --with-png-prefix=${prefix}
+               
+
+
+variant gtk2 conflicts gtk1 description {Enable gtk2 gui front end} {
+  configure.args-delete   --disable-gui
+  
+  depends_lib-append      port:gtk2 \
+                          port:glib2
+}
+variant gtk1 conflicts gtk2 description {Enable gtk1 legacy gui} {
+  depends_lib-append    port:gtk1 \
+                        port:gdk-pixbuf
+
+  configure.args-delete --disable-gui 
+  configure.args-append --enable-gtk1
+}
+
+variant fortran description {Enable fortran compiler support} {
+  depends_lib-append port:gcc43
+
+  configure.compiler /opt/local/bin/gcc-mp-4.3
+  configure.f77 ${prefix}/bin/gfortran-mp-4.3
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081108/2459a062/attachment.html>


More information about the macports-changes mailing list