Ticket #6892: graphics_gocr_Portfile.diff

File graphics_gocr_Portfile.diff, 1.1 KB (added by bfulgham@…, 18 years ago)

Patch to update gocr to the 0.40 release.

  • Portfile

    old new  
    33PortSystem 1.0
    44
    55name                    gocr
    6 version                 0.37
     6version                 0.40
    77categories              graphics
    88platforms               darwin
    99maintainers             darwinports@opendarwin.org
     
    1212                                converts scanned images of text back to text files.
    1313
    1414homepage                http://jocr.sourceforge.net/
    15 master_sites    sourceforge:jocr
    16 checksums               md5 824984b5d5c44b6e3c2a1a1d5fb6d48e
     15master_sites            sourceforge:jocr
     16checksums               md5 13cc0d008747f5bb56d8b17be9b61859
     17
     18depends_build           lib:libnetpbm:netpbm
    1719
    1820configure.args  --mandir=/share/man
    1921
    2022destroot.destdir        DESTDIR=${destroot}${prefix}
    2123
     24post-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
    2233platform darwin 8 {
    2334        configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
    2435}