Changeset 32309


Ignore:
Timestamp:
Dec 24, 2007, 12:45:23 AM (12 years ago)
Author:
ryandesign@…
Message:

pstotext: update to 1.9; closes #12565

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/pstotext/Portfile

    r32256 r32309  
    11# $Id$
     2
    23PortSystem 1.0
     4
    35name            pstotext
    4 version         1.8g
     6version         1.9
    57categories      textproc
    68maintainers     nomaintainer
     
    1113                        displayed if the PostScript/PDF file were printed.
    1214
    13 homepage        http://www.research.compaq.com/SRC/virtualpaper/pstotext.html
    14 master_sites    http://www.research.compaq.com/SRC/virtualpaper/binaries/
    15 distfiles       ${name}.tar.Z
     15homepage        http://pages.cs.wisc.edu/~ghost/doc/pstotext.htm
     16master_sites    ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/contrib/ \
     17                http://fresh.t-systems-sfr.com/unix/src/misc/
    1618
    1719platforms       darwin
    18 checksums       md5 1be0be028ccc85be1bf55d7e90976b18
     20checksums       md5 64576e8a10ff5514e285d98b3898ae78 \
     21                sha1 d84732ba42301a8905f6b14f37d8b57ff8b42a3e \
     22                rmd160 16dc199d19df64280184d11ccbced7a32770ddad
    1923
    20 depends_lib     bin:gs:ghostscript
    21 extract.cmd     uncompress
    22 worksrcdir      ${name}
     24depends_run     bin:gs:ghostscript
    2325
    2426use_configure   no
    2527
    2628destroot {
    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"
     29        xinstall -m 755 ${worksrcpath}/pstotext ${destroot}${prefix}/bin
     30        xinstall -m 644 ${worksrcpath}/pstotext.1 ${destroot}${prefix}/share/man/man1
     31       
     32        set docdir ${destroot}${prefix}/share/doc/${name}-${version}
     33        xinstall -d ${docdir}
     34        xinstall -m 644 ${worksrcpath}/pstotext.txt ${docdir}
    3335}
    34 
Note: See TracChangeset for help on using the changeset viewer.