Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jul 2008 18:21:58 +1000 (YAKST)
From:      Alexander Logvinov <ports@logvinov.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Alexander Logvinov <ports@logvinov.com>
Subject:   ports/125359: [maintainer update] textproc/dwdiff: update to 1.4
Message-ID:  <200807070821.m678LwaX024707@blg.akavia.ru>
Resent-Message-ID: <200807070830.m678U2pN016074@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125359
>Category:       ports
>Synopsis:       [maintainer update] textproc/dwdiff: update to 1.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 07 08:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Logvinov
>Release:        FreeBSD 6.3-RELEASE-p1 i386
>Organization:
>Environment:

>Description:

  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
		          
>How-To-Repeat:

>Fix:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/textproc/dwdiff/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	6 Jun 2008 14:04:37 -0000	1.5
+++ Makefile	7 Jul 2008 06:53:00 -0000
@@ -5,8 +5,7 @@
 # $FreeBSD: ports/textproc/dwdiff/Makefile,v 1.5 2008/06/06 14:04:37 edwin Exp $
 
 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 @@
 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 @@
 
 .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
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/textproc/dwdiff/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	22 Dec 2007 00:17:00 -0000	1.3
+++ distinfo	7 Jul 2008 05:58:25 -0000
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807070821.m678LwaX024707>