From root@johncoop.MSHOME.bmi.net  Mon Oct 22 18:49:21 2001
Return-Path: <root@johncoop.MSHOME.bmi.net>
Received: from yoda.bmi.net (yoda.bmi.net [204.57.191.163])
	by hub.freebsd.org (Postfix) with ESMTP
	id 9F1CD37B403; Mon, 22 Oct 2001 18:49:20 -0700 (PDT)
Received: from johncoop.MSHOME (drumheller-router.bmi.net [206.63.201.3] (may be forged))
	by yoda.bmi.net (Pro-8.9.3/Pro-8.9.3) with ESMTP id SAA22178;
	Mon, 22 Oct 2001 18:46:50 -0700
Received: by johncoop.MSHOME (Postfix, from userid 0)
	id 295AF15504; Mon, 22 Oct 2001 18:49:12 -0700 (PDT)
Message-Id: <20011023014912.295AF15504@johncoop.MSHOME>
Date: Mon, 22 Oct 2001 18:49:12 -0700 (PDT)
From: John Merryweather Cooper <john_m_cooper@yahoo.com>
Reply-To: John Merryweather Cooper <john_m_cooper@yahoo.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: lioux@freebsd.org
Subject: [NEW PORT] makepatch--a patch maintenance tool
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         31440
>Category:       ports
>Synopsis:       [NEW PORT] makepatch--a patch maintenance tool
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 22 18:50:01 PDT 2001
>Closed-Date:    Tue Oct 30 14:21:55 PST 2001
>Last-Modified:  Tue Oct 30 14:24:08 PST 2001
>Originator:     John Merryweather Cooper
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD johncoop.MSHOME 4.4-STABLE FreeBSD 4.4-STABLE #32: Sun Oct 21 01:27:58 PDT 2001 jmcoopr@johncoop.MSHOME:/usr/obj/usr/src/sys/JOHNCOOP i386


	
>Description:
	Thomas Dickey, the ncurses guy, was discussing the use of diffstat
	and makepatch to make the generation of diff-generated patches
	easier.  I found diffstat had been ported, but makepatch had not.
	Therefore, here goes . . .

>How-To-Repeat:
	N/A

>Fix:

The dread shell archive follows:

# 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:
#
#	.
#	./Makefile
#	./distinfo
#	./pkg-comment
#	./pkg-descr
#	./pkg-plist
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:	makepatch
X# Date created:				22 October 2001
X# Whom:					John Merryweather Cooper
X#
X# $FreeBSD$
X#
X
XPORTNAME=	makepatch
XPORTVERSION=	2.00a
XCATEGORIES=	textproc perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	../../authors/id/JV
X
XMAINTAINER=	jmcoopr@webmail.bmi.net
X
XPERL_CONFIGURE=	yes
X
XMAN1=		makepatch.1 applypatch.1
X
Xpre-build:
X	@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig
X	@${SED} -e 's#/usr/local/#${PREFIX}/#' \
X	${WRKSRC}/Makefile.orig > ${WRKSRC}/Makefile
X
X.include <bsd.port.mk>
END-of-./Makefile
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (makepatch-2.00a.tar.gz) = 7750d7b64d42d243cfe832d5d1d1e8e8
END-of-./distinfo
echo x - ./pkg-comment
sed 's/^X//' >./pkg-comment << 'END-of-./pkg-comment'
XPerl scripts to assist in the generation and application of patches.
X
END-of-./pkg-comment
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
X'makepatch', containing a pair of programs, makepatch and applypatch, to
Xassist in the generation and application of patch kits to synchronise
Xsource trees.
X
X-- jmc
Xjmcoopr@webmail.bmi.net
X
XWWW: www.squirrel.nl/people/jvromans/tpj0403-0016.html
END-of-./pkg-descr
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist'
Xbin/applypatch
Xbin/makepatch
Xlib/perl5/site_perl/5.005/i386-freebsd/auto/makepatch/.packlist
X@dirrm lib/perl5/site_perl/5.005/i386-freebsd/auto/makepatch
END-of-./pkg-plist
exit

>Release-Note:
>Audit-Trail:

From: Anton Berezin <tobez@tobez.org>
To: John Merryweather Cooper <john_m_cooper@yahoo.com>
Cc: FreeBSD-gnats-submit@freebsd.org, lioux@freebsd.org
Subject: Re: ports/31440: [NEW PORT] makepatch--a patch maintenance tool
Date: Tue, 30 Oct 2001 23:04:10 +0100

 On Mon, Oct 22, 2001 at 06:49:12PM -0700, John Merryweather Cooper wrote:
 > >Fix:
 > 
 > The dread shell archive follows:
 > 
 > #	.
 > #	./Makefile
 > #	./distinfo
 > #	./pkg-comment
 > #	./pkg-descr
 > #	./pkg-plist
 > #
 
 It is dreadful indeed, without any subdirectories...  :-(
 
 =Anton.
 -- 
 | Anton Berezin                |      FreeBSD: The power to serve |
 | catpipe Systems ApS   _ _ |_ |           http://www.FreeBSD.org |
 | tobez@catpipe.net    (_(_||  |                tobez@FreeBSD.org | 
 | +45 7021 0050                |         Private: tobez@tobez.org |
State-Changed-From-To: open->closed 
State-Changed-By: tobez 
State-Changed-When: Tue Oct 30 14:21:55 PST 2001 
State-Changed-Why:  
New port committed, thanks! 

I've fixed pkg-plist, and took a liberty of removing your pre-build 
target.  The reason for this is that on -current perl-ports are already 
PREFIX-clean, and they soon will be clean on -stable, too. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=31440 
>Unformatted:
