aboutsummaryrefslogtreecommitdiff
path: root/textproc/dwdiff/Makefile
blob: 6a75e4bcfed32fd02f9f2dd248f34a05bd998adb (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
36
# Created by: Alexander Logvinov <ports@logvinov.com>
# $FreeBSD$

PORTNAME=	dwdiff
PORTVERSION=	2.0.9
PORTREVISION=	3
CATEGORIES=	textproc
MASTER_SITES=	http://os.ghalkes.nl/dist/ \
		http://fossies.org/unix/privat/
EXTRACT_SUFX=	.tgz

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

LICENSE=	GPLv3

OPTIONS_DEFINE=	UNICODE NLS DOCS
OPTIONS_DEFAULT=UNICODE
OPTIONS_SUB=	yes

NLS_CONFIGURE_WITH=	gettext
NLS_USES=	gettext

UNICODE_CONFIGURE_WITH=	unicode
UNICODE_LIB_DEPENDS=	libicudata.so:devel/icu

HAS_CONFIGURE=	yes
CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
CONFIGURE_ARGS=	--mandir=${MANPREFIX}/man

post-patch:
	@${REINPLACE_CMD} -e 's|share/doc/${PORTNAME}-${PORTVERSION}|${DOCSDIR_REL}|' \
		${WRKSRC}/Makefile.in

.include <bsd.port.mk>