freebsd-ports/textproc/dwdiff/Makefile
2018-10-23 11:35:03 +00:00

36 lines
772 B
Makefile

# Created by: Alexander Logvinov <ports@logvinov.com>
# $FreeBSD$
PORTNAME= dwdiff
PORTVERSION= 2.0.9
PORTREVISION= 11
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>