Ticket #22374: Portfile.diff
File Portfile.diff, 3.2 KB (added by adfernandes (Andrew Fernandes), 15 years ago) |
---|
-
Portfile
1 1 # $Id$ 2 2 3 PortSystem 1.0 3 # Important: keep in sync with the 'gromacs-double' port! 4 5 PortSystem 1.0 4 6 name gromacs 5 7 version 4.0.5 6 revision 18 revision 2 7 9 categories science math 8 10 maintainers adfernandes openmaintainer 9 11 description The World's fastest Molecular Dynamics package … … 17 19 research on non-biological systems, e.g. polymers. 18 20 platforms darwin 19 21 20 homepage http://www.gromacs.org/ 21 master_sites ftp://ftp.gromacs.org/pub/${name} \ 22 distname gromacs-${version} 23 homepage http://www.gromacs.org/ 24 master_sites ftp://ftp.gromacs.org/pub/gromacs \ 22 25 http://cluster.earlham.edu/detail/home/charliep/packages 23 26 24 27 checksums sha1 9969aae6f77e2216add22a7b29805c4de8df649f … … 27 30 # Fixes a typo in the .rtp file for ffG53a6 and ffG53a5 in Gromacs versions up to (and including) version 4.0.5. 28 31 # See http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin/gmx-tutorials/membrane_protein/01_pdb2gmx.html 29 32 30 depends_build port:gcc42 31 configure.compiler macports-gcc-4.2 33 depends_lib port:fftw-3-single port:libxml2 port:openmotif 32 34 33 depends_lib port:fftw-3-single port:openmotif 35 configure.args --bindir=${prefix}/lib/${name}/bin --enable-shared --with-x 34 36 35 configure.args --bindir=${prefix}/lib/${name}/bin --with-x 37 variant no_x11 { 38 depends_lib-delete port:openmotif 39 configure.args-delete --with-x 40 configure.args-append --without-x 41 } 36 42 37 variant nox description {Disable X11/Motif GUI} { 38 depends_lib-delete port:openmotif 39 configure.args-delete --with-x 40 configure.args-append --without-x 43 variant gsl description {enable extra analyses via the GNU scientific library} { 44 depends_lib-append port:gsl 45 configure.args-append --with-gsl 41 46 } 42 43 variant double description {Double precision floating-point arithmetics} { 44 depends_lib-delete port:fftw-3-single 45 depends_lib-append port:fftw-3 46 configure.args-append --enable-double 47 48 if { ![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] } { 49 default_variants-append +gcc44 47 50 } 48 51 49 platform darwin powerpc{50 depends_build-appendport:gcc4251 configure.compilermacports-gcc-4.252 variant gcc42 conflicts gcc43 gcc44 description {build with macports-gcc-4.2} { 53 depends_lib port:gcc42 54 configure.compiler macports-gcc-4.2 52 55 } 53 56 54 variant gcc43 conflicts gcc44 description {build with macports-gcc-4.3} { 55 depends_build-delete port:gcc42 56 depends_build-append port:gcc43 57 configure.compiler macports-gcc-4.3 57 variant gcc43 conflicts gcc42 gcc44 description {build with macports-gcc-4.3} { 58 depends_lib port:gcc43 59 configure.compiler macports-gcc-4.3 58 60 } 59 61 60 variant gcc44 conflicts gcc43 description {build with macports-gcc-4.4} { 61 depends_build-delete port:gcc42 62 depends_build-append port:gcc44 63 configure.compiler macports-gcc-4.4 62 variant gcc44 conflicts gcc42 gcc43 description {build with macports-gcc-4.4} { 63 depends_lib port:gcc44 64 configure.compiler macports-gcc-4.4 64 65 }