diff options
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/diff-mode.el/Makefile | 33 | ||||
-rw-r--r-- | textproc/diff-mode.el/distinfo | 1 | ||||
-rw-r--r-- | textproc/diff-mode.el/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/diff-mode.el/pkg-descr | 15 | ||||
-rw-r--r-- | textproc/diff-mode.el/pkg-message | 4 | ||||
-rw-r--r-- | textproc/diff-mode.el/pkg-plist | 2 |
7 files changed, 57 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 2ec902743d52..a3747ab9ef17 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -17,6 +17,7 @@ SUBDIR += dealt-ispell SUBDIR += deneu-ispell SUBDIR += dict + SUBDIR += diff-mode.el SUBDIR += diffstat SUBDIR += docbook SUBDIR += docbook-241 diff --git a/textproc/diff-mode.el/Makefile b/textproc/diff-mode.el/Makefile new file mode 100644 index 000000000000..033ffa64ffdd --- /dev/null +++ b/textproc/diff-mode.el/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: diff-mode for Emacsen +# Date created: 18 Apr 2000 +# Whom: OKAZAKI Tetsurou +# +# $FreeBSD$ +# + +PORTNAME= diff-mode.el +PORTVERSION= 1.8 +CATEGORIES= textproc elisp +MASTER_SITES= ftp://rum.cs.yale.edu/pub/monnier/misc/ +DISTNAME= diff-mode-${PORTVERSION}.el +EXTRACT_SUFX= # empty +EXTRACT_ONLY= # empty + +MAINTAINER= okazaki@be.to + +NO_BUILD= yes +NO_WRKSUBDIR= yes + +EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp +XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp + +do-install: + ${MKDIR} ${EMACSLISPDIR} + ${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} ${EMACSLISPDIR}/diff-mode.el + ${MKDIR} ${XEMACSLISPDIR} + ${LN} -sf ${EMACSLISPDIR}/diff-mode.el ${XEMACSLISPDIR} + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/textproc/diff-mode.el/distinfo b/textproc/diff-mode.el/distinfo new file mode 100644 index 000000000000..121e29ad618b --- /dev/null +++ b/textproc/diff-mode.el/distinfo @@ -0,0 +1 @@ +MD5 (diff-mode-1.8.el) = e2d92433850500ab5a8494e22f728833 diff --git a/textproc/diff-mode.el/pkg-comment b/textproc/diff-mode.el/pkg-comment new file mode 100644 index 000000000000..6c0d530ece58 --- /dev/null +++ b/textproc/diff-mode.el/pkg-comment @@ -0,0 +1 @@ +A mode for viewing/editing context diffs in Emacsen diff --git a/textproc/diff-mode.el/pkg-descr b/textproc/diff-mode.el/pkg-descr new file mode 100644 index 000000000000..47ac41630cb8 --- /dev/null +++ b/textproc/diff-mode.el/pkg-descr @@ -0,0 +1,15 @@ +Diff-mode is a major-mode for viewing/editing context diffs in Emacs. +Supports unified and context diffs as well as (to a lesser extent) +normal diffs. + +The diff-mode provides features such as: + + - Unified diff <-> Context diff conversion. + - Reverse the direction of the diffs. + - Jump to the corresponding source line. + - Move to the next/previous hunk/file header. + - Restrict the view to the current hunk/file. + + +- Tetsurou +okazaki@be.to diff --git a/textproc/diff-mode.el/pkg-message b/textproc/diff-mode.el/pkg-message new file mode 100644 index 000000000000..349d4531f18c --- /dev/null +++ b/textproc/diff-mode.el/pkg-message @@ -0,0 +1,4 @@ +To use diff-mode, simply add to your .emacs the following lines: + +(autoload 'diff-mode "diff-mode" "Diff major mode" t) +(add-to-list 'auto-mode-alist '("\\.\\(diffs?\\|patch\\|rej\\)\\'" . diff-mode)) diff --git a/textproc/diff-mode.el/pkg-plist b/textproc/diff-mode.el/pkg-plist new file mode 100644 index 000000000000..039a5d3f7ac4 --- /dev/null +++ b/textproc/diff-mode.el/pkg-plist @@ -0,0 +1,2 @@ +share/emacs/site-lisp/diff-mode.el +lib/xemacs/site-lisp/diff-mode.el |