aboutsummaryrefslogtreecommitdiff
path: root/textproc/dwdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-07-07 13:41:49 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-07-07 13:41:49 +0000
commit8af01231e7bfc1cc590a6469288aa02a734e2746 (patch)
tree06848f58ecc5fd9df3ce5ca4525e723d5d626bb1 /textproc/dwdiff
parentbda3d06cdc31b3498ac6992a66a53628499d9851 (diff)
downloadports-8af01231e7bfc1cc590a6469288aa02a734e2746.tar.gz
ports-8af01231e7bfc1cc590a6469288aa02a734e2746.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)
Notes
Notes: svn path=/head/; revision=216457
Diffstat (limited to 'textproc/dwdiff')
-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