source: trunk/dports/textproc/pstotext/Portfile @ 4245

Last change on this file since 4245 was 4245, checked in by mww, 17 years ago

Bug: #1297
Submitted by: blb@…
Reviewed by: mww@

new port textproc/pstotext

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1# $Id: Portfile,v 1.1 2003/12/19 13:22:32 mww Exp $
2PortSystem 1.0
3name            pstotext
4version         1.8g
5categories      textproc
6maintainers     blb@pobox.com
7description     Extract ASCII text from a PostScript or PDF file
8long_description        pstotext reads one or more PostScript or PDF files, \
9                        and writes to standard output (or a file) a \
10                        representation of the plain text that would be \
11                        displayed if the PostScript/PDF file were printed.
12
13homepage        http://www.research.compaq.com/SRC/virtualpaper/pstotext.html
14master_sites    http://www.research.compaq.com/SRC/virtualpaper/binaries/
15distfiles       ${name}.tar.Z
16
17platforms       darwin
18checksums       md5 1be0be028ccc85be1bf55d7e90976b18
19
20depends_lib     bin:gs:ghostscript
21extract.cmd     uncompress
22worksrcdir      ${name}
23
24use_configure   no
25
26destroot {
27        file mkdir "${destroot}/${prefix}/bin"
28        file mkdir "${destroot}/${prefix}/share/man/man1"
29        file mkdir "${destroot}/${prefix}/share/doc/pstotext"
30        system "install -m 755 ${worksrcpath}/pstotext ${destroot}/${prefix}/bin"
31        system "install -m 644 ${worksrcpath}/pstotext.1 ${destroot}/${prefix}/share/man/man1"
32        system "install -m 644 ${worksrcpath}/pstotext.txt ${destroot}/${prefix}/share/doc/pstotext"
33}
34
Note: See TracBrowser for help on using the repository browser.