Ticket #42627: Portfile-py-openbabel.2.diff
File Portfile-py-openbabel.2.diff, 2.0 KB (added by Mathias.Laurin+macports.org@…, 11 years ago) |
---|
-
Portfile
old new 7 7 # Keep relevant lines in sync between openbabel and py-openbabel. 8 8 9 9 name py-openbabel 10 version 2.3. 110 version 2.3.2 11 11 categories-append science chemistry devel 12 12 platforms darwin freebsd 13 13 license GPL-2 … … 29 29 distname openbabel-${version} 30 30 dist_subdir openbabel 31 31 32 checksums rmd160 d a4d240a92942dbf9dcf999187336d69d7ef8f5c\33 sha256 9e2e8bc9af585ee7e4a03720e3d7b82ef567aa17fdeeea48cc213a3035ced7a332 checksums rmd160 dc9aa026a81b987b08c60709a624a192418ee7fb \ 33 sha256 4eaca26679aa6cc85ebf96af19191472ac63ca442c36b0427b369c3a25705188 34 34 35 35 python.versions 26 27 36 36 python.default_version 27 37 37 38 worksrcdir ${distname}/scripts/python 38 patchfiles patch-include-openbabel-alias.h.diff \ 39 patch-include-openbabel-obmolecformat.h.diff \ 40 patch-include-openbabel-reactions.h.diff \ 41 patch-include-openbabel-shared_ptr.h.diff \ 42 patch-src-ops-unique.cpp.diff \ 43 patch-test-obtest.h.diff \ 44 patch-scripts-python-openbabel-python.cpp.diff \ 45 patch-scripts-python-setup.py.diff 39 46 40 47 if {${name} ne ${subport}} { 41 depends_build port:eigen 42 48 depends_build port:eigen3 49 43 50 depends_lib-append port:openbabel 44 51 52 post-configure { 53 set worksrcdir ${distname}/scripts/python 54 } 55 45 56 build.env-append OPENBABEL_INSTALL=${prefix} 46 57 build.target build_ext 47 build.args-append -I${prefix}/include/openbabel-2.0:${prefix}/include/eigen 248 58 build.args-append -I${prefix}/include/openbabel-2.0:${prefix}/include/eigen3 59 49 60 post-destroot { 50 61 set docdir ${prefix}/share/doc/${subport} 51 62 xinstall -m 755 -d ${destroot}${docdir}