Ticket #26057: Portfile.diff

File Portfile.diff, 1.0 KB (added by someuser12, 4 years ago)

Update proposal to the Portfile of xpdf to let xpdf use the fonts from urw-fonts by default

  • Portfile

    old new  
    44
    55name                xpdf
    66version             3.04
    7 revision            2
     7revision            3
    88description         Xpdf is a viewer for PDF files.
    99long_description    Xpdf is a viewer for Portable Document Format \
    1010                    (PDF) files.  These are also sometimes also called \
     
    4040                    port:libpaper \
    4141                    lib:libXm:openmotif
    4242
    43 depends_run         path:share/ghostscript/fonts:ghostscript
     43depends_run         path:share/fonts/urw-fonts:urw-fonts
    4444
    4545patch.post_args     -p1
    4646patchfiles          patch-xpdf-NameToUnicodeTable.h.diff \
    4747                    patch-xpdf-UnicodeMapTables.h.diff
    4848
    4949post-patch {
    50     reinplace "s|/usr/local|${prefix}|g" \
     50    reinplace "s|/usr/local/share/ghostscript/fonts|/usr/local/share/fonts/urw-fonts|g;s|/usr/local|${prefix}|g" \
    5151        ${worksrcpath}/doc/sample-xpdfrc ${worksrcpath}/xpdf/GlobalParams.cc
    5252}
    5353