ports/103840: [new port] textproc/dwdiff

Alexander Logvinov ports at logvinov.com
Sat Sep 30 04:30:21 UTC 2006


>Number:         103840
>Category:       ports
>Synopsis:       [new port] textproc/dwdiff
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 30 04:30:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Logvinov
>Release:        FreeBSD 6.1-RELEASE-p3 i386
>Organization:
>Environment:

>Description:

 A front-end for the diff program that operates at the word level instead of the line level
 
>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	dwdiff
#	dwdiff/distinfo
#	dwdiff/Makefile
#	dwdiff/pkg-descr
#
echo c - dwdiff
mkdir -p dwdiff > /dev/null 2>&1
echo x - dwdiff/distinfo
sed 's/^X//' >dwdiff/distinfo << 'END-of-dwdiff/distinfo'
XMD5 (dwdiff-1.2.tgz) = 4e811fa2c209e6adb0bd2a9c8eab025d
XSHA256 (dwdiff-1.2.tgz) = e803fe8a6288f698b10516c329c902e1b384c61b3638e94c2f09b70231ccf15e
XSIZE (dwdiff-1.2.tgz) = 26165
END-of-dwdiff/distinfo
echo x - dwdiff/Makefile
sed 's/^X//' >dwdiff/Makefile << 'END-of-dwdiff/Makefile'
X# New ports collection makefile for:	dwdiff
X# Date created:		30 September 2006
X# Whom:			Alexander Logvinov <ports at logvinov.com>
X#
X# $FreeBSD$
X
XPORTNAME=	dwdiff
XPORTVERSION=	1.2
XCATEGORIES=	textproc
XMASTER_SITES=	http://os.ghalkes.nl/dist/
XDISTNAME=	${PORTNAME}-${PORTVERSION}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	ports at logvinov.com
XCOMMENT=	A delimited word diff program
X
XHAS_CONFIGURE=	yes
XCONFIGURE_ARGS+=--prefix=${PREFIX} \
X		--mandir=${MANPREFIX}/man \
X
XOPTIONS=        GETTEXT   "Build with gettext support"		on
X
XMAN1=           dwdiff.1
XPLIST_FILES=    bin/dwdiff
XMANCOMPRESSED=  no
X
X.include <bsd.port.pre.mk>
X
X.if !defined(WITHOUT_GETTEXT)
XUSE_GETTEXT=	yes
XCFLAGS+=	-I${LOCALBASE}/include
XLDFLAGS+=	-L${LOCALBASE}/lib
XCONFIGURE_ENV=	CFLAGS="${CFLAGS}" \
X		LDFLAGS="${LDFLAGS}"
X.else
XCONFIGURE_ARGS+=	--without-gettext
X.endif
X
X.include <bsd.port.post.mk>
END-of-dwdiff/Makefile
echo x - dwdiff/pkg-descr
sed 's/^X//' >dwdiff/pkg-descr << 'END-of-dwdiff/pkg-descr'
Xdwdiff is a front-end for the diff program that operates at the word level
Xinstead of the line level. It is different from wdiff in that it allows the
Xuser to specify what should be considered whitespace, and in that it takes an
Xoptional list of characters that should be considered delimiters. Delimiters
Xare single characters that are treated as if they are words, even when there
Xis no whitespace separating them from preceding words or delimiters. dwdiff
Xis mostly commandline compatible with wdiff. Only the --autopager, --terminal
Xand --avoid-wraps options are not supported.
X
XThe default output from dwdiff is the new text, with the deleted and inserted
Xparts annotated with markers. Command line options are available to change
Xboth what is printed, and the markers.
X
XAuthor: Gertjan Halkes <dwdiff at ghalkes.nl>
XWWW: http://os.ghalkes.nl/dwdiff.html
END-of-dwdiff/pkg-descr
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list