1994-11-08 03:35:39 +00:00
|
|
|
# New ports collection makefile for: less
|
1995-02-22 04:20:53 +00:00
|
|
|
# Version required: 2.78
|
1994-11-08 03:35:39 +00:00
|
|
|
# Date created: 8 Nov 1994
|
|
|
|
# Whom: ache
|
|
|
|
#
|
1995-04-01 12:51:41 +00:00
|
|
|
# $Id: Makefile,v 1.5 1995/02/22 04:20:36 ache Exp $
|
1994-11-08 03:35:39 +00:00
|
|
|
#
|
|
|
|
|
1995-02-22 04:20:53 +00:00
|
|
|
DISTNAME= less-278
|
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>
|