diff options
author | edwin <edwin@FreeBSD.org> | 2003-03-29 09:50:56 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-03-29 09:50:56 +0800 |
commit | 2f3cfb452bd624c3c2fa2aa67997e0c073826adc (patch) | |
tree | 9152888e41b1ddb0736740fd2883033bdf21d9c0 /japanese/font-mplus/files | |
parent | bb8e2f2f1407cdc847f9312cbf25115390b25609 (diff) | |
download | freebsd-ports-gnome-2f3cfb452bd624c3c2fa2aa67997e0c073826adc.tar.gz freebsd-ports-gnome-2f3cfb452bd624c3c2fa2aa67997e0c073826adc.tar.zst freebsd-ports-gnome-2f3cfb452bd624c3c2fa2aa67997e0c073826adc.zip |
Update: japanese/mplusfonts
Update for M+ Bitmap Fonts 1.2.0a.
This version includes latin fonts and install script that 1.0.4 don't includes.
This port build for nothing in 'do-build' target, and it run install script that
includes fonts build in 'do-install' target.
PR: ports/50344
Submitted by: "H.Miyamoto" <Ys@PixyGarden.net>
Diffstat (limited to 'japanese/font-mplus/files')
-rw-r--r-- | japanese/font-mplus/files/patch-install_mplus_fonts | 116 |
1 files changed, 116 insertions, 0 deletions
diff --git a/japanese/font-mplus/files/patch-install_mplus_fonts b/japanese/font-mplus/files/patch-install_mplus_fonts new file mode 100644 index 000000000000..bf5fbaa98fdb --- /dev/null +++ b/japanese/font-mplus/files/patch-install_mplus_fonts @@ -0,0 +1,116 @@ +--- install_mplus_fonts.orig Mon Mar 17 20:22:04 2003 ++++ install_mplus_fonts Sun Mar 23 21:58:11 2003 +@@ -2,7 +2,7 @@ + + + # Install "mplus" directory [ /usr/X11R6/lib/X11/fonts ] +-PREFIX=/usr/X11R6/lib/X11/fonts ++PREFIX=$1 + + # Install M+ bitmap fonts EURO (iso8859-15) [ YES or NO ] + EURO15=YES +@@ -11,7 +11,7 @@ + MPLUSJ=YES + + # Install naga10 fonts [ "source directory path" or NO ] +-NAGA10=../ ++NAGA10=NO + + # Install M+ cursor [ YES or NO ] + # Original "cursor.pcf.gz" path [ /usr/X11R6/lib/X11/fonts/misc ] +@@ -20,19 +20,6 @@ + + + +- +-# Backup/Create mplus directory +-if [ -d $PREFIX/mplus.BAK ]; then +- echo "remove: '$PREFIX/mplus.BAK' directory" +- rm -rf $PREFIX/mplus.BAK +-fi +-if [ -d $PREFIX/mplus ]; then +- echo "backup: present 'mplus' directory to 'mplus.BAK'" +- mv $PREFIX/mplus $PREFIX/mplus.BAK +-fi +-echo "create: new '$PREFIX/mplus' directory" +-mkdir -p $PREFIX/mplus +- + # Install M+ bitmap fonts E + echo "" + echo "Install M+ bitmap fonts E (iso8859-1)..." +@@ -47,10 +34,10 @@ + do + b=`basename $f .bdf` + echo "create: $b.pcf.gz" +- bdftopcf $f | gzip > $PREFIX/mplus/$b.pcf.gz ++ bdftopcf $f | gzip > $PREFIX/$b.pcf.gz + done + echo "create: fonts.alias for M+ bitmap fonts E" +-cat fonts.alias > $PREFIX/mplus/fonts.alias ++cat fonts.alias > $PREFIX/fonts.alias + cd - + + # Install M+ bitmap fonts EURO +@@ -65,7 +52,7 @@ + cp ../$b.bdf ./ + patch $b.bdf $b.diff + mv $b.bdf $b-euro.bdf +- bdftopcf $b-euro.bdf | gzip > $PREFIX/mplus/$b-euro.pcf.gz ++ bdftopcf $b-euro.bdf | gzip > $PREFIX/$b-euro.pcf.gz + done + + echo "create: mplus_h12rw-euro.pcf.gz" +@@ -73,11 +60,11 @@ + mplus_h12r-euro.bdf > mplus_h12rw-euro.bdf + perl -pi -e 's/hlv/hlvw/' mplus_h12rw-euro.bdf + bdftopcf mplus_h12rw-euro.bdf | gzip \ +- > $PREFIX/mplus/mplus_h12rw-euro.pcf.gz ++ > $PREFIX/mplus_h12rw-euro.pcf.gz + + # rm $b-euro.bdf + echo "create: fonts.alias for M+ bitmap fonts EURO" +- cat fonts.alias >> $PREFIX/mplus/fonts.alias ++ cat fonts.alias >> $PREFIX/fonts.alias + cd - + fi + +@@ -116,7 +103,7 @@ + do + b=`basename $f .bdf` + echo "create: $b.pcf.gz" +- bdftopcf $f | gzip > $PREFIX/mplus/$b.pcf.gz ++ bdftopcf $f | gzip > $PREFIX/$b.pcf.gz + done + + if [ -f mplus_j10r.bdf~ ]; then +@@ -125,7 +112,7 @@ + + # rm mplus_j12b.bdf + echo "create: fonts.alias for M+ bitmap fonts J" +- cat fonts.alias >> $PREFIX/mplus/fonts.alias ++ cat fonts.alias >> $PREFIX/fonts.alias + cd - + + # Install naga10 fonts +@@ -137,11 +124,11 @@ + do + b=`basename $f .bdf` + echo "create: $b.pcf.gz" +- bdftopcf $f | gzip > $PREFIX/mplus/$b.pcf.gz ++ bdftopcf $f | gzip > $PREFIX/$b.pcf.gz + done + cd -; cd fonts_j + echo "create: fonts.alias for naga10 fonts" +- cat fonts.alias_10 >> $PREFIX/mplus/fonts.alias ++ cat fonts.alias_10 >> $PREFIX/fonts.alias + cd - + fi + +@@ -168,6 +155,4 @@ + # Finish + echo "" + echo "create: fonts.dir file" +-mkfontdir $PREFIX/mplus +-xset fp rehash +-echo "xset fp rehash... done" ++mkfontdir $PREFIX |