blob: acec742a9acd95c1446b8b5c325bee2147e3e657 (
plain)
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= 2
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>
|