diff options
-rw-r--r-- | misc/less/Makefile | 19 | ||||
-rw-r--r-- | sysutils/less/Makefile | 19 |
2 files changed, 36 insertions, 2 deletions
diff --git a/misc/less/Makefile b/misc/less/Makefile index 96e3b86..fde6597 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> diff --git a/sysutils/less/Makefile b/sysutils/less/Makefile index 96e3b86..fde6597 100644 --- a/sysutils/less/Makefile +++ b/sysutils/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> |