Skip site navigation (1)Skip section navigation (2)
Date:      6 Jul 2000 06:21:38 -0000
From:      okazaki@be.to
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/19729: New port: diff-mode.el
Message-ID:  <20000706062138.24551.qmail@dolphin.be.to>

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

>Number:         19729
>Category:       ports
>Synopsis:       New port: diff-mode.el
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 05 23:30:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     OKAZAKI Tetsurou
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
Unknown
>Environment:

>Description:

	Port of diff-mode.el, for a patch tamer.
 
>How-To-Repeat:

>Fix:

	Use the shar below to import the port.


# 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:
#
#	diff-mode.el
#	diff-mode.el/files
#	diff-mode.el/files/md5
#	diff-mode.el/pkg
#	diff-mode.el/pkg/COMMENT
#	diff-mode.el/pkg/PLIST
#	diff-mode.el/pkg/DESCR
#	diff-mode.el/pkg/MESSAGE
#	diff-mode.el/Makefile
#
echo c - diff-mode.el
mkdir -p diff-mode.el > /dev/null 2>&1
echo c - diff-mode.el/files
mkdir -p diff-mode.el/files > /dev/null 2>&1
echo x - diff-mode.el/files/md5
sed 's/^X//' >diff-mode.el/files/md5 << 'END-of-diff-mode.el/files/md5'
XMD5 (diff-mode-1.8.el) = e2d92433850500ab5a8494e22f728833
END-of-diff-mode.el/files/md5
echo c - diff-mode.el/pkg
mkdir -p diff-mode.el/pkg > /dev/null 2>&1
echo x - diff-mode.el/pkg/COMMENT
sed 's/^X//' >diff-mode.el/pkg/COMMENT << 'END-of-diff-mode.el/pkg/COMMENT'
XA mode for viewing/editing context diffs in Emacsen
END-of-diff-mode.el/pkg/COMMENT
echo x - diff-mode.el/pkg/PLIST
sed 's/^X//' >diff-mode.el/pkg/PLIST << 'END-of-diff-mode.el/pkg/PLIST'
Xshare/emacs/site-lisp/diff-mode.el
Xlib/xemacs/site-lisp/diff-mode.el
END-of-diff-mode.el/pkg/PLIST
echo x - diff-mode.el/pkg/DESCR
sed 's/^X//' >diff-mode.el/pkg/DESCR << 'END-of-diff-mode.el/pkg/DESCR'
XDiff-mode is a major-mode for viewing/editing context diffs in Emacs.
XSupports unified and context diffs as well as (to a lesser extent)
Xnormal diffs.
X
XThe diff-mode provides features such as:
X
X    - Unified diff <-> Context diff conversion.
X    - Reverse the direction of the diffs.
X    - Jump to the corresponding source line.
X    - Move to the next/previous hunk/file header.
X    - Restrict the view to the current hunk/file.
X
X
X- Tetsurou
Xokazaki@be.to
END-of-diff-mode.el/pkg/DESCR
echo x - diff-mode.el/pkg/MESSAGE
sed 's/^X//' >diff-mode.el/pkg/MESSAGE << 'END-of-diff-mode.el/pkg/MESSAGE'
XTo use diff-mode, simply add to your .emacs the following lines:
X
X(autoload 'diff-mode "diff-mode" "Diff major mode" t)
X(add-to-list 'auto-mode-alist '("\\.\\(diffs?\\|patch\\|rej\\)\\'" . diff-mode))
END-of-diff-mode.el/pkg/MESSAGE
echo x - diff-mode.el/Makefile
sed 's/^X//' >diff-mode.el/Makefile << 'END-of-diff-mode.el/Makefile'
X# New ports collection makefile for:	diff-mode for Emacsen
X# Date created:		18 Apr 2000
X# Whom:			OKAZAKI Tetsurou
X#
X# $FreeBSD$
X#
X
XPORTNAME=	diff-mode.el
XPORTVERSION=	1.8
XCATEGORIES=	textproc elisp
XMASTER_SITES=	ftp://rum.cs.yale.edu/pub/monnier/misc/
XDISTNAME=	diff-mode-${PORTVERSION}.el
XEXTRACT_SUFX=	# empty
XEXTRACT_ONLY=	# empty
X
XMAINTAINER=	okazaki@be.to
X
XNO_BUILD=	yes
XNO_WRKSUBDIR=	yes
X
XEMACSLISPDIR=	${PREFIX}/share/emacs/site-lisp
XXEMACSLISPDIR=	${PREFIX}/lib/xemacs/site-lisp
X
Xdo-install:
X	${MKDIR} ${EMACSLISPDIR}
X	${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} ${EMACSLISPDIR}/diff-mode.el
X	${MKDIR} ${XEMACSLISPDIR}
X	${LN} -sf ${EMACSLISPDIR}/diff-mode.el ${XEMACSLISPDIR}
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-diff-mode.el/Makefile
exit


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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