diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2015-09-13 23:36:45 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2015-09-13 23:36:45 +0000 |
commit | 0b3da8c79c80795126e216954b18291047315961 (patch) | |
tree | cb890cbf02753a51263acc8e2df899b6dbcf79be /japanese/font-mona-ipa | |
parent | c716728e4a1cae2ad6028534945293e137836147 (diff) | |
download | ports-0b3da8c79c80795126e216954b18291047315961.tar.gz ports-0b3da8c79c80795126e216954b18291047315961.zip |
Fix fonts.dir by using fonts:fc and style consistency.
Notes
Notes:
svn path=/head/; revision=396873
Diffstat (limited to 'japanese/font-mona-ipa')
-rw-r--r-- | japanese/font-mona-ipa/Makefile | 5 | ||||
-rw-r--r-- | japanese/font-mona-ipa/files/pkg-install.in | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/japanese/font-mona-ipa/Makefile b/japanese/font-mona-ipa/Makefile index 0ffbd9952d8e..dc40d70ca78d 100644 --- a/japanese/font-mona-ipa/Makefile +++ b/japanese/font-mona-ipa/Makefile @@ -2,7 +2,7 @@ PORTNAME= mona-ipa PORTVERSION= 1.0.8 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= japanese x11-fonts MASTER_SITES= http://www.geocities.jp/ipa_mona/ PKGNAMEPREFIX= ja-font- @@ -11,7 +11,8 @@ DISTNAME= opfc-ModuleHP-1.1.1_withIPAMonaFonts-${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= IPA Japanese TrueType fonts with Mona font -USES= fonts +USES= fonts:fc +FONTNAME= TTF NO_BUILD= yes PKGINSTALL= ${WRKDIR}/pkg-install PKGDEINSTALL= ${WRKDIR}/pkg-install diff --git a/japanese/font-mona-ipa/files/pkg-install.in b/japanese/font-mona-ipa/files/pkg-install.in index a0d647a5cc16..3b692cd8e3ec 100644 --- a/japanese/font-mona-ipa/files/pkg-install.in +++ b/japanese/font-mona-ipa/files/pkg-install.in @@ -1,8 +1,6 @@ #!/bin/sh # $FreeBSD$ -FONTSDIR=%%FONTSDIR%% - catfontsdir () { while read _IN @@ -75,7 +73,7 @@ nfonts () case "$2" in POST-INSTALL) - cd ${FONTSDIR} + cd %%FONTSDIR%% touch fonts.dir (catfontsdir < fonts.dir; addentries) > fonts.dir.tmp nfonts < fonts.dir.tmp > fonts.dir @@ -83,7 +81,7 @@ POST-INSTALL) rm -f fonts.dir.tmp ;; POST-DEINSTALL) - cd ${FONTSDIR} + cd %%FONTSDIR%% catfontsdir < fonts.dir > fonts.dir.tmp nfonts < fonts.dir.tmp > fonts.dir cat fonts.dir.tmp >> fonts.dir |