summaryrefslogtreecommitdiffstats
path: root/misc/patchutils/Makefile
blob: eba9057e686e00ff4b8ce8b0ed6f8feea0785b23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# ex:ts=8
# New ports collection makefile for:	patchutils
# Date created:			Jul 23, 2001
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	patchutils
PORTVERSION=	0.2.22
CATEGORIES=	misc
MASTER_SITES=	http://cyberelk.net/tim/data/patchutils/stable/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A small collection of programs that operate on patch files

USE_BZIP2=	yes
USE_PERL5=	yes
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

MAN1=	combinediff.1 dehtmldiff.1 editdiff.1 filterdiff.1 fixcvsdiff.1 \
	flipdiff.1 grepdiff.1 interdiff.1 lsdiff.1 recountdiff.1 rediff.1 \
	splitdiff.1 unwrapdiff.1

post-patch:
	@${PERL} -pi.bak -e "s,#!/bin/bash,#!/bin/sh," \
		${WRKSRC}/dehtmldiff.in \
		${WRKSRC}/editdiff.in \
		${WRKSRC}/move-to-front

.include <bsd.port.mk>
OpenPOWER on IntegriCloud