source: trunk/dports/textproc/pstotext/Portfile

Last change on this file was 108213, checked in by jmr@…, 4 years ago

pstotext: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 108213 2013-07-16 18:04:57Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            pstotext
6version         1.9
7categories      textproc
8license         Restrictive/Distributable
9maintainers     nomaintainer
10description     Extract ASCII text from a PostScript or PDF file
11long_description        pstotext reads one or more PostScript or PDF files, \
12                        and writes to standard output (or a file) a \
13                        representation of the plain text that would be \
14                        displayed if the PostScript/PDF file were printed.
15
16homepage        http://pages.cs.wisc.edu/~ghost/doc/pstotext.htm
17master_sites    ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/contrib/ \
18                http://fresh.t-systems-sfr.com/unix/src/misc/
19
20platforms       darwin
21checksums       md5 64576e8a10ff5514e285d98b3898ae78 \
22                sha1 d84732ba42301a8905f6b14f37d8b57ff8b42a3e \
23                rmd160 16dc199d19df64280184d11ccbced7a32770ddad
24
25depends_run     bin:gs:ghostscript
26
27use_configure   no
28
29destroot {
30        xinstall -m 755 ${worksrcpath}/pstotext ${destroot}${prefix}/bin
31        xinstall -m 644 ${worksrcpath}/pstotext.1 ${destroot}${prefix}/share/man/man1
32       
33        set docdir ${destroot}${prefix}/share/doc/${name}-${version}
34        xinstall -d ${docdir}
35        xinstall -m 644 ${worksrcpath}/pstotext.txt ${docdir}
36}
Note: See TracBrowser for help on using the repository browser.