# Created by: Yoshiro MIHIRA <sanpei@yy.cs.keio.ac.jp>
# $FreeBSD: textproc/wdiff/Makefile 327773 2013-09-20 23:17:30Z bapt $

PORTNAME=	wdiff
PORTVERSION=	1.2.1
CATEGORIES=	textproc
MASTER_SITES=	GNU

MAINTAINER=	sanpei@FreeBSD.org
COMMENT=	Display word differences between text files

LICENSE=	GPLv3

GNU_CONFIGURE=	yes

USES=		charsetfix
MAN1=		wdiff.1
INFO=		wdiff

NO_STAGE=	yes
.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USES+=		gettext
CFLAGS+=	-I${LOCALBASE}/include
PLIST_SUB+=	NLS=""
.else
CONFIGURE_ARGS+=	--disable-nls
PLIST_SUB+=	NLS="@comment "
.endif

.include <bsd.port.mk>
