diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2008-10-30 17:18:06 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2008-10-30 17:18:06 +0000 |
commit | c5a3f5bbe0bc43dfe262dda5a14edb8b5dfd1c9e (patch) | |
tree | 840cf1142a4d0c0805d72123059aedf69b733dfa /korean | |
parent | a72cc17587693159fb9c872fb2c54d4bcbce39d1 (diff) | |
download | freebsd-ports-c5a3f5bbe0bc43dfe262dda5a14edb8b5dfd1c9e.zip |
Fix file mode on deinstall, not install.
Pointy hat to: hrs
Diffstat (limited to 'korean')
-rw-r--r-- | korean/xpdf/Makefile | 3 | ||||
-rw-r--r-- | korean/xpdf/pkg-plist | 2 |
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%% |