# Created by: Yen-Shuo Su <yssu@CCCA.NCTU.edu.tw>
# $FreeBSD: chinese/tin/Makefile 327713 2013-09-20 16:01:22Z bapt $

# Don't reset PORTREVISION and keep bumping it even if PORTVERSION is changed.
PORTREVISION=	6
CATEGORIES=	chinese

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

MASTERDIR=	${.CURDIR}/../../news/tin

post-patch: post-patch-zh
NO_STAGE=	yes
post-patch-zh:
	${REINPLACE_CMD} -e 's,iso-8859-1,Big5,g' ${WRKSRC}/doc/tin.defaults

.include "${MASTERDIR}/Makefile"
