aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-07-07 21:41:49 +0800
committermiwi <miwi@FreeBSD.org>2008-07-07 21:41:49 +0800
commit34aeddbb8c25948b17de0182c95022a391b4ec90 (patch)
treeec6b98a81f82e4e78835ea699593cdd6415a4325 /textproc
parent9a8bf0d65dfc89c4b5eba3cdc7e8df88acef3110 (diff)
downloadfreebsd-ports-gnome-34aeddbb8c25948b17de0182c95022a391b4ec90.tar.gz
freebsd-ports-gnome-34aeddbb8c25948b17de0182c95022a391b4ec90.tar.zst
freebsd-ports-gnome-34aeddbb8c25948b17de0182c95022a391b4ec90.zip
- Update to 1.4
New features: - an option to use all punctuation characters as delimiters - Unicode (UTF-8) support including formatting insensitive comparison - case-insensitive comparison when the underlying diff program does not support it PR: 125359 Submitted by: Alexander Logvinov <ports@logvinov.com> (maintainer)
Diffstat (limited to 'textproc')
-rw-r--r--textproc/dwdiff/Makefile21
-rw-r--r--textproc/dwdiff/distinfo6
2 files changed, 17 insertions, 10 deletions
diff --git a/textproc/dwdiff/Makefile b/textproc/dwdiff/Makefile
index 00dc52554965..ed8a6b43375b 100644
--- a/textproc/dwdiff/Makefile
+++ b/textproc/dwdiff/Makefile
@@ -5,8 +5,7 @@
# $FreeBSD$
PORTNAME= dwdiff
-PORTVERSION= 1.3
-PORTREVISION= 1
+PORTVERSION= 1.4
CATEGORIES= textproc
MASTER_SITES= http://os.ghalkes.nl/dist/
EXTRACT_SUFX= .tgz
@@ -14,7 +13,13 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@logvinov.com
COMMENT= A delimited word diff program
+OPTIONS= UNICODE "Build with Unicode support" on
+
HAS_CONFIGURE= yes
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ENV= CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
MAN1= ${PORTNAME}.1
PORTDOCS= COPYING Changelog README
@@ -23,18 +28,20 @@ PORTDOCS= COPYING Changelog README
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ENV= CFLAGS="${CFLAGS}" \
- LDFLAGS="${LDFLAGS}"
PLIST_SUB+= NLS=""
MANLANG= "" nl
LANGS= de nl
.else
-CONFIGURE_ARGS+=--without-gettext
+CONFIGURE_ARGS+= --without-gettext
PLIST_SUB+= NLS="@comment "
.endif
+.if defined(WITH_UNICODE)
+LIB_DEPENDS+= icudata:${PORTSDIR}/devel/icu
+.else
+CONFIGURE_ARGS+= --without-unicode
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/${MAN1} ${MAN1PREFIX}/man/man1
diff --git a/textproc/dwdiff/distinfo b/textproc/dwdiff/distinfo
index a27b3ceb6eb3..db22c23aa076 100644
--- a/textproc/dwdiff/distinfo
+++ b/textproc/dwdiff/distinfo
@@ -1,3 +1,3 @@
-MD5 (dwdiff-1.3.tgz) = dddf28ca43a4b490a6999e6b379596da
-SHA256 (dwdiff-1.3.tgz) = 0aec7395f544a4b1f6e1e22e7f436659c7c4817ee33131457320546f22a3c52c
-SIZE (dwdiff-1.3.tgz) = 39532
+MD5 (dwdiff-1.4.tgz) = 8415fdb6963fe662d0042bb18dde49df
+SHA256 (dwdiff-1.4.tgz) = d593c1366235e78ca1a513f100b8e0b48c8f70007162df226c39de95fd9dfb7e
+SIZE (dwdiff-1.4.tgz) = 55570