[Midnightbsd-cvs] mports: mports/misc: add patchutils for bugzilla 3

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Oct 11 16:23:40 EDT 2008


Log Message:
-----------
add patchutils for bugzilla 3

Modified Files:
--------------
    mports/misc:
        Makefile (r1.46 -> r1.47)

Added Files:
-----------
    mports/misc/patchutils:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/misc/Makefile,v
retrieving revision 1.46
retrieving revision 1.47
diff -L misc/Makefile -L misc/Makefile -u -r1.46 -r1.47
--- misc/Makefile
+++ misc/Makefile
@@ -83,6 +83,7 @@
     SUBDIR += nut
     SUBDIR += p5-Geography-Countries
     SUBDIR += p5-List-Compare
+    SUBDIR += patchutils
     SUBDIR += pciids
     SUBDIR += phone-de
     SUBDIR += php5-calendar
--- /dev/null
+++ misc/patchutils/pkg-descr
@@ -0,0 +1,21 @@
+Patchutils is a small collection of programs that operate on patch files.
+
+ - Interdiff generates an incremental patch from two patches against a common
+   source.
+ - Combinediff generates a single patch from two incremental patches, allowing
+   you to merge patches together.
+ - Filterdiff will select the portions of a patch file that apply to files
+   matching (or, alternatively, not matching) a shell wildcard.
+ - Fixcvsdiff is for correcting the output of 'cvs diff'.
+ - Rediff corrects hand-edited patches, by comparing the original patch with
+   the modified one and adjusting the offsets and counts.
+ - Lsdiff displays a short listing of affected files in a patch file, along
+   with (optionally) the line numbers of the start of each patch.
+ - Splitdiff separates out patches from a patch file so that each new patch
+   file only alters any given file once.
+ - Grepdiff displays a list of the files modified by a patch where the patch
+   contains a given regular expression.
+ - Recountdiff fixes up counts and offsets in a unified diff.
+ - Unwrapdiff fixes word-wrapped unified diffs.
+
+WWW: http://cyberelk.net/tim/patchutils/
--- /dev/null
+++ misc/patchutils/pkg-plist
@@ -0,0 +1,15 @@
+ at comment $FreeBSD: ports/misc/patchutils/pkg-plist,v 1.7 2003/06/09 11:17:33 kris Exp $
+bin/combinediff
+bin/dehtmldiff
+bin/editdiff
+bin/espdiff
+bin/filterdiff
+bin/fixcvsdiff
+bin/flipdiff
+bin/grepdiff
+bin/interdiff
+bin/lsdiff
+bin/recountdiff
+bin/rediff
+bin/splitdiff
+bin/unwrapdiff
--- /dev/null
+++ misc/patchutils/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for:	patchutils
+# Date created:			Oct 11, 2008
+# Whom:				Lucas Holt
+#
+# $MidnightBSD: mports/misc/patchutils/Makefile,v 1.1 2008/10/11 20:23:35 laffer1 Exp $
+
+PORTNAME=	patchutils
+PORTVERSION=	0.3.0
+CATEGORIES=	misc
+MASTER_SITES=	http://cyberelk.net/tim/data/patchutils/stable/
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	A small collection of programs that operate on patch files
+LICENSE=	gpl2
+
+USE_BZIP2=	yes
+USE_PERL5=	yes
+GNU_CONFIGURE=	yes
+
+MAN1=	combinediff.1 dehtmldiff.1 editdiff.1 espdiff.1 filterdiff.1 \
+	fixcvsdiff.1 flipdiff.1 grepdiff.1 interdiff.1 lsdiff.1 recountdiff.1 \
+	rediff.1 splitdiff.1 unwrapdiff.1
+
+post-patch:
+	@${GREP} -lR "#!/bin/bash" ${WRKSRC} | ${XARGS} ${PERL} -pi.bak -e \
+		"s,#!/bin/bash,#!/bin/sh,"
+
+.include <bsd.port.mk>
--- /dev/null
+++ misc/patchutils/distinfo
@@ -0,0 +1,3 @@
+MD5 (patchutils-0.3.0.tar.bz2) = 91cce007527cd0df93aeb81459575485
+SHA256 (patchutils-0.3.0.tar.bz2) = 27fa6420bbd1adda4dc296b3913ddf34a6d656438c4fda41dffcb10bf3dd5f22
+SIZE (patchutils-0.3.0.tar.bz2) = 149003


More information about the Midnightbsd-cvs mailing list