--- Portfile 2008-09-19 10:01:07.000000000 -0700 +++ Portfile-5 2008-09-19 10:01:25.000000000 -0700 @@ -1,11 +1,13 @@ -# $Id: Portfile,v 1.5 2008/09/19 17:01:07 davidh Exp $ +# $Id$ PortSystem 1.0 + name cfitsio version 3.100 +revision 1 categories devel maintainers nomaintainer -description C/Fortran access to FITS data files with optional Fortran wrappers +description C/Fortran access to FITS data files long_description \ CFITSIO is a library of C and Fortran subroutines for reading and \ writing data files in FITS (Flexible Image Transport System) data \ @@ -30,10 +32,10 @@ sha1 a0586a5411e2882165d55c46e66473f555142e07 \ rmd160 cd2d944ad73c74053ecd4c78b7efe5195cc8d43b -# turn off FORTRAN compiler wrappers by removing FORTRAN from the path -configure.fc ${prefix}/bin/no-possible-compiler +depends_build port:gcc43 configure.cflags -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +configure.fc ${prefix}/bin/gfortran-mp-4.3 build.target all shared @@ -47,27 +49,3 @@ ${docdir} } -variant gcc42 description {create Fortran wrappers using gcc42} conflicts gcc43 g95 g77 { - depends_lib-append port:gcc42 - configure.fc-delete ${prefix}/bin/no-possible-compiler - configure.fc ${prefix}/bin/gfortran-mp-4.2 -} - -variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc42 g95 g77 { - depends_lib-append port:gcc43 - configure.fc-delete ${prefix}/bin/no-possible-compiler - configure.fc ${prefix}/bin/gfortran-mp-4.3 -} - -variant g95 description {create Fortran wrappers using f95} conflicts gcc42 gcc43 g77 { - depends_lib-append port:g95 - configure.fc-delete ${prefix}/bin/no-possible-compiler - configure.fc ${prefix}/bin/g95 -} - -variant g77 description {create Fortran wrappers using g77} conflicts gcc42 gcc43 g95 { - depends_lib-append bin:g77-dp-3.4:gcc34 - configure.fc-delete ${prefix}/bin/no-possible-compiler - configure.fc ${prefix}/bin/g77-dp-3.4 -} -