aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authormita <mita@FreeBSD.org>2005-02-06 11:23:38 +0800
committermita <mita@FreeBSD.org>2005-02-06 11:23:38 +0800
commit22011ba00c0d228d4b976a819e984bc0a3ef3887 (patch)
treeae9d3cce6a8f1b55ca2c2470bf851c55b7e78985 /japanese
parentd6037abb8cbf0a34efe7d6249d3641f4ae8c152b (diff)
downloadfreebsd-ports-gnome-22011ba00c0d228d4b976a819e984bc0a3ef3887.tar.gz
freebsd-ports-gnome-22011ba00c0d228d4b976a819e984bc0a3ef3887.tar.zst
freebsd-ports-gnome-22011ba00c0d228d4b976a819e984bc0a3ef3887.zip
Maintainer's update.
Installation script is modified for cleaner installation. Submitted by: kris
Diffstat (limited to 'japanese')
-rw-r--r--japanese/xpdf/pkg-install1
-rw-r--r--japanese/xpdf/pkg-plist2
2 files changed, 2 insertions, 1 deletions
diff --git a/japanese/xpdf/pkg-install b/japanese/xpdf/pkg-install
index 7fc369ace2a1..e05ac775d28d 100644
--- a/japanese/xpdf/pkg-install
+++ b/japanese/xpdf/pkg-install
@@ -2,6 +2,7 @@
if [ "$2" = "PRE-INSTALL" ]; then
exit 0
fi
+umask 222
XPDFRC=${PKG_PREFIX}/etc/xpdfrc
ADDRESOURCE=${PKG_PREFIX}/share/xpdf/japanese/dot.xpdfrc
/usr/bin/sed '/^#Japanese PDF resources$/,/^#Japanese PDF resources$/d' ${XPDFRC} > ${XPDFRC}.nojapan
diff --git a/japanese/xpdf/pkg-plist b/japanese/xpdf/pkg-plist
index 3a8c18949648..25dbf599fbf4 100644
--- a/japanese/xpdf/pkg-plist
+++ b/japanese/xpdf/pkg-plist
@@ -4,7 +4,7 @@ share/xpdf/japanese/ISO-2022-JP.unicodeMap
share/xpdf/japanese/README
share/xpdf/japanese/Shift-JIS.unicodeMap
@unexec mv -f %D/etc/xpdfrc %D/etc/xpdfrc.japan
-@unexec grep -F -v --file=%D/share/xpdf/japanese/dot.xpdfrc %D/etc/xpdfrc.japan > %D/etc/xpdfrc
+@unexec (umask 222; grep -F -v --file=%D/share/xpdf/japanese/dot.xpdfrc %D/etc/xpdfrc.japan > %D/etc/xpdfrc)
share/xpdf/japanese/dot.xpdfrc
@unexec rm -f %D/etc/xpdfrc.japan
@dirrm share/xpdf/japanese