summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-07-23 10:02:24 +0000
committerijliao <ijliao@FreeBSD.org>2001-07-23 10:02:24 +0000
commit0cb9c2240b0fbd43a912f4693d189899d0af4f67 (patch)
treeb1780b2521db720c1b23d8340187b6e4ed6d309d
parentf54b08292c15b75155a3cc001738b75a13057656 (diff)
downloadFreeBSD-ports-0cb9c2240b0fbd43a912f4693d189899d0af4f67.zip
FreeBSD-ports-0cb9c2240b0fbd43a912f4693d189899d0af4f67.tar.gz
add patchutils
A small collection of programs that operate on patch files
-rw-r--r--misc/Makefile1
-rw-r--r--misc/patchutils/Makefile24
-rw-r--r--misc/patchutils/distinfo1
-rw-r--r--misc/patchutils/files/patch-filterdiff.c10
-rw-r--r--misc/patchutils/pkg-comment1
-rw-r--r--misc/patchutils/pkg-descr13
-rw-r--r--misc/patchutils/pkg-plist2
7 files changed, 52 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 56417ec..626507d 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -126,6 +126,7 @@
SUBDIR += p5-LEGO-RCX
SUBDIR += p5-Locale-Codes
SUBDIR += peq
+ SUBDIR += patchutils
SUBDIR += pdmenu
SUBDIR += pg
SUBDIR += pinfo
diff --git a/misc/patchutils/Makefile b/misc/patchutils/Makefile
new file mode 100644
index 0000000..89a3953
--- /dev/null
+++ b/misc/patchutils/Makefile
@@ -0,0 +1,24 @@
+# ex:ts=8
+# New ports collection makefile for: patchutils
+# Date created: Jul 23, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= patchutils
+PORTVERSION= 0.1.1
+CATEGORIES= misc
+MASTER_SITES= http://people.redhat.com/twaugh/ftp/patchutils/devel/
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
+
+MAN1= filterdiff.1 interdiff.1
+
+.include <bsd.port.mk>
diff --git a/misc/patchutils/distinfo b/misc/patchutils/distinfo
new file mode 100644
index 0000000..073c3bc
--- /dev/null
+++ b/misc/patchutils/distinfo
@@ -0,0 +1 @@
+MD5 (patchutils-0.1.1.tar.gz) = eba6d8aff6f7918a62bd8be700842838
diff --git a/misc/patchutils/files/patch-filterdiff.c b/misc/patchutils/files/patch-filterdiff.c
new file mode 100644
index 0000000..3fde5cb
--- /dev/null
+++ b/misc/patchutils/files/patch-filterdiff.c
@@ -0,0 +1,10 @@
+--- filterdiff.c.orig Mon Jul 23 17:52:37 2001
++++ filterdiff.c Mon Jul 23 17:52:53 2001
+@@ -22,6 +22,7 @@
+ #include "config.h"
+ #endif
+
++#include <sys/types.h>
+ #include <fnmatch.h>
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/misc/patchutils/pkg-comment b/misc/patchutils/pkg-comment
new file mode 100644
index 0000000..cbdb56d
--- /dev/null
+++ b/misc/patchutils/pkg-comment
@@ -0,0 +1 @@
+A small collection of programs that operate on patch files
diff --git a/misc/patchutils/pkg-descr b/misc/patchutils/pkg-descr
new file mode 100644
index 0000000..6f013b5
--- /dev/null
+++ b/misc/patchutils/pkg-descr
@@ -0,0 +1,13 @@
+Patchutils is a small collection of programs that operate on patch files.
+Currently it contains interdiff and filterdiff.
+
+Interdiff generates an incremental patch from two patches against a common
+source. For example, if you have applied a pre-patch to a source tree, and
+wish to apply another pre-patch (which is against the same original source
+tree), you can use interdiff to generate the patch that you need to apply.
+You can also use this to review changes between two pre-patches.
+
+Filterdiff will select the portions of a patch file that apply to files
+matching (or, alternatively, not matching) a shell wildcard.
+
+WWW: http://people.redhat.com/twaugh/patchutils/
diff --git a/misc/patchutils/pkg-plist b/misc/patchutils/pkg-plist
new file mode 100644
index 0000000..094df3c
--- /dev/null
+++ b/misc/patchutils/pkg-plist
@@ -0,0 +1,2 @@
+bin/filterdiff
+bin/interdiff
OpenPOWER on IntegriCloud