summaryrefslogtreecommitdiff
path: root/devel/patch/Makefile
blob: 4f263b277781e8d4d67c61ccc1a9ae7a5e06d520 (plain) (blame)
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
# New ports collection makefile for:    patch
# Date created:         21 Jan 1998
# Whom:                 ache
#
# $FreeBSD$
#

PORTNAME=	patch
PORTVERSION=	2.5.4
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=	patch

MAINTAINER=	petef@FreeBSD.org
COMMENT=	GNU patch utility

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--program-prefix=g
USE_REINPLACE=	yes

MAN1=		gpatch.1

post-patch:
	@${REINPLACE_CMD} -e 's!HAVE_SETMODE!HAVE_SETMODE_DISABLE!' \
		${WRKSRC}/config.hin

.include <bsd.port.mk>