1994-11-08 03:35:39 +00:00
|
|
|
# New ports collection makefile for: less
|
1995-04-08 13:54:45 +00:00
|
|
|
# Version required: 2.90
|
1994-11-08 03:35:39 +00:00
|
|
|
# Date created: 8 Nov 1994
|
|
|
|
# Whom: ache
|
|
|
|
#
|
1995-04-08 13:54:45 +00:00
|
|
|
# $Id: Makefile,v 1.6 1995/04/01 12:50:14 jkh Exp $
|
1994-11-08 03:35:39 +00:00
|
|
|
#
|
|
|
|
|
1995-04-08 13:54:45 +00:00
|
|
|
DISTNAME= less-290
|
1994-12-28 06:22:33 +00:00
|
|
|
MASTER_SITES= ftp://prep.ai.mit.edu/pub/gnu/ ftp://ftp.uu.net/systems/gnu/
|
1995-04-01 12:51:41 +00:00
|
|
|
CATEGORIES+= utilities
|
1994-11-08 03:35:39 +00:00
|
|
|
GNU_CONFIGURE= YES
|
1995-02-07 03:55:22 +00:00
|
|
|
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
|
1994-11-08 03:35:39 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|