mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
f0c0ac68a8
Approved by: maintainer timeout (15 days) Inspired by: ja-xpdf
12 lines
355 B
Bash
12 lines
355 B
Bash
#!/bin/sh
|
|
if [ "$2" = "PRE-INSTALL" ]; then
|
|
exit 0
|
|
fi
|
|
umask 222
|
|
XPDFRC=${PKG_PREFIX}/etc/xpdfrc
|
|
ADDRESOURCE=${PKG_PREFIX}/share/xpdf/korean/dot.xpdfrc
|
|
/usr/bin/sed '/^#Korean PDF resources$/,/^#Korean PDF resources$/d' ${XPDFRC} > ${XPDFRC}.nokorea
|
|
/bin/rm -f ${XPDFRC}
|
|
/bin/cat ${XPDFRC}.nokorea ${ADDRESOURCE} > ${XPDFRC}
|
|
/bin/rm -f ${XPDFRC}.nokorea
|