# $Id: $
PortSystem		1.0
name 			DCL
version			5.4.5
revision		1
maintainers		hirokimac@users.sourceforge.jp	
description		Drawing Library (Fortran version) of GFD-dennou club. 
long_description	DCL is a drawing library written in Fortran useful for planetary and Earth sciences. \
This library includes graphical, character processing, and mathematical libraries.

homepage		http://www.gfd-dennou.org/library/dcl/
master_sites		http://www.gfd-dennou.org/library/dcl/
distname		dcl-${version}
extract.suffix	.tar.gz
checksums           rmd160  392fbf43c2abccba9c95ee3e6c2e5a7ff2628eb7 \
                    sha256  7f2043870566a3724053432ca587e78f9d4143d6c2cb07f68a19d290d89d1008
platforms		darwin
# destroot.violate_mtree	yes
categories 		science
use_parallel_build  no
destroot.destdir         prefix=${destroot}${prefix}


if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47]&& ![variant_isset g95] } {
    default_variants +gcc45
}

variant gcc43 conflicts g95 gcc44 gcc45 gcc46 gcc47 description {Enable Fortran support with gfortran 4.3} {
    depends_lib      port:gcc43 port:gtk2
    configure.compiler      macports-gcc-4.3
}

variant gcc44 conflicts g95 gcc43 gcc45 gcc46 gcc47 description {Enable Fortran support with gfortran 4.4} {
    depends_lib      port:gcc44 port:gtk2
    configure.compiler      macports-gcc-4.4
}

variant gcc45 conflicts g95 gcc43 gcc44 gcc46 gcc47 description {Enable Fortran support with gfortran 4.5} {
    depends_lib      port:gcc45 port:gtk2
    configure.compiler      macports-gcc-4.5

}

variant gcc46 conflicts g95 gcc43 gcc44 gcc45 gcc47 description {Enable Fortran support with gfortran 4.6} {
    depends_lib      port:gcc46 port:gtk2
    configure.compiler      macports-gcc-4.6
}

variant gcc47 conflicts g95 gcc43 gcc44 gcc45 gcc46 description {Enable Fortran support with gfortran 4.7} {
    depends_lib      port:gcc47 port:gtk2
    configure.compiler      macports-gcc-4.7
}


variant g95 conflicts gcc43 gcc44 gcc45 gcc46 description {Enable Fortran support with g95} {
    depends_lib      port:g95 port:gtk2
    configure.fc            g95
}


license  2-clause BSD license

