# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$

PortSystem 1.0

name			cvsdiff2patch
version			1.0.1
revision        1
categories		devel
license			BSD
maintainers		nomaintainer
description		Turn cvs diff output into patch input.
long_description	This is a text filter for turning "cvs diff" output \
			into something that patch(1) understands. This is \
			needed when your version of cvs(1) makes diffs that \
			confuse patch(1).
homepage		http://people.freebsd.org/~alfred/sources/cvsdiff2patch/
platforms		darwin freebsd
master_sites		${homepage}

use_bzip2		yes
checksums		md5 9e5ccf10e15d26ce0dcb5ebb4a80b919
use_configure	no
build.type		bsd

# Override Makefile destroot target
destroot {
	system "install -c -s -m 755  ${worksrcpath}/cvsdiff2patch ${destroot}${prefix}/bin"
}