diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2015-09-12 23:13:05 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2015-09-12 23:13:05 +0000 |
commit | 5a316c4cdd4b3186ebbe10e79efae81f4075d8d0 (patch) | |
tree | 6cf82796d51091b2920e4b0426df299172d0ef2b /japanese | |
parent | 673ac30b79655029f878b0f4c5920a9a93200b2a (diff) |
Notes
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/font-ipa/Makefile | 2 | ||||
-rw-r--r-- | japanese/font-ipa/files/pkg-install.in | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/japanese/font-ipa/Makefile b/japanese/font-ipa/Makefile index b165ca144e1b..80ebffaddc06 100644 --- a/japanese/font-ipa/Makefile +++ b/japanese/font-ipa/Makefile @@ -2,7 +2,7 @@ PORTNAME= ipa PORTVERSION= 00303 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= japanese x11-fonts MASTER_SITES= http://info.openlab.ipa.go.jp/ipafont/fontdata/ PKGNAMEPREFIX= ja-font- diff --git a/japanese/font-ipa/files/pkg-install.in b/japanese/font-ipa/files/pkg-install.in index 7ae9e47a80bc..3df544eff523 100644 --- a/japanese/font-ipa/files/pkg-install.in +++ b/japanese/font-ipa/files/pkg-install.in @@ -1,8 +1,6 @@ #!/bin/sh # $FreeBSD$ -FONTSDIR=%%FONTSDIR%%/OTF - catfontsdir () { while read _IN @@ -77,7 +75,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 @@ -85,7 +83,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 |