aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorsanpei <sanpei@FreeBSD.org>2015-07-18 10:10:55 +0800
committersanpei <sanpei@FreeBSD.org>2015-07-18 10:10:55 +0800
commitc96fb0418e545a569b5975b4d878a30a948c29d5 (patch)
treeace614a25f6c297baa769ffac2219cd4cbb7189b /japanese
parenta0a988446463934e7287d3bc4df4a2d12ef7a00b (diff)
downloadfreebsd-ports-gnome-c96fb0418e545a569b5975b4d878a30a948c29d5.tar.gz
freebsd-ports-gnome-c96fb0418e545a569b5975b4d878a30a948c29d5.tar.zst
freebsd-ports-gnome-c96fb0418e545a569b5975b4d878a30a948c29d5.zip
fix issues related with USES=fonts
PR: 200064, 200065 Submitted by: WATANABE Kazuhiro
Diffstat (limited to 'japanese')
-rw-r--r--japanese/kanji18/Makefile2
-rw-r--r--japanese/kanji18/files/DEINSTALL.tmpl6
-rw-r--r--japanese/kanji18/files/INSTALL.tmpl3
-rw-r--r--japanese/kanji26/files/DEINSTALL.tmpl6
-rw-r--r--japanese/kanji26/files/INSTALL.tmpl3
5 files changed, 5 insertions, 15 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-$$
diff --git a/japanese/kanji26/files/DEINSTALL.tmpl b/japanese/kanji26/files/DEINSTALL.tmpl
index e17f4cb746f6..184086d896f8 100644
--- a/japanese/kanji26/files/DEINSTALL.tmpl
+++ b/japanese/kanji26/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/kanji26/files/INSTALL.tmpl b/japanese/kanji26/files/INSTALL.tmpl
index de3c357b99e0..d78e35582904 100644
--- a/japanese/kanji26/files/INSTALL.tmpl
+++ b/japanese/kanji26/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-$$