freebsd-ports/misc/less/Makefile
Mark Murray b867e24453 Replace the color: target with a macro. If you want to build less
with colour, you need to define COLOUR_LESS (or if you are from a
place that is speling impaired, COLOR_LESS will do ;-))
OKed by:	asami and others
1996-05-13 16:17:58 +00:00

29 lines
614 B
Makefile

# New ports collection makefile for: less
# Version required: 2.90
# Date created: 8 Nov 1994
# Whom: ache
#
# $Id: Makefile,v 1.9 1995/11/26 10:47:49 asami Exp $
#
DISTNAME= less-290
CATEGORIES+= misc
MASTER_SITES= ftp://prep.ai.mit.edu/pub/gnu/ ftp://ftp.uu.net/systems/gnu/
MAINTAINER= ache@FreeBSD.ORG
GNU_CONFIGURE= yes
EXTRA_PATCH= patch-ab
pre-clean:
@rm -f ${PATCHDIR}/${EXTRA_PATCH}
.if defined(COLOUR_LESS) || defined(COLOR_LESS)
pre-patch:
@echo "Making a colour version of less."
@cp ${FILESDIR}/${EXTRA_PATCH} ${PATCHDIR}
.endif
.include <bsd.port.mk>