diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-03-29 01:50:56 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-03-29 01:50:56 +0000 |
commit | 22c4550a1fce7af724018a2193bd99af8f5fd977 (patch) | |
tree | 410ff0fc31b579f2819ed2ad3c8d3ffeb846dd80 /japanese/font-mplus/pkg-req | |
parent | devel/ups only compiles under -STABLE on i386 (diff) |
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>
Notes
Notes:
svn path=/head/; revision=77668
Diffstat (limited to '')
-rw-r--r-- | japanese/font-mplus/pkg-req | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/japanese/font-mplus/pkg-req b/japanese/font-mplus/pkg-req index fd576dda5c63..edbbd887baac 100644 --- a/japanese/font-mplus/pkg-req +++ b/japanese/font-mplus/pkg-req @@ -21,19 +21,15 @@ fi # font alias entry here! TMPFILE=/tmp/install-fonts-alias-$$ -cat << EOF > ${TMPFILE} --mplus-gothic-medium-r-normal--13-120-75-75-c-120-jisx0208.1983-0 -mplus-gothic-medium-r-normal--13-120-75-75-c-120-jisx0208.1990-0 --mplus-gothic-bold-r-normal--13-120-75-75-c-120-jisx0208.1983-0 -mplus-gothic-bold-r-normal--13-120-75-75-c-120-jisx0208.1990-0 -EOF +for i in fonts.alias.e fonts.alias.j fonts.alias.euro ; do + cat ${PKG_PREFIX}/share/doc/mplusfonts/${i} >> ${TMPFILE} +done -echo "Updating ${FONTDIR}/fonts.alias" -cd ${FONTDIR} -touch fonts.alias -cp fonts.alias fonts.alias.orig -if [ "$2" = "INSTALL" ] ; then - (grep -v -e "`cat ${TMPFILE}`" fonts.alias.orig ; \ - cat ${TMPFILE}) > fonts.alias -elif [ "$2" = "DEINSTALL" ] ; then +if [ "$2" = "DEINSTALL" ] ; then + echo "Updating ${FONTDIR}/fonts.alias" + cd ${FONTDIR} + touch fonts.alias + cp fonts.alias fonts.alias.orig grep -v -e "`cat ${TMPFILE}`" fonts.alias.orig > fonts.alias fi rm -f fonts.alias.orig ${TMPFILE} |