aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/less/Makefile
blob: 4b15e620212821540ce475c76e25f9d1b23e7a1f (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
31
32
33
# Created by: ache
# $FreeBSD$

PORTNAME=   less
PORTVERSION=    458
CATEGORIES= sysutils
MASTER_SITES=   http://www.greenwoodsoftware.com/%SUBDIR%/ \
        ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= less

MAINTAINER= jharris@widomaker.com
COMMENT=    A better pager utility

LICENSE=    GPLv3

OPTIONS_DEFINE= COLOR_LESS
COLOR_LESS_DESC=Enables color support via escape sequence

PLIST_FILES=    bin/less bin/lesskey bin/lessecho

.include <bsd.port.options.mk>

GNU_CONFIGURE=  yes
MAN1=       less.1 lesskey.1 lessecho.1

.if ${PORT_OPTIONS:MCOLOUR_LESS}
CPPFLAGS+=  -DCOLOR_LESS

pre-fetch:
    @${ECHO_MSG} "Making a color version of less."
.endif

.include <bsd.port.mk>