Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37913006
en ru br
ALT Linux repos
S:1.1-alt17
5.0: 1.1-alt10

Group :: System/Fonts/X11 bitmap
RPM: fonts-bitmap-cyr_rfx-koi8-r

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

FONTDIR=$(PREFIX)/usr/X11R6/lib/X11/fonts

#
# Select whether or not you want to compress the fonts and which compression
# utility to use for that
COMPFONTS=set
COMPUTIL=gzip
COMPFLAGS=-9f

FONTC=bdftopcf
FONTCFLAGS=
MKFONTDIR=mkfontdir
MKFONTDIRFLAGS=

FONTS=misc 75dpi

all: $(addsuffix .done, $(FONTS))

%.done: %
cd $< ;\
for i in *.bdf ; do\
$(FONTC) $(FONTCFLAGS) $$i > `basename $$i .bdf`.pcf;\
if [ $(COMPFONTS) ];then\
$(COMPUTIL) $(COMPFLAGS) `basename $$i .bdf`.pcf;\
fi;\
done;\
$(MKFONTDIR) $(MKFONTDIRFLAGS);

install: installfonts

installfonts:
for i in $(FONTS) ;do\
cd $$i;\
if [ -f fonts.dir ] ; then\
install -d $(FONTDIR)/$$i;\
install -m 444 *.pcf* $(FONTDIR)/$$i;\
install -m 644 fonts.dir $(FONTDIR)/$$i;\
install -m 444 fonts.alias $(FONTDIR)/$$i;\
fi;\
cd ..;\
done;

clean:
for i in $(FONTS) ;do\
cd $$i;\
rm -f *.pcf* fonts.dir;\
cd ..;\
done;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin