aboutsummaryrefslogtreecommitdiffstats
path: root/misc/less
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1995-02-07 11:55:22 +0800
committerasami <asami@FreeBSD.org>1995-02-07 11:55:22 +0800
commit2d56d0c08a3e7044a243b72a70ea6a6cb1623300 (patch)
treee41ce06191cca9f2082a76b9bd0e1b10069d2bc5 /misc/less
parent5414fb7213317422439beda1526ae34f33d428ca (diff)
downloadfreebsd-ports-graphics-2d56d0c08a3e7044a243b72a70ea6a6cb1623300.tar.gz
freebsd-ports-graphics-2d56d0c08a3e7044a243b72a70ea6a6cb1623300.tar.zst
freebsd-ports-graphics-2d56d0c08a3e7044a243b72a70ea6a6cb1623300.zip
Put back in the color patch, but not as default. User should explicitly
type "make color" to get the color version. This should make both Andrew and people who requested color-less happy. :)
Diffstat (limited to 'misc/less')
-rw-r--r--misc/less/Makefile19
1 files changed, 18 insertions, 1 deletions
diff --git a/misc/less/Makefile b/misc/less/Makefile
index 96e3b860133..fde6597a319 100644
--- a/misc/less/Makefile
+++ b/misc/less/Makefile
@@ -3,11 +3,28 @@
# Date created: 8 Nov 1994
# Whom: ache
#
-# $Id: Makefile,v 1.2 1994/11/21 23:34:36 ache Exp $
+# $Id: Makefile,v 1.3 1994/12/28 06:22:33 ache Exp $
#
DISTNAME= less-252
MASTER_SITES= ftp://prep.ai.mit.edu/pub/gnu/ ftp://ftp.uu.net/systems/gnu/
GNU_CONFIGURE= YES
+EXTRA_PATCH= patch-ab
+
+color:
+ @echo "Okay, making a color version of less...."
+ @cp ${FILESDIR}/${EXTRA_PATCH} ${PATCHDIR}
+ @${MAKE} ${.MAKEFLAGS} all
+
+pre-clean:
+ @rm -f ${PATCHDIR}/${EXTRA_PATCH}
+
+pre-patch:
+ @if [ ! -f ${PATCHDIR}/${EXTRA_PATCH} ]; then \
+ echo '******************************************************' ; \
+ echo '* Note that you can build a color version of less by *' ; \
+ echo '* typing "make color" following a "make clean" *' ; \
+ echo '******************************************************' ; \
+ fi
.include <bsd.port.mk>