freebsd-ports/misc/less/Makefile
Satoshi Asami 2db58e929d 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. :)
1995-02-07 03:55:22 +00:00

30 lines
881 B
Makefile

# New ports collection makefile for: less
# Version required: 2.52
# Date created: 8 Nov 1994
# Whom: ache
#
# $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>