Ticket #39263: Portfile.diff
File Portfile.diff, 5.6 KB (added by Tom.Schoonjans@…, 11 years ago) |
---|
-
Portfile
old new 5 5 PortGroup github 1.0 6 6 7 7 github.setup tschoonj xraylib 2.16.0 xraylib- 8 revision 18 revision 2 9 9 categories science 10 10 platforms darwin 11 11 license BSD … … 27 27 checksums rmd160 3b9a0db5fe2ae285cd364478c9e8c3d76e855069 \ 28 28 sha256 91ccbd25338c00027d58ee13239375926a0e106d9b883d1c927e846e035e276c 29 29 30 patchfiles patch-configure.diff \ 31 patch-m4-m4-ax_python_devel.m4.diff \ 32 patch-python-Makefile.am.diff \ 33 patch-python-Makefile.in.diff 30 patchfiles configure.ac.diff \ 31 python_xrlsetup.py.in.diff \ 32 xraylib.i.diff 34 33 35 34 patch.pre_args -p1 36 35 … … 45 44 use_parallel_build no 46 45 configure.ccache no 47 46 47 use_autoreconf yes 48 48 49 variant perl description {Perl bindings} { 49 50 configure.args-append --enable-perl 50 51 configure.args-delete --disable-perl 51 52 depends_build-append port:swig-perl 52 53 } 53 54 54 variant python26 description {Python2.6 bindings} conflicts python27 python31 python32 {55 variant python26 description {Python2.6 bindings} conflicts python27 python31 python32 python33 { 55 56 configure.args-append --enable-python --enable-python-integration PYTHON=${prefix}/bin/python2.6 56 57 configure.args-delete --disable-python 57 58 depends_build-append port:swig-python 58 59 depends_lib-append port:python26 59 60 } 60 61 61 variant python27 description {Python2.7 bindings} conflicts python26 python31 python32 {62 variant python27 description {Python2.7 bindings} conflicts python26 python31 python32 python33 { 62 63 configure.args-append --enable-python --enable-python-integration PYTHON=${prefix}/bin/python2.7 63 64 configure.args-delete --disable-python 64 65 depends_build-append port:swig-python 65 66 depends_lib-append port:python27 66 67 } 67 68 68 variant python31 description {Python3.1 bindings} conflicts python27 python26 python32 {69 variant python31 description {Python3.1 bindings} conflicts python27 python26 python32 python33 { 69 70 configure.args-append --enable-python --enable-python-integration PYTHON=${prefix}/bin/python3.1 70 71 configure.args-delete --disable-python 71 72 depends_build-append port:swig-python 72 73 depends_lib-append port:python31 73 74 } 74 75 75 variant python32 description {Python3.2 bindings} conflicts python27 python31 python26 {76 variant python32 description {Python3.2 bindings} conflicts python27 python31 python26 python33 { 76 77 configure.args-append --enable-python --enable-python-integration PYTHON=${prefix}/bin/python3.2 77 78 configure.args-delete --disable-python 78 79 depends_build-append port:swig-python 79 80 depends_lib-append port:python32 80 81 } 81 82 83 variant python33 description {Python3.3 bindings} conflicts python27 python31 python26 python32 { 84 configure.args-append --enable-python --enable-python-integration PYTHON=${prefix}/bin/python3.3 85 configure.args-delete --disable-python 86 depends_build-append port:swig-python 87 depends_lib-append port:python32 88 } 89 82 90 variant java description {Java bindings} { 83 91 configure.args-append --enable-java 84 92 configure.args-delete --disable-java … … 92 100 depends_lib-append port:lua 93 101 } 94 102 95 variant gcc44 description {build with gfortran from gcc44} conflicts gcc45 g 95 gcc46 gcc47{103 variant gcc44 description {build with gfortran from gcc44} conflicts gcc45 gcc46 gcc47 gcc48 { 96 104 configure.args-append --enable-fortran2003 97 105 configure.args-delete --disable-fortran2003 98 106 depends_lib-append port:gcc44 99 107 configure.fc ${prefix}/bin/gfortran-mp-4.4 100 108 } 101 109 102 variant gcc45 description {build with gfortran from gcc45} conflicts gcc44 g 95 gcc46 gcc47{110 variant gcc45 description {build with gfortran from gcc45} conflicts gcc44 gcc46 gcc47 gcc48 { 103 111 configure.args-append --enable-fortran2003 104 112 configure.args-delete --disable-fortran2003 105 113 depends_lib-append port:gcc45 106 114 configure.fc ${prefix}/bin/gfortran-mp-4.5 107 115 } 108 116 109 variant g95 description {build with g95} conflicts gcc44 gcc45 gcc46 gcc47 { 110 configure.args-append --enable-fortran2003 111 configure.args-delete --disable-fortran2003 112 depends_lib-append port:g95 113 configure.fc ${prefix}/bin/g95 114 } 115 116 variant gcc46 description {build with gfortran from gcc46} conflicts gcc44 g95 gcc45 gcc47 { 117 variant gcc46 description {build with gfortran from gcc46} conflicts gcc44 gcc45 gcc47 gcc48 { 117 118 configure.args-append --enable-fortran2003 118 119 configure.args-delete --disable-fortran2003 119 120 depends_lib-append port:gcc46 120 121 configure.fc ${prefix}/bin/gfortran-mp-4.6 121 122 } 122 123 123 variant gcc47 description {build with gfortran from gcc47} conflicts gcc44 g 95 gcc45 gcc46{124 variant gcc47 description {build with gfortran from gcc47} conflicts gcc44 gcc45 gcc46 gcc48 { 124 125 configure.args-append --enable-fortran2003 125 126 configure.args-delete --disable-fortran2003 126 127 depends_lib-append port:gcc47 127 128 configure.fc ${prefix}/bin/gfortran-mp-4.7 128 129 } 129 130 130 if {![variant_isset python26] && ![variant_isset python27] && ![variant_isset python31] && ![variant_isset python32]} { 131 variant gcc48 description {build with gfortran from gcc48} conflicts gcc44 gcc45 gcc46 gcc47 { 132 configure.args-append --enable-fortran2003 133 configure.args-delete --disable-fortran2003 134 depends_lib-append port:gcc48 135 configure.fc ${prefix}/bin/gfortran-mp-4.8 136 } 137 138 if {![variant_isset python26] && ![variant_isset python27] && ![variant_isset python31] && ![variant_isset python32] && ![variant_isset python33]} { 131 139 default_variants +python27 132 140 } 133 141