5eb5edcb22
- Use DATADIR - Fix removing of shared dir PR: ports/75176 Submitted by: Dryice Liu <dryice@liu.com.cn> (maintainer)
16 lines
836 B
Text
16 lines
836 B
Text
%%DATADIR%%/chinese-simplified/Adobe-GB1.cidToUnicode
|
|
%%DATADIR%%/chinese-simplified/EUC-CN.unicodeMap
|
|
%%DATADIR%%/chinese-simplified/GBK.unicodeMap
|
|
%%DATADIR%%/chinese-simplified/ISO-2022-CN.unicodeMap
|
|
%%DATADIR%%/chinese-simplified/README
|
|
%%DATADIR%%/chinese-traditional/Adobe-CNS1.cidToUnicode
|
|
%%DATADIR%%/chinese-traditional/Big5.unicodeMap
|
|
%%DATADIR%%/chinese-traditional/Big5ascii.unicodeMap
|
|
%%DATADIR%%/chinese-traditional/README
|
|
@unexec cp %D/etc/xpdfrc %D/etc/xpdfrc.chinese-traditional
|
|
@unexec grep -F -v --file=%D/%%DATADIR%%/chinese-traditional/dot.xpdfrc %D/etc/xpdfrc.chinese-traditional > %D/etc/xpdfrc
|
|
%%DATADIR%%/chinese-traditional/dot.xpdfrc
|
|
@unexec rm -f %D/etc/xpdfrc.chinese-traditional
|
|
@dirrm %%DATADIR%%/chinese-simplified
|
|
@dirrm %%DATADIR%%/chinese-traditional
|
|
@unexec rmdir %D/%%DATADIR%% 2> /dev/null || true
|