Changeset 16125


Ignore:
Timestamp:
Jan 29, 2006, 2:19:31 AM (14 years ago)
Author:
matt
Message:

Bug: 6892
Submitted by: bfulgham@… (Brent Fulgham)
Reviewed by: matt@
Approved by: matt@

  1. Updates the gocr port from 0.37 to 0.40
  2. Installs examples and documentation in the appropriate directories.
  3. Adds a build requirement on netpbm, which results in better OCR

recognition.

Thanks Brent!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/gocr/Portfile

    r15240 r16125  
    1 # $Id: Portfile,v 1.1 2005/11/30 19:36:30 mww Exp $
     1# $Id: Portfile,v 1.2 2006/01/29 02:19:31 matt Exp $
    22
    33PortSystem 1.0
    44
    55name                    gocr
    6 version                 0.37
     6version                 0.40
    77categories              graphics
    88platforms               darwin
     
    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
     
    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
Note: See TracChangeset for help on using the changeset viewer.