source: trunk/dports/graphics/gocr/Portfile @ 32684

Last change on this file since 32684 was 32684, checked in by ryandesign@…, 11 years ago

gocr: don't use deprecated 'cd' command

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1015 bytes
Line 
1# $Id: Portfile 32684 2008-01-11 07:18:05Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    gocr
6version                 0.44
7categories              graphics
8platforms               darwin
9maintainers             nomaintainer
10description             Optical Character Recognition, converts images back to text
11long_description        GOCR is an OCR (Optical Character Recognition) program. It \
12                                converts scanned images of text back to text files.
13
14homepage                http://jocr.sourceforge.net/
15master_sites            sourceforge:jocr
16checksums               md5 8657cb057d7836ed171b5705d5e082c8
17
18depends_build           lib:libnetpbm:netpbm
19
20configure.args  --mandir=/share/man
21
22destroot.destdir        DESTDIR=${destroot}${prefix}
23
24post-destroot           {
25        xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
26        xinstall -m 0644 -W ${worksrcpath} README REMARK.txt AUTHORS CREDITS HISTORY BUGS TODO ${destroot}${prefix}/share/doc/${name}
27
28        file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}
29        file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
30}
31
32platform darwin 8 {
33        configure.compiler      gcc-4.0
34}
35
36livecheck.name      jocr
37livecheck.distname  gocr
Note: See TracBrowser for help on using the repository browser.