diff options
author | steve <steve@FreeBSD.org> | 2000-04-30 19:19:27 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-04-30 19:19:27 +0000 |
commit | 735344cd30a7997c54e5a3ad92b0cbd157cbe9f9 (patch) | |
tree | 607c37f8bf4a53258f4ed8d5463c6a9ee1b15766 /russian | |
parent | cc3ee5b81a338d521fd21e308d6e38ac5697abfc (diff) | |
download | FreeBSD-ports-735344cd30a7997c54e5a3ad92b0cbd157cbe9f9.zip FreeBSD-ports-735344cd30a7997c54e5a3ad92b0cbd157cbe9f9.tar.gz |
Check for Fontmap.GS first and use is instead of Fontmap, if it is
present.
PR: 17979
Submitted by: maintainer
Diffstat (limited to 'russian')
-rw-r--r-- | russian/koi8r-ps/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/russian/koi8r-ps/Makefile b/russian/koi8r-ps/Makefile index 099da7a..89285fd 100644 --- a/russian/koi8r-ps/Makefile +++ b/russian/koi8r-ps/Makefile @@ -23,10 +23,11 @@ DIST_SUBDIR= koi8r-ps FONTMAP!= if which gs > /dev/null 2>&1 ; then \ d=`gs -h | awk '/^Search path:$$/ { nl=1; next } \ nl { print $$3; exit }'`; \ - if [ -e $$d/Fontmap ] ; then \ - ${ECHO} $$d/Fontmap; \ + if [ -e $$d/Fontmap.GS ] ; then \ + ${ECHO} $$d/Fontmap.GS; \ + elif [ -e $$d/Fontmap ] ; then \ + ${ECHO} $$d/Fontmap \ else \ - logger $$d/Fontmap; \ ${ECHO} /nicht/ ; \ fi; \ else \ |