diff options
author | hrs <hrs@FreeBSD.org> | 2008-10-31 01:18:06 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2008-10-31 01:18:06 +0800 |
commit | 48f6da842afad26241fdb09deae699ad5225dd45 (patch) | |
tree | dec2a41dc4e840356f3f0cb47edfe3aa8a70debe /korean | |
parent | 0739fdaea7b464f977ec1821a0e78f0fe62e0b02 (diff) | |
download | freebsd-ports-gnome-48f6da842afad26241fdb09deae699ad5225dd45.tar.gz freebsd-ports-gnome-48f6da842afad26241fdb09deae699ad5225dd45.tar.zst freebsd-ports-gnome-48f6da842afad26241fdb09deae699ad5225dd45.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%% |