diff options
Diffstat (limited to 'japanese/kanji18')
-rw-r--r-- | japanese/kanji18/Makefile | 2 | ||||
-rw-r--r-- | japanese/kanji18/files/DEINSTALL.tmpl | 6 | ||||
-rw-r--r-- | japanese/kanji18/files/INSTALL.tmpl | 3 |
3 files changed, 3 insertions, 8 deletions
diff --git a/japanese/kanji18/Makefile b/japanese/kanji18/Makefile index ca2be08f6808..46bd3dd29fb7 100644 --- a/japanese/kanji18/Makefile +++ b/japanese/kanji18/Makefile @@ -3,7 +3,7 @@ PORTNAME= kanji PORTVERSION?= 1.0 -PORTREVISION?= 6 +PORTREVISION?= 7 CATEGORIES= japanese x11-fonts MASTER_SITES= PORTS_JP/${DISTNAME} PKGNAMESUFFIX?= 18 diff --git a/japanese/kanji18/files/DEINSTALL.tmpl b/japanese/kanji18/files/DEINSTALL.tmpl index 809652269f80..42902c4e6205 100644 --- a/japanese/kanji18/files/DEINSTALL.tmpl +++ b/japanese/kanji18/files/DEINSTALL.tmpl @@ -5,8 +5,7 @@ grepv() { } if [ "x$2" = "xPOST-DEINSTALL" ]; then - FONTDIR=${PKG_PREFIX}/%%FONTSDIR%% - cd ${PKG_PREFIX}/%%FONTSDIR%%; %%LOCALBASE%%/bin/mkfontdir + FONTDIR=%%FONTSDIR%% # font alias entry here! TMPFILE=/tmp/install-fonts-alias-$$ @@ -43,9 +42,6 @@ if [ "x$2" = "xPOST-DEINSTALL" ]; then echo "to enable this update." echo "**********************************************************" ) - if [ "`wc -c ${PKG_PREFIX}/%%FONTSDIR%%/fonts.dir | awk '{print $1}'`" = 2 ]; then - rm -f ${PKG_PREFIX}/%%FONTSDIR%%/fonts.dir - fi fi diff --git a/japanese/kanji18/files/INSTALL.tmpl b/japanese/kanji18/files/INSTALL.tmpl index af0e29d7ddf7..c9c2cc45c150 100644 --- a/japanese/kanji18/files/INSTALL.tmpl +++ b/japanese/kanji18/files/INSTALL.tmpl @@ -5,8 +5,7 @@ grepv() { } if [ "x$2" = "xPOST-INSTALL" ]; then - FONTDIR=${PKG_PREFIX}/%%FONTSDIR%% - cd ${PKG_PREFIX}/%%FONTSDIR%%; %%LOCALBASE%%/bin/mkfontdir + FONTDIR=%%FONTSDIR%% # font alias entry here! TMPFILE=/tmp/install-fonts-alias-$$ |