The path mentioned in man page examples did not match to the actual installation. This is the same problem as pkg/44266 (by also fukumoto). Thank you,
75 lines
3.9 KiB
Text
75 lines
3.9 KiB
Text
$NetBSD: patch-ak,v 1.7 2015/03/07 15:30:58 mef Exp $
|
|
|
|
--- doc/xpdfrc.5.orig 2011-08-15 16:08:53.000000000 -0500
|
|
+++ doc/xpdfrc.5 2011-10-26 19:56:33.796211600 -0500
|
|
@@ -7,7 +7,7 @@
|
|
.I .xpdfrc
|
|
file in your home directory, it will be read. Otherwise, a
|
|
system-wide configuration file will be read from
|
|
-.IR /usr/local/etc/xpdfrc ,
|
|
+.IR @PKG_SYSCONFDIR@/xpdfrc ,
|
|
if it exists. (This is its default location; depending on build
|
|
options, it may be placed elsewhere.) On Win32 systems, the
|
|
.I xpdfrc
|
|
@@ -588,32 +588,32 @@
|
|
.nf
|
|
|
|
# from the Thai support package
|
|
-nameToUnicode /usr/local/share/xpdf/Thai.nameToUnicode
|
|
+nameToUnicode @PREFIX@/share/xpdf/thai/Thai.nameToUnicode
|
|
|
|
# from the Japanese support package
|
|
-cidToUnicode Adobe-Japan1 /usr/local/share/xpdf/Adobe-Japan1.cidToUnicode
|
|
-unicodeMap JISX0208 /usr/local/share/xpdf/JISX0208.unicodeMap
|
|
-cMapDir Adobe-Japan1 /usr/local/share/xpdf/cmap/Adobe-Japan1
|
|
+cidToUnicode Adobe-Japan1 @PREFIX@/share/xpdf/japanese/Adobe-Japan1.cidToUnicode
|
|
+unicodeMap JISX0208 @PREFIX@/share/xpdf/japanese/JISX0208.unicodeMap
|
|
+cMapDir Adobe-Japan1 @PREFIX@/share/xpdf/CMap/Adobe-Japan1
|
|
|
|
# use the Base-14 Type 1 fonts from ghostscript
|
|
-fontFile Times-Roman /usr/local/share/ghostscript/fonts/n021003l.pfb
|
|
-fontFile Times-Italic /usr/local/share/ghostscript/fonts/n021023l.pfb
|
|
-fontFile Times-Bold /usr/local/share/ghostscript/fonts/n021004l.pfb
|
|
-fontFile Times-BoldItalic /usr/local/share/ghostscript/fonts/n021024l.pfb
|
|
-fontFile Helvetica /usr/local/share/ghostscript/fonts/n019003l.pfb
|
|
-fontFile Helvetica-Oblique /usr/local/share/ghostscript/fonts/n019023l.pfb
|
|
-fontFile Helvetica-Bold /usr/local/share/ghostscript/fonts/n019004l.pfb
|
|
-fontFile Helvetica-BoldOblique /usr/local/share/ghostscript/fonts/n019024l.pfb
|
|
-fontFile Courier /usr/local/share/ghostscript/fonts/n022003l.pfb
|
|
-fontFile Courier-Oblique /usr/local/share/ghostscript/fonts/n022023l.pfb
|
|
-fontFile Courier-Bold /usr/local/share/ghostscript/fonts/n022004l.pfb
|
|
-fontFile Courier-BoldOblique /usr/local/share/ghostscript/fonts/n022024l.pfb
|
|
-fontFile Symbol /usr/local/share/ghostscript/fonts/s050000l.pfb
|
|
-fontFile ZapfDingbats /usr/local/share/ghostscript/fonts/d050000l.pfb
|
|
+fontFile Times-Roman @PREFIX@/share/ghostscript/fonts/n021003l.pfb
|
|
+fontFile Times-Italic @PREFIX@/share/ghostscript/fonts/n021023l.pfb
|
|
+fontFile Times-Bold @PREFIX@/share/ghostscript/fonts/n021004l.pfb
|
|
+fontFile Times-BoldItalic @PREFIX@/share/ghostscript/fonts/n021024l.pfb
|
|
+fontFile Helvetica @PREFIX@/share/ghostscript/fonts/n019003l.pfb
|
|
+fontFile Helvetica-Oblique @PREFIX@/share/ghostscript/fonts/n019023l.pfb
|
|
+fontFile Helvetica-Bold @PREFIX@/share/ghostscript/fonts/n019004l.pfb
|
|
+fontFile Helvetica-BoldOblique @PREFIX@/share/ghostscript/fonts/n019024l.pfb
|
|
+fontFile Courier @PREFIX@/share/ghostscript/fonts/n022003l.pfb
|
|
+fontFile Courier-Oblique @PREFIX@/share/ghostscript/fonts/n022023l.pfb
|
|
+fontFile Courier-Bold @PREFIX@/share/ghostscript/fonts/n022004l.pfb
|
|
+fontFile Courier-BoldOblique @PREFIX@/share/ghostscript/fonts/n022024l.pfb
|
|
+fontFile Symbol @PREFIX@/share/ghostscript/fonts/s050000l.pfb
|
|
+fontFile ZapfDingbats @PREFIX@/share/ghostscript/fonts/d050000l.pfb
|
|
|
|
# use the Bakoma Type 1 fonts
|
|
-# (this assumes they happen to be installed in /usr/local/fonts/bakoma)
|
|
-fontDir /usr/local/fonts/bakoma
|
|
+# (this assumes they happen to be installed in @PREFIX@/fonts/bakoma)
|
|
+fontDir @PREFIX@/fonts/bakoma
|
|
|
|
# set some PostScript options
|
|
psPaperSize letter
|
|
@@ -641,7 +641,7 @@
|
|
.fi
|
|
.SH FILES
|
|
.TP
|
|
-.B /usr/local/etc/xpdfrc
|
|
+.B @PKG_SYSCONFDIR@/xpdfrc
|
|
This is the default location for the system-wide configuration file.
|
|
Depending on build options, it may be placed elsewhere.
|
|
.TP
|