source: trunk/dports/science/xmedcon/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem          1.0
4
5name                xmedcon
6version             0.10.4
7categories          science graphics
8maintainers         ucla.edu:jameskyle
9description         an open source toolkit for medical image conversion
10long_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.
11
12homepage            http://xmedcon.sourceforge.net/
13platforms           darwin
14master_sites        http://prdownloads.sourceforge.net/xmedcon/
15checksums           md5 45b6a305336b731ad216e09744bc946b \
16                    sha1 d382ce055e1497d3cb66db649adcc107c5802aa3 \
17                    rmd160 f7a691eca3f7c59230488a585e3c0a1e0cdc0567
18use_parallel_build  yes
19
20depends_lib         port:libpng
21                   
22configure.pre_args
23configure.args      --prefix=${prefix} \
24                    --disable-gui \
25                    --with-png-prefix=${prefix}
26               
27
28
29variant gtk2 conflicts gtk1 description {Enable gtk2 gui front end} {
30  configure.args-delete   --disable-gui
31 
32  depends_lib-append      port:gtk2 \
33                          port:glib2
34}
35variant gtk1 conflicts gtk2 description {Enable gtk1 legacy gui} {
36  depends_lib-append    port:gtk1 \
37                        port:gdk-pixbuf
38
39  configure.args-delete --disable-gui
40  configure.args-append --enable-gtk1
41}
42
43variant fortran description {Enable fortran compiler support} {
44  depends_lib-append port:gcc43
45
46  configure.compiler /opt/local/bin/gcc-mp-4.3
47  configure.f77 ${prefix}/bin/gfortran-mp-4.3
48}
49
Note: See TracBrowser for help on using the repository browser.