# ex:ts=8
# New ports collection makefile for:	gaim
# Date created:		22 Jan 2002
# Whom:			CHOI Junho <cjh@FreeBSD.org>
#
# $FreeBSD: ports/korean/gaim/Makefile,v 1.9 2002/05/23 15:50:23 cjh Exp $
#

CATEGORIES=	korean net

PATCH_SITES=	http://master.debian.or.kr/~alee/patch/
PATCHFILES=	gaim-0.58-i18n.diff
PATCH_DIST_STRIP= -p1

MAINTAINER=	cjh@FreeBSD.org

LIB_DEPENDS+=	iconv.3:${PORTSDIR}/converters/libiconv

MASTERDIR=	${.CURDIR}/../../net/gaim
MD5_FILE=	${.CURDIR}/distinfo

.if !exists(/usr/include/langinfo.h)
BROKEN=		"/usr/include/langinfo.h needed; 4-stable after Mar 13 2002 and -current"
.endif

post-patch:
	@${PERL} -pi -e 's,UTF8,UTF-8,g' ${WRKSRC}/src/util.c

.include "${MASTERDIR}/Makefile"
