aboutsummaryrefslogtreecommitdiff
path: root/chinese/tin
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2012-01-04 20:30:35 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2012-01-04 20:30:35 +0000
commit555d29c149ddaf933fe040adcbd089e951c566c0 (patch)
tree2c426ad64f1c5baebe50c31e7319e7e4c7aa130d /chinese/tin
parentc2c80d4ec0eee6205c585d4e594ae0d6bdfcebfb (diff)
downloadports-555d29c149ddaf933fe040adcbd089e951c566c0.tar.gz
ports-555d29c149ddaf933fe040adcbd089e951c566c0.zip
- remove files/patch-tin.defaults and replace it with REINPLACE_CMD
Noticed by: danfe@
Notes
Notes: svn path=/head/; revision=288523
Diffstat (limited to 'chinese/tin')
-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
- #