aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/wdiff/Makefile
blob: bf30f898a6a684e7f6d83eb5243dd8dfc43082f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Yoshiro MIHIRA <sanpei@yy.cs.keio.ac.jp>
# $FreeBSD$

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

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

LICENSE=    GPLv3

GNU_CONFIGURE=  yes

USES=       charsetfix makeinfo

OPTIONS_DEFINE= NLS

INFO=       wdiff

.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>