1994-11-08 04:35:39 +01:00
|
|
|
# New ports collection makefile for: less
|
1999-04-15 21:23:23 +02:00
|
|
|
# Version required: 3.*
|
1994-11-08 04:35:39 +01:00
|
|
|
# Date created: 8 Nov 1994
|
|
|
|
# Whom: ache
|
|
|
|
#
|
1999-08-25 09:23:21 +02:00
|
|
|
# $FreeBSD$
|
1994-11-08 04:35:39 +01:00
|
|
|
#
|
|
|
|
|
1999-09-08 18:32:10 +02:00
|
|
|
DISTNAME= less-340
|
1996-11-11 06:50:23 +01:00
|
|
|
CATEGORIES= misc
|
1996-11-18 11:25:35 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-01-27 08:41:29 +01:00
|
|
|
MASTER_SITE_SUBDIR= less
|
1995-04-12 06:56:21 +02:00
|
|
|
|
1999-08-31 08:53:31 +02:00
|
|
|
MAINTAINER= ache@FreeBSD.org
|
1995-04-12 06:56:21 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
1996-11-18 15:17:24 +01:00
|
|
|
MAN1= less.1 lesskey.1
|
1995-04-12 06:56:21 +02:00
|
|
|
|
1995-02-07 04:55:22 +01:00
|
|
|
EXTRA_PATCH= patch-ab
|
|
|
|
|
|
|
|
pre-clean:
|
1999-04-06 01:59:44 +02:00
|
|
|
@${RM} -f ${PATCHDIR}/${EXTRA_PATCH}
|
1995-02-07 04:55:22 +01:00
|
|
|
|
1996-05-13 18:17:58 +02:00
|
|
|
.if defined(COLOUR_LESS) || defined(COLOR_LESS)
|
1995-02-07 04:55:22 +01:00
|
|
|
pre-patch:
|
1999-04-06 01:59:44 +02:00
|
|
|
@${ECHO_MSG} "Making a colour version of less."
|
1996-11-17 10:06:37 +01:00
|
|
|
@${CP} ${FILESDIR}/${EXTRA_PATCH} ${PATCHDIR}
|
1996-05-13 18:17:58 +02:00
|
|
|
.endif
|
1994-11-08 04:35:39 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|