Ticket #31745: patch-ipe-tools-Portfile-pdftoipe-20110916.diff
File patch-ipe-tools-Portfile-pdftoipe-20110916.diff, 3.5 KB (added by maehne (Torsten Maehne), 13 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name ipe-tools 6 version 20110 1166 version 20110916 7 7 revision 1 8 8 categories graphics 9 9 maintainers jacobs-university.de:m.thon … … 19 19 master_sites sourceforge:project/ipe7/tools 20 20 platforms darwin 21 21 set svgtoipe-vers 20100608 22 set pdftoipe-vers 20110 11622 set pdftoipe-vers 20110916 23 23 set figtoipe-vers 20091205 24 24 set ipe5toxml-vers 20051114 25 25 26 26 distfiles svgtoipe-${svgtoipe-vers}${extract.suffix} \ 27 pdftoipe-${pdftoipe-vers} ${extract.suffix} \27 pdftoipe-${pdftoipe-vers}-src${extract.suffix} \ 28 28 figtoipe-${figtoipe-vers}${extract.suffix} \ 29 29 ipe5toxml-${ipe5toxml-vers}${extract.suffix} 30 30 31 31 checksums svgtoipe-${svgtoipe-vers}${extract.suffix} \ 32 32 sha1 7c7af21eaa7273f74ac44570bbc659f674e01322 \ 33 33 rmd160 7c39ad574e9add8e2b660e29a2e6ed80ebe533b3 \ 34 pdftoipe-${pdftoipe-vers} ${extract.suffix} \35 sha1 6e4a7072e5bd05f941f8d3a0aab92ab1d3bb6aab\36 rmd160 3210a1d5889299cb2b6ae8fa45af960ea080d06a\34 pdftoipe-${pdftoipe-vers}-src${extract.suffix} \ 35 sha1 2cd4f70ebafa0310bbc3a0217f7d6acad2eda10f \ 36 rmd160 67d27456a1f7e46aa27eb67054c91ad52f51b0c3 \ 37 37 figtoipe-${figtoipe-vers}${extract.suffix} \ 38 38 sha1 b81f2f0cc568e165bdedb618ced9384ebfcb19a3 \ 39 39 rmd160 cc1615b55313ab8c151565bdb498fff8ba945029 \ … … 43 43 44 44 depends_build port:pkgconfig 45 45 depends_lib port:poppler \ 46 port:py2 6-pil46 port:py27-pil 47 47 use_configure no 48 48 use_parallel_build no 49 49 … … 56 56 build { 57 57 system "cd ${workpath}/figtoipe-${figtoipe-vers} && ${build.env} ${build.cmd} ${build.target} CXX=${configure.cxx}" 58 58 system "cd ${workpath}/ipe5toxml && ${build.env} ${build.cmd}" 59 system "cd ${workpath}/pdftoipe-${pdftoipe-vers} && ${build.env} CC=${configure.cxx} ${build.cmd} ${build.target}"59 system "cd ${workpath}/pdftoipe-${pdftoipe-vers}-src && patch xmloutputdev.cpp ${portpath}/files/patch-pdftoipe-xmloutputdev.cpp.diff && ${build.env} CC=${configure.cxx} ${build.cmd} ${build.target}" 60 60 } 61 61 62 62 destroot { 63 63 xinstall -m 755 ${workpath}/figtoipe-${figtoipe-vers}/figtoipe ${destroot}${prefix}/bin 64 64 xinstall -m 644 ${workpath}/figtoipe-${figtoipe-vers}/figtoipe.1 ${destroot}${prefix}/share/man/man1 65 65 xinstall -m 755 ${workpath}/ipe5toxml/ipe5toxml ${destroot}${prefix}/bin 66 xinstall -m 755 ${workpath}/pdftoipe-${pdftoipe-vers} /pdftoipe ${destroot}${prefix}/bin67 xinstall -m 644 ${workpath}/pdftoipe-${pdftoipe-vers} /pdftoipe.1 ${destroot}${prefix}/share/man/man166 xinstall -m 755 ${workpath}/pdftoipe-${pdftoipe-vers}-src/pdftoipe ${destroot}${prefix}/bin 67 xinstall -m 644 ${workpath}/pdftoipe-${pdftoipe-vers}-src/pdftoipe.1 ${destroot}${prefix}/share/man/man1 68 68 xinstall -m 755 ${workpath}/svgtoipe-${svgtoipe-vers}/svgtoipe ${destroot}${prefix}/bin 69 69 }