Lines 100-107
Link Here
|
100 |
use doc && dohtml html/* |
100 |
use doc && dohtml html/* |
101 |
done |
101 |
done |
102 |
|
102 |
|
103 |
use X && font_src_install |
103 |
if use X; then |
|
|
104 |
font_src_install |
105 |
einfo "Adding ${FONTDIR} as a new FontPath for Xorg..." |
106 |
insinto /etc/X11/xorg.conf.d |
107 |
doins ${FILESDIR}/10_x3270-fonts.conf |
108 |
fi |
109 |
} |
110 |
|
111 |
pkg_postinst() { |
112 |
|
113 |
if use X; then |
114 |
font_pkg_postinst |
115 |
ewarn "Please run an 'etc-update' and accept the changes concerning '10_x3270-fonts.conf' then restart Xorg." |
116 |
ewarn "In the meantime you can also issue the following commands (non-peristent!) in your active user session:" |
117 |
ewarn " xset fp+ /usr/share/fonts/x3270 && xset fp rehash" |
118 |
einfo "It is advised to also install the Adobe fonts (media-fonts/font-adobe-... packages) and x11-terms/xterm for the tracing capability of x3270" |
119 |
einfo "If you install media-fonts/font-adobe-... packages, remember to reference the installed fonts directories in your Xorg configuration!" |
120 |
fi |
121 |
|
104 |
} |
122 |
} |
105 |
|
123 |
|
106 |
pkg_postinst() { use X && font_pkg_postinst ; } |
|
|
107 |
pkg_postrm() { use X && font_pkg_postrm ; } |
124 |
pkg_postrm() { use X && font_pkg_postrm ; } |