View | Details | Raw Unified | Return to bug 106878
Collapse All | Expand All

(-)/home/lwhsu/ports/cdiff/Makefile (-2 / +1 lines)
Lines 8-15 Link Here
8
#
8
#
9
9
10
PORTNAME=	cdiff
10
PORTNAME=	cdiff
11
PORTVERSION=	1.4
11
PORTVERSION=	1.5
12
PORTREVISION=	1
13
CATEGORIES=	textproc
12
CATEGORIES=	textproc
14
MASTER_SITES=	# none
13
MASTER_SITES=	# none
15
DISTFILES=	# none
14
DISTFILES=	# none
(-)/home/lwhsu/ports/cdiff/src/cdiff.1 (+4 lines)
Lines 49-54 Link Here
49
.It Fl m
49
.It Fl m
50
Use bold, reverse and underline codes (for monochrome terminals).
50
Use bold, reverse and underline codes (for monochrome terminals).
51
.El
51
.El
52
.Bl -tag -width CDIFFCOLORS
53
.It Ev CDIFFCOLORS
54
The color codes used to add. Default is 1:34:31:35, for lines begin with "@", "-", "+" and "!".
55
.El
52
.Sh AUTHORS
56
.Sh AUTHORS
53
.Nm
57
.Nm
54
was written by
58
was written by
(-)/home/lwhsu/ports/cdiff/src/cdiff.sh (-1 / +5 lines)
Lines 3-9 Link Here
3
	shift;
3
	shift;
4
	CODES="4:7:1:1"
4
	CODES="4:7:1:1"
5
else
5
else
6
	CODES="1:34:31:35"
6
	if [ "$CDIFFCOLORS" != "" ]; then
7
		CODES=$CDIFFCOLORS
8
	else
9
		CODES="1:34:31:35"
10
	fi
7
fi
11
fi
8
(if [ "$1" != "" ]; then
12
(if [ "$1" != "" ]; then
9
    while [ "$1" != "" ]; do
13
    while [ "$1" != "" ]; do

Return to bug 106878