freebsd-skq/usr.bin/patch/Makefile
gabor d992e3eb2a - Add a BSD-licensed patch, ported by Pedro F. Giffuni (pfg) from
DragonflyBSD and install it as bsdpatch.  WITH_BSD_PATCH makes it
  default and installs GNU patch as gnupatch.

Submitted by:	pfg
Obtained from:	The DragonflyBSD Project
2013-01-29 17:03:18 +00:00

20 lines
394 B
Makefile

# $FreeBSD$
# $OpenBSD: Makefile,v 1.4 2005/05/16 15:22:46 espie Exp $
# $DragonFly: src/usr.bin/patch/Makefile,v 1.8 2008/08/10 23:50:12 joerg Exp $
.include <bsd.own.mk>
.if ${MK_BSD_PATCH} == "yes"
PROG= patch
.else
PROG= bsdpatch
CLEANFILES+= bsdpatch.1
bsdpatch.1: patch.1
cp ${.ALLSRC} ${.TARGET}
.endif
SRCS= backupfile.c inp.c mkpath.c patch.c pch.c util.c
.include <bsd.prog.mk>