Commits
Joshua Root authored a8ca9cbd976
29 29 | } |
30 30 | |
31 31 | set python.pkgd ${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages |
32 32 | depends_build port:pkgconfig |
33 33 | depends_lib port:poppler \ |
34 34 | path:${python.pkgd}/PIL:py27-Pillow |
35 35 | |
36 36 | use_configure no |
37 37 | use_parallel_build no |
38 38 | |
39 - | build.env CPPFLAGS+='${configure.cppflags}' \ |
40 - | CFLAGS+='${configure.cppflags} ${configure.cflags} ${configure.cc_archflags}' \ |
41 - | CXXFLAGS+='${configure.cxxflags} ${configure.cxx_archflags}' \ |
42 - | LDFLAGS+='${configure.cc_archflags}' \ |
43 - | CC=${configure.cc} CXX=${configure.cxx} |
39 + | set build_env "CPPFLAGS+='${configure.cppflags}'\ |
40 + | CFLAGS+='${configure.cppflags} ${configure.cflags} ${configure.cc_archflags}'\ |
41 + | CXXFLAGS+='${configure.cxxflags} ${configure.cxx_archflags}'\ |
42 + | LDFLAGS+='${configure.cc_archflags}'\ |
43 + | CC='${configure.cc}' CXX='${configure.cxx}'" |
44 44 | |
45 45 | build { |
46 - | system -W ${worksrcpath}/figtoipe "${build.env} ${build.cmd} ${build.target} CXX=${configure.cxx}" |
47 - | system -W ${worksrcpath}/ipe5toxml "${build.env} ${build.cmd}" |
48 - | system -W ${worksrcpath}/pdftoipe "${build.env} CC=${configure.cxx} ${build.cmd} ${build.target}" |
46 + | system -W ${worksrcpath}/figtoipe "${build_env} ${build.cmd} ${build.target} CXX=${configure.cxx}" |
47 + | system -W ${worksrcpath}/ipe5toxml "${build_env} ${build.cmd}" |
48 + | system -W ${worksrcpath}/pdftoipe "${build_env} CC=${configure.cxx} ${build.cmd} ${build.target}" |
49 49 | } |
50 50 | |
51 51 | destroot { |
52 52 | xinstall -m 755 ${worksrcpath}/figtoipe/figtoipe ${destroot}${prefix}/bin |
53 53 | xinstall -m 644 ${worksrcpath}/figtoipe/figtoipe.1 ${destroot}${prefix}/share/man/man1 |
54 54 | xinstall -m 755 ${worksrcpath}/ipe5toxml/ipe5toxml ${destroot}${prefix}/bin |
55 55 | xinstall -m 644 ${worksrcpath}/ipe5toxml/ipe5toxml.1 ${destroot}${prefix}/share/man/man1 |
56 56 | xinstall -m 755 ${worksrcpath}/pdftoipe/pdftoipe ${destroot}${prefix}/bin |
57 57 | xinstall -m 644 ${worksrcpath}/pdftoipe/pdftoipe.1 ${destroot}${prefix}/share/man/man1 |
58 58 | xinstall -m 755 ${worksrcpath}/svgtoipe/svgtoipe.py ${destroot}${prefix}/bin |
59 59 | } |