Add diffutils 2.7, the GNU diff utilities.

PR:		30362
Submitted by:	Garrett Rooney <rooneg@electricjellyfish.net>
This commit is contained in:
Will Andrews 2001-09-17 06:27:56 +00:00
parent 0792cf5b99
commit cd256ccdc9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47904
7 changed files with 80 additions and 0 deletions

View File

@ -23,6 +23,7 @@
SUBDIR += dict
SUBDIR += diff-mode.el
SUBDIR += diffstat
SUBDIR += diffutils
SUBDIR += docbook
SUBDIR += docbook-241
SUBDIR += docbook-300

View File

@ -0,0 +1,37 @@
# New ports collection makefile for: diffutils
# Date created: 5 September 2001
# Whom: Garrett Rooney <rooneg@electricjellyfish.net>
#
# $FreeBSD$
#
PORTNAME= diffutils
PORTVERSION= 2.7
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= diffutils
MAINTAINER= rooneg@electricjellyfish.net
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
INSTALL_INFO?= install-info
post-extract: remove-info-files
remove-info-files:
@${RM} -f ${WRKSRC}/${PORTNAME:S/utils//}.info*
post-patch: patch-makeinfo
patch-makeinfo:
@${PERL} -pi.fbsd -e 's|makeinfo|makeinfo --no-split|g' \
${WRKSRC}/Makefile.in
post-install: install-info
install-info:
@${INSTALL_INFO} ${PREFIX}/info/${PORTNAME:S/utils//}.info ${PREFIX}/info/dir
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (diffutils-2.7.tar.gz) = 300d86a0566afee1c3756828f6c9538a

View File

@ -0,0 +1,21 @@
--- diff.texi.orig Fri Sep 30 21:54:40 1994
+++ diff.texi Sat Sep 8 16:56:14 2001
@@ -6,6 +6,18 @@
@c %**end of header
@ifinfo
+@format
+INFO-DIR-SECTION Comparing and Merging Files
+START-INFO-DIR-ENTRY
+* Comparing files: (diff). Comparing and Merging Files.
+* cmp: (diff)cmp invocation. Compares two files.
+* diff: (diff)diff invocation. Pretty compares two files.
+* diff3: (diff)diff3 invocation. Compares and Merges three files.
+* patch: (diff)patch invocation. Apply a diff file to an original
+* sdiff: (diff)sdiff invocation. Interactively compares two files
+END-INFO-DIR-ENTRY
+@end format
+
This file documents the the GNU @code{diff}, @code{diff3}, @code{sdiff},
and @code{cmp} commands for showing the differences between text files
and the @code{patch} command for using their output to update files.

View File

@ -0,0 +1 @@
The GNU diff utilities

View File

@ -0,0 +1,11 @@
The Free Software Foundation's "diff" utilities, including "diff",
"diff3", "sdiff", and "cmp".
These utilities exist in the FreeBSD base collection, but the GNU
versions have added functionality that is sometimes useful.
Note that this port will install these utilities with a `g' prefix,
for example gdiff, gdiff3, ggcmp, but the texinfo documentation
will refer to these utilities without the `g' prefix.
WWW: http://www.gnu.org/software/diffutils/diffutils.html

View File

@ -0,0 +1,8 @@
@comment $FreeBSD$
bin/gcmp
bin/gdiff
bin/gdiff3
bin/gsdiff
@unexec install-info --quiet --delete %D/info/diff.info %D/info/dir
info/diff.info
@exec install-info %D/info/diff.info %D/info/dir