aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/less/Makefile
blob: a5157dd8ea036b03b971fe6a28f619e2612c8510 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# New ports collection makefile for:    less
# Version required:     3.35
# Date created:         8 Nov 1994
# Whom:                 ache
#
# $Id: Makefile,v 1.17 1999/01/27 07:41:23 fenner Exp $
#

DISTNAME=       less-335
CATEGORIES= misc
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= less

MAINTAINER= ache@FreeBSD.ORG

GNU_CONFIGURE=  yes
MAN1=       less.1 lesskey.1

EXTRA_PATCH=    patch-ab

pre-clean:
    @${RM} -f ${PATCHDIR}/${EXTRA_PATCH}

.if defined(COLOUR_LESS) || defined(COLOR_LESS)
pre-patch:
    @${ECHO_MSG} "Making a colour version of less."
    @${CP} ${FILESDIR}/${EXTRA_PATCH} ${PATCHDIR}
.endif

.include <bsd.port.mk>