Ticket #6892: graphics_gocr_Portfile.diff
File graphics_gocr_Portfile.diff, 1.1 KB (added by bfulgham@…, 19 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name gocr 6 version 0. 376 version 0.40 7 7 categories graphics 8 8 platforms darwin 9 9 maintainers darwinports@opendarwin.org … … 12 12 converts scanned images of text back to text files. 13 13 14 14 homepage http://jocr.sourceforge.net/ 15 master_sites sourceforge:jocr 16 checksums md5 824984b5d5c44b6e3c2a1a1d5fb6d48e 15 master_sites sourceforge:jocr 16 checksums md5 13cc0d008747f5bb56d8b17be9b61859 17 18 depends_build lib:libnetpbm:netpbm 17 19 18 20 configure.args --mandir=/share/man 19 21 20 22 destroot.destdir DESTDIR=${destroot}${prefix} 21 23 24 post-destroot { 25 cd ${worksrcpath} 26 xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name} 27 xinstall -m 0644 README REMARK.txt AUTHORS CREDITS HISTORY BUGS TODO ${destroot}${prefix}/share/doc/${name} 28 29 file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name} 30 file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name} 31 } 32 22 33 platform darwin 8 { 23 34 configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 24 35 }