Changeset 97981
- Timestamp:
- Sep 21, 2012, 8:27:09 AM (12 years ago)
- Location:
- trunk/dports/science/xraylib
- Files:
-
- 5 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/science/xraylib/Portfile
r97904 r97981 6 6 name xraylib 7 7 version 2.16.0 8 revision 1 8 9 categories science 9 10 platforms darwin … … 26 27 sha256 91ccbd25338c00027d58ee13239375926a0e106d9b883d1c927e846e035e276c 27 28 29 patchfiles patch-configure.diff \ 30 patch-m4-m4-ax_python_devel.m4.diff \ 31 patch-python-Makefile.am.diff \ 32 patch-python-Makefile.in.diff 33 34 patch.pre_args -p1 35 28 36 configure.args --disable-idl \ 29 37 --disable-fortran2003 \ … … 43 51 } 44 52 45 variant python description {Python bindings}{46 configure.args-append --enable-python --enable-python-integration 53 variant python26 description {Python2.6 bindings} conflicts python27 python31 python32 { 54 configure.args-append --enable-python --enable-python-integration PYTHON=${prefix}/bin/python2.6 47 55 configure.args-delete --disable-python 48 56 depends_build-append port:swig-python 57 depends_lib-append port:python26 58 } 59 60 variant python27 description {Python2.7 bindings} conflicts python26 python31 python32 { 61 configure.args-append --enable-python --enable-python-integration PYTHON=${prefix}/bin/python2.7 62 configure.args-delete --disable-python 63 depends_build-append port:swig-python 64 depends_lib-append port:python27 65 } 66 67 variant python31 description {Python3.1 bindings} conflicts python27 python26 python32 { 68 configure.args-append --enable-python --enable-python-integration PYTHON=${prefix}/bin/python3.1 69 configure.args-delete --disable-python 70 depends_build-append port:swig-python 71 depends_lib-append port:python31 72 } 73 74 variant python32 description {Python3.2 bindings} conflicts python27 python31 python26 { 75 configure.args-append --enable-python --enable-python-integration PYTHON=${prefix}/bin/python3.2 76 configure.args-delete --disable-python 77 depends_build-append port:swig-python 78 depends_lib-append port:python32 49 79 } 50 80 … … 97 127 } 98 128 99 default_variants +python 129 if {![variant_isset python26] && ![variant_isset python27] && ![variant_isset python31] && ![variant_isset python32]} { 130 default_variants +python27 131 } 132
Note: See TracChangeset
for help on using the changeset viewer.