diff options
author | hrs <hrs@FreeBSD.org> | 2015-09-14 07:36:45 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2015-09-14 07:36:45 +0800 |
commit | 35a91d4592322129b01dc100e1ba2d02321b62c4 (patch) | |
tree | cb890cbf02753a51263acc8e2df899b6dbcf79be /japanese/font-mona-ipa | |
parent | 63d8169757727d16412ed5d39f47c9ee728a7a8a (diff) | |
download | freebsd-ports-gnome-35a91d4592322129b01dc100e1ba2d02321b62c4.tar.gz freebsd-ports-gnome-35a91d4592322129b01dc100e1ba2d02321b62c4.tar.zst freebsd-ports-gnome-35a91d4592322129b01dc100e1ba2d02321b62c4.zip |
Fix fonts.dir by using fonts:fc and style consistency.
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 |