aboutsummaryrefslogtreecommitdiffstats
path: root/devel/patch/Makefile
blob: 0962cf4452a1536f7045ad9703ecdbffe6a20366 (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.9
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= patch

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

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

MAN1=       gpatch.1
PLIST_FILES=    bin/gpatch

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

.include <bsd.port.mk>