aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/mgopen
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fonts/mgopen')
-rw-r--r--x11-fonts/mgopen/Makefile2
-rw-r--r--x11-fonts/mgopen/files/pkg-message.in3
-rw-r--r--x11-fonts/mgopen/pkg-plist2
3 files changed, 3 insertions, 4 deletions
diff --git a/x11-fonts/mgopen/Makefile b/x11-fonts/mgopen/Makefile
index b1b517affbf2..ed8a9eb8b6c2 100644
--- a/x11-fonts/mgopen/Makefile
+++ b/x11-fonts/mgopen/Makefile
@@ -32,7 +32,7 @@ do-install:
post-install:
@${ECHO_MSG} "===> Running fc-cache"
- -${X11BASE}/bin/fc-cache -f -v ${FONTSDIR}
+ -${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR}
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
diff --git a/x11-fonts/mgopen/files/pkg-message.in b/x11-fonts/mgopen/files/pkg-message.in
index fa36fd0606a7..754b5462d75d 100644
--- a/x11-fonts/mgopen/files/pkg-message.in
+++ b/x11-fonts/mgopen/files/pkg-message.in
@@ -9,6 +9,5 @@ Add the following line to the "Files" section of your X configuration file:
FontPath "%%FONTSDIR%%/"
-Note: your X configuration file is typically %%X11BASE%%/etc/X11/XF86Config
-if you are using XFree86, and %%X11BASE%%/etc/X11/xorg.conf
+Note: your X configuration file is typically %%LOCALBASE%%/etc/X11/xorg.conf
if you are using X.Org.
diff --git a/x11-fonts/mgopen/pkg-plist b/x11-fonts/mgopen/pkg-plist
index 9a196e878029..1d15daa96f29 100644
--- a/x11-fonts/mgopen/pkg-plist
+++ b/x11-fonts/mgopen/pkg-plist
@@ -16,4 +16,4 @@
%%FONTSDIR%%/MgOpenModernaRegular.ttf
@unexec rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true
@dirrm %%FONTSDIR%%
-@exec %%X11BASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || /usr/bin/true
+@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || /usr/bin/true