aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/dwdiff/Makefile
blob: 7f220bc263e2222ba61ff189d828df5f3cc0aada (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>
# $FreeBSD$

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

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

LICENSE=    GPLv3
LICENSE_FILE=   ${WRKSRC}/COPYING

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

USES=       localbase:ldflags tar:tgz
HAS_CONFIGURE=  yes
CONFIGURE_ARGS= --mandir=${MANPREFIX}/man

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

.include <bsd.port.mk>