aboutsummaryrefslogtreecommitdiff
path: root/textproc/dwdiff/Makefile
blob: 4fb49c792fe7ecf205904b80e2b470884ce64924 (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
34
35
# Created by: Alexander Logvinov <ports@logvinov.com>

PORTNAME=	dwdiff
PORTVERSION=	2.1.4
PORTREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	https://os.ghalkes.nl/dist/ \
		http://fossies.org/unix/privat/

MAINTAINER=	danilo@FreeBSD.org
COMMENT=	Delimited word diff program

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		tar:bz2

OPTIONS_DEFINE=	UNICODE NLS DOCS
OPTIONS_DEFAULT=UNICODE
OPTIONS_SUB=	yes

NLS_CONFIGURE_WITH=	gettext
NLS_USES=	gettext localbase:ldflags
NLS_CONFIGURE_ENV=	LDFLAGS="${LDFLAGS} -lintl"

UNICODE_CONFIGURE_WITH=	unicode
UNICODE_LIB_DEPENDS=	libicudata.so:devel/icu
UNICODE_USES=	localbase:ldflags pkgconfig

HAS_CONFIGURE=	yes
CFLAGS+=	-D_WITH_GETLINE
CONFIGURE_ARGS+=--with-verbose-compile
MAKE_ARGS+=	prefix=${PREFIX:Q} mandir="${MANPREFIX}/man" docdir=${DOCSDIR:Q}

.include <bsd.port.mk>