Lines 1-31
Link Here
|
1 |
--- install.sh Mon Mar 5 23:38:33 2001 |
1 |
--- install.sh.orig Fri Jun 22 14:20:56 2001 |
2 |
+++ install.sh Sat Jun 30 10:23:15 2001 |
2 |
+++ install.sh Wed Mar 23 17:45:52 2005 |
3 |
@@ -3,8 +3,10 @@ |
3 |
@@ -3,27 +3,32 @@ |
4 |
# Before running the script, choose how you'll update the pscyr.map file |
4 |
# Before running the script, choose how you'll update the pscyr.map file |
5 |
# (see below). |
5 |
# (see below). |
6 |
|
6 |
|
7 |
-TEXMF=`kpsewhich -expand-var='$TEXMFMAIN'` |
7 |
-TEXMF=`kpsewhich -expand-var='$TEXMFMAIN'` |
8 |
-mkdir -p $TEXMF/{tex/latex,fonts/tfm/public,fonts/vf/public,fonts/type1/public,fonts/afm/public,doc/fonts}/pscyr |
8 |
-mkdir -p $TEXMF/{tex/latex,fonts/tfm/public,fonts/vf/public,fonts/type1/public,fonts/afm/public,doc/fonts}/pscyr |
9 |
+TEXMF=$1/share/texmf |
9 |
-mv dvips/base/* $TEXMF/dvips/base |
10 |
+for idir in tex/latex fonts/tfm/public fonts/vf/public fonts/type1/public fonts/afm/public doc/fonts |
10 |
-mv dvips/config/* $TEXMF/dvips/config |
11 |
+ do mkdir -p $TEXMF/$idir/pscyr |
11 |
-mv tex/latex/pscyr/* $TEXMF/tex/latex/pscyr |
|
|
12 |
-mv fonts/tfm/public/pscyr/* $TEXMF/fonts/tfm/public/pscyr |
13 |
-mv fonts/vf/public/pscyr/* $TEXMF/fonts/vf/public/pscyr |
14 |
-mv fonts/type1/public/pscyr/* $TEXMF/fonts/type1/public/pscyr |
15 |
-mv fonts/afm/public/pscyr/* $TEXMF/fonts/afm/public/pscyr |
16 |
-mv LICENSE doc/README.koi doc/PROBLEMS $TEXMF/doc/fonts/pscyr |
17 |
+for idir in tex/latex fonts/tfm/public fonts/vf/public \ |
18 |
+ fonts/type1/public fonts/afm/public \ |
19 |
+ fonts/enc/dvips fonts/map/dvips fonts/map/dvipdfm doc/fonts |
20 |
+ do mkdir -p ${TEXMFDIR}/$idir/pscyr |
12 |
+done |
21 |
+done |
13 |
mv dvips/base/* $TEXMF/dvips/base |
|
|
14 |
mv dvips/config/* $TEXMF/dvips/config |
15 |
mv tex/latex/pscyr/* $TEXMF/tex/latex/pscyr |
16 |
@@ -14,8 +16,8 @@ |
17 |
mv fonts/afm/public/pscyr/* $TEXMF/fonts/afm/public/pscyr |
18 |
mv LICENSE doc/README.koi $TEXMF/doc/fonts/pscyr |
19 |
|
22 |
|
20 |
-VARTEXFONTS=`kpsewhich -expand-var='$VARTEXFONTS'` |
23 |
-VARTEXFONTS=`kpsewhich -expand-var='$VARTEXFONTS'` |
21 |
-rm -f $VARTEXFONTS/pk/modeless/public/pscyr/* |
24 |
-rm -f $VARTEXFONTS/pk/modeless/public/pscyr/* |
|
|
25 |
+${BSD_INSTALL_DATA} dvips/base/t2a.enc ${TEXMFDIR}/fonts/enc/dvips/pscyr |
26 |
+${BSD_INSTALL_DATA} dvips/config/pscyr.map ${TEXMFDIR}/fonts/map/dvips/pscyr |
27 |
+${BSD_INSTALL_DATA} dvipdfm/base/pscyr2.map ${TEXMFDIR}/fonts/map/dvipdfm/pscyr |
28 |
+${BSD_INSTALL_DATA} tex/latex/pscyr/* ${TEXMFDIR}/tex/latex/pscyr |
29 |
+${BSD_INSTALL_DATA} fonts/tfm/public/pscyr/* ${TEXMFDIR}/fonts/tfm/public/pscyr |
30 |
+${BSD_INSTALL_DATA} fonts/vf/public/pscyr/* ${TEXMFDIR}/fonts/vf/public/pscyr |
31 |
+${BSD_INSTALL_DATA} fonts/type1/public/pscyr/* ${TEXMFDIR}/fonts/type1/public/pscyr |
32 |
+${BSD_INSTALL_DATA} fonts/afm/public/pscyr/* ${TEXMFDIR}/fonts/afm/public/pscyr |
33 |
+${BSD_INSTALL_DATA} LICENSE doc/README.koi doc/PROBLEMS ${TEXMFDIR}/doc/fonts/pscyr |
34 |
+ |
22 |
+#VARTEXFONTS=`kpsewhich -expand-var='$VARTEXFONTS'` |
35 |
+#VARTEXFONTS=`kpsewhich -expand-var='$VARTEXFONTS'` |
23 |
+#rm -f $VARTEXFONTS/pk/modeless/public/pscyr/* |
36 |
+#rm -f $VARTEXFONTS/pk/modeless/public/pscyr/* |
24 |
|
37 |
|
25 |
# Next, we need to update psfonts.map. The simplest (but not the best) |
38 |
# Next, we need to update psfonts.map. The simplest (but not the best) |
26 |
# method is to uncomment the following two lines. A better solution is |
39 |
# method is to uncomment the following two lines. A better solution is |
27 |
@@ -25,5 +27,5 @@ |
40 |
# to add the line "pscyr.map" to the extra_module section of updmap script |
28 |
#cd $TEXMF/dvips/config |
41 |
# and then run it. |
|
|
42 |
# |
43 |
-#cd $TEXMF/dvips/config |
44 |
+#cd ${TEXMFDIR}/dvips/config |
29 |
#cat pscyr.map >> psfonts.map |
45 |
#cat pscyr.map >> psfonts.map |
30 |
|
46 |
|
31 |
-mktexlsr |
47 |
-mktexlsr |