summaryrefslogtreecommitdiffstats
path: root/chinese/opendesktop-fonts
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/opendesktop-fonts')
-rw-r--r--chinese/opendesktop-fonts/Makefile2
-rw-r--r--chinese/opendesktop-fonts/pkg-plist4
2 files changed, 3 insertions, 3 deletions
diff --git a/chinese/opendesktop-fonts/Makefile b/chinese/opendesktop-fonts/Makefile
index 1ee9179..be4c0b5 100644
--- a/chinese/opendesktop-fonts/Makefile
+++ b/chinese/opendesktop-fonts/Makefile
@@ -45,7 +45,7 @@ do-install:
.endfor
${INSTALL_DATA} ${FILESDIR}/local.conf-odo ${FONTSDIR}
.if !defined(WITHOUT_X11)
- ${INSTALL_DATA} ${FILESDIR}/local.conf-odo ${X11BASE}/etc/fonts/local.conf
+ ${INSTALL_DATA} ${FILESDIR}/local.conf-odo ${LOCALBASE}/etc/fonts/local.conf
.endif
.include "${PORTSDIR}/chinese/ttfm/Makefile.ttf"
diff --git a/chinese/opendesktop-fonts/pkg-plist b/chinese/opendesktop-fonts/pkg-plist
index a965e94..5fd370c 100644
--- a/chinese/opendesktop-fonts/pkg-plist
+++ b/chinese/opendesktop-fonts/pkg-plist
@@ -1,3 +1,3 @@
-%%X11%%@unexec if cmp -s %%X11BASE%%/etc/fonts/local.conf %D/%%FONTSDIR%%/local.conf-odo; then rm -f %%X11BASE%%/etc/fonts/local.conf; fi
+%%X11%%@unexec if cmp -s %%LOCALBASE%%/etc/fonts/local.conf %D/%%FONTSDIR%%/local.conf-odo; then rm -f %%LOCALBASE%%/etc/fonts/local.conf; fi
%%FONTSDIR%%/local.conf-odo
-%%X11%%@exec cp %D/%%FONTSDIR%%/local.conf-odo %%X11BASE%%/etc/fonts/local.conf
+%%X11%%@exec cp %D/%%FONTSDIR%%/local.conf-odo %%LOCALBASE%%/etc/fonts/local.conf
OpenPOWER on IntegriCloud