From fd579fc6364f6a20904e83975b31ed4bfb1e6121 Mon Sep 17 00:00:00 2001 From: leeym Date: Wed, 4 Jan 2012 20:30:35 +0000 Subject: - remove files/patch-tin.defaults and replace it with REINPLACE_CMD Noticed by: danfe@ --- chinese/tin/Makefile | 8 ++++++-- chinese/tin/files/patch-tin.defaults | 11 ----------- 2 files changed, 6 insertions(+), 13 deletions(-) delete mode 100644 chinese/tin/files/patch-tin.defaults (limited to 'chinese') diff --git a/chinese/tin/Makefile b/chinese/tin/Makefile index 0293fbf39c31..ae1bad717729 100644 --- a/chinese/tin/Makefile +++ b/chinese/tin/Makefile @@ -6,6 +6,7 @@ # $FreeBSD$ # +# Don't reset PORTREVISION and keep bumping it even if PORTVERSION is changed. PORTREVISION= 4 CATEGORIES= chinese @@ -14,9 +15,12 @@ MAINTAINER= ports@FreeBSD.org EXTRA_PATCHES= ${.CURDIR}/files/patch-attrib.c \ ${.CURDIR}/files/patch-cook.c \ ${.CURDIR}/files/patch-mail.c \ - ${.CURDIR}/files/patch-init.c \ - ${.CURDIR}/files/patch-tin.defaults + ${.CURDIR}/files/patch-init.c MASTERDIR= ${.CURDIR}/../../news/tin +post-patch: post-patch-zh +post-patch-zh: + ${REINPLACE_CMD} -e 's,iso-8859-1,Big5,g' ${WRKSRC}/doc/tin.defaults + .include "${MASTERDIR}/Makefile" diff --git a/chinese/tin/files/patch-tin.defaults b/chinese/tin/files/patch-tin.defaults deleted file mode 100644 index 760b9d15f154..000000000000 --- a/chinese/tin/files/patch-tin.defaults +++ /dev/null @@ -1,11 +0,0 @@ ---- doc/tin.defaults.orig 2011-08-18 05:28:38.347241197 +0800 -+++ doc/tin.defaults 2011-08-18 05:29:00.242883933 +0800 -@@ -55,7 +55,7 @@ - # idea to set mm_charset here for providing a default - # in most western countries ISO-8859-1 might be the best value - # --#mm_charset=iso-8859-1 -+#mm_charset=Big5 - - # post_mime_encoding - # -- cgit