aboutsummaryrefslogtreecommitdiffstats
path: root/korean
diff options
context:
space:
mode:
Diffstat (limited to 'korean')
-rw-r--r--korean/xpdf/Makefile3
-rw-r--r--korean/xpdf/pkg-plist2
2 files changed, 3 insertions, 2 deletions
diff --git a/korean/xpdf/Makefile b/korean/xpdf/Makefile
index 6ccc387fe830..bb7415b993bd 100644
--- a/korean/xpdf/Makefile
+++ b/korean/xpdf/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xpdf
PORTVERSION= 3.02
+PORTREVISION= 1
CATEGORIES= korean
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/
PKGNAMESUFFIX= -kofont
@@ -44,6 +45,6 @@ post-install:
${ECHO_CMD} "include ${EXTRARC}" ) \
> ${LOCALBASE}/etc/xpdfrc
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${LOCALBASE}/etc/xpdfrc
- ${CHMOD} 0644 ${LOCALBASE}/etc/xpdfrc
+ ${CHMOD} 0444 ${LOCALBASE}/etc/xpdfrc
.include <bsd.port.mk>
diff --git a/korean/xpdf/pkg-plist b/korean/xpdf/pkg-plist
index e64610e670d1..a7fb50144e70 100644
--- a/korean/xpdf/pkg-plist
+++ b/korean/xpdf/pkg-plist
@@ -3,7 +3,7 @@
%%DATADIR%%/korean/ISO-2022-KR.unicodeMap
%%DATADIR%%/korean/README
@exec exec < %D/etc/xpdfrc; rm -f %D/etc/xpdfrc; ( grep -v "%%EXTRARC%%"; echo "include %%EXTRARC%%" ) > %D/etc/xpdfrc; chmod 0444 %D/etc/xpdfrc
-@unexec exec < %D/etc/xpdfrc; rm -f %D/etc/xpdfrc && grep -v "%%EXTRARC%%" > %D/etc/xpdfrc
+@unexec exec < %D/etc/xpdfrc; rm -f %D/etc/xpdfrc && grep -v "%%EXTRARC%%" > %D/etc/xpdfrc; chmod 0444 %D/etc/xpdfrc
%%DATADIR%%/korean/dot.xpdfrc
@dirrm %%DATADIR%%/korean
@dirrmtry %%DATADIR%%