Ticket #26057: patch-Portfile

File patch-Portfile, 906 bytes (added by someuser12, 14 years ago)

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

Line 
1--- Portfile.orig       2010-08-13 15:00:48.000000000 +0200
2+++ Portfile    2010-08-24 01:09:27.000000000 +0200
3@@ -4,7 +4,7 @@
4 
5 name         xpdf
6 version      3.02
7-revision     6
8+revision     7
9 description  Xpdf is a viewer for PDF files.
10 long_description \
11     Xpdf is a viewer for Portable Document Format \
12@@ -62,7 +62,7 @@
13        port:xorg-libXp port:xpm port:xorg-libXt port:freetype \
14        port:libpaper lib:libXm:openmotif port:t1lib
15 
16-depends_run  path:share/ghostscript/fonts:ghostscript
17+depends_run  path:share/fonts/urw-fonts:urw-fonts
18 
19 patchfiles   xpdf-${version}-salvage-your-eye.patch \
20              patch-xpdf-NameToUnicodeTable.h.diff \
21@@ -76,7 +76,7 @@
22 }
23 
24 post-patch {
25-    reinplace "s|/usr/local|${prefix}|g" \
26+    reinplace "s|/usr/local/share/ghostscript/fonts|${prefix}/share/fonts/urw-fonts|g" \
27         ${worksrcpath}/doc/sample-xpdfrc ${worksrcpath}/xpdf/GlobalParams.cc
28 }
29