head	1.4;
access;
symbols
	RELEASE_7_1_0:1.3
	RELEASE_6_4_0:1.3
	RELEASE_5_EOL:1.3
	RELEASE_7_0_0:1.3
	RELEASE_6_3_0:1.3
	PRE_XORG_7:1.3
	RELEASE_4_EOL:1.3
	RELEASE_6_2_0:1.3
	RELEASE_6_1_0:1.3
	RELEASE_5_5_0:1.3
	RELEASE_6_0_0:1.3
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1
	RELEASE_4_8_0:1.1
	RELEASE_5_0_0:1.1
	RELEASE_4_7_0:1.1;
locks; strict;
comment	@# @;


1.4
date	2008.11.16.12.25.22;	author hrs;	state dead;
branches;
next	1.3;

1.3
date	2005.02.20.04.22.48;	author leeym;	state Exp;
branches;
next	1.2;

1.2
date	2004.12.18.16.51.33;	author pav;	state Exp;
branches;
next	1.1;

1.1
date	2002.08.03.19.32.54;	author clive;	state Exp;
branches;
next	;


desc
@@


1.4
log
@- Install the localized xpdfrc separately and use "include"
  instead of directly modifying the original xpdfrc.
- Take maintainership.

Approved by:	dryice (maintainer)
@
text
@#!/bin/sh
if [ "$2" = "PRE-INSTALL" ]; then
  exit 0
fi
XPDFRC=${PKG_PREFIX}/etc/xpdfrc
ADDRESOURCE=${PKG_PREFIX}/share/xpdf/chinese-traditional/dot.xpdfrc
grep -F -v --file=${ADDRESOURCE} ${XPDFRC} > ${XPDFRC}.nochinese-traditional
cat ${XPDFRC}.nochinese-traditional ${ADDRESOURCE} > ${XPDFRC}
rm -f ${XPDFRC}.nochinese-traditional
@


1.3
log
@- update chinese/arphicttf path in RUN_DEPENDS
- some minor cosmetic fixes

Noticed by:	kris
@
text
@@


1.2
log
@- Fix file permission change on xpdfrc
- Use DATADIR
- Fix removing of shared dir

PR:		ports/75176
Submitted by:	Dryice Liu <dryice@@liu.com.cn> (maintainer)
@
text
@d7 3
a9 3
/usr/bin/grep -F -v --file=${ADDRESOURCE} ${XPDFRC} > ${XPDFRC}.nochinese-traditional
/bin/cat ${XPDFRC}.nochinese-traditional ${ADDRESOURCE} > ${XPDFRC}
/bin/rm -f ${XPDFRC}.nochinese-traditional
@


1.1
log
@New port: zh-xpdf. This port enables xpdf to read chinese-traditional pdf.

PR: ports/39361
Submitted by: Statue <statue@@freebsd.sinica.edu.tw>
@
text
@a7 1
/bin/rm -f ${XPDFRC}
@

