aboutsummaryrefslogtreecommitdiffstats
path: root/devel/patch/Makefile
blob: 9e767128f47630d67d5535870cdd2eaee33f7992 (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
# 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

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

MAN1=       gpatch.1

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

.include <bsd.port.mk>