diff options
author | Mark Murray <markm@FreeBSD.org> | 1996-05-13 16:17:58 +0000 |
---|---|---|
committer | Mark Murray <markm@FreeBSD.org> | 1996-05-13 16:17:58 +0000 |
commit | b867e24453b319bf5a075affdd5f2f94b7c71149 (patch) | |
tree | 10bb9f8bd0f222bd741d081e9687f6412a441561 | |
parent | cf346484f607970c999e5ebe361c99b08144dd46 (diff) | |
download | ports-b867e24453b319bf5a075affdd5f2f94b7c71149.tar.gz ports-b867e24453b319bf5a075affdd5f2f94b7c71149.zip |
Notes
-rw-r--r-- | misc/less/Makefile | 17 | ||||
-rw-r--r-- | sysutils/less/Makefile | 17 |
2 files changed, 10 insertions, 24 deletions
diff --git a/misc/less/Makefile b/misc/less/Makefile index 112c9a90da00..c962bc72112e 100644 --- a/misc/less/Makefile +++ b/misc/less/Makefile @@ -3,7 +3,7 @@ # Date created: 8 Nov 1994 # Whom: ache # -# $Id: Makefile,v 1.8 1995/04/12 04:56:12 asami Exp $ +# $Id: Makefile,v 1.9 1995/11/26 10:47:49 asami Exp $ # DISTNAME= less-290 @@ -16,20 +16,13 @@ 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} +.if defined(COLOUR_LESS) || defined(COLOR_LESS) 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 + @echo "Making a colour version of less." + @cp ${FILESDIR}/${EXTRA_PATCH} ${PATCHDIR} +.endif .include <bsd.port.mk> diff --git a/sysutils/less/Makefile b/sysutils/less/Makefile index 112c9a90da00..c962bc72112e 100644 --- a/sysutils/less/Makefile +++ b/sysutils/less/Makefile @@ -3,7 +3,7 @@ # Date created: 8 Nov 1994 # Whom: ache # -# $Id: Makefile,v 1.8 1995/04/12 04:56:12 asami Exp $ +# $Id: Makefile,v 1.9 1995/11/26 10:47:49 asami Exp $ # DISTNAME= less-290 @@ -16,20 +16,13 @@ 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} +.if defined(COLOUR_LESS) || defined(COLOR_LESS) 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 + @echo "Making a colour version of less." + @cp ${FILESDIR}/${EXTRA_PATCH} ${PATCHDIR} +.endif .include <bsd.port.mk> |