aboutsummaryrefslogtreecommitdiffstats
path: root/devel/patch/Makefile
blob: 0fe35d33dc942de5dbbe6dff96549ce92ad29625 (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
28
# 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
PLIST_FILES=    bin/gpatch

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

.include <bsd.port.mk>