aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2012-01-05 04:30:35 +0800
committerleeym <leeym@FreeBSD.org>2012-01-05 04:30:35 +0800
commitfd579fc6364f6a20904e83975b31ed4bfb1e6121 (patch)
tree40dd97896655886889c9fc8e06251105a037a544 /chinese
parentde115de8e52277ecb610e12a2a02ed7dcc0008b5 (diff)
downloadfreebsd-ports-gnome-fd579fc6364f6a20904e83975b31ed4bfb1e6121.tar.gz
freebsd-ports-gnome-fd579fc6364f6a20904e83975b31ed4bfb1e6121.tar.zst
freebsd-ports-gnome-fd579fc6364f6a20904e83975b31ed4bfb1e6121.zip
- remove files/patch-tin.defaults and replace it with REINPLACE_CMD
Noticed by: danfe@
Diffstat (limited to 'chinese')
-rw-r--r--chinese/tin/Makefile8
-rw-r--r--chinese/tin/files/patch-tin.defaults11
2 files changed, 6 insertions, 13 deletions
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
- #