summaryrefslogtreecommitdiffstats
path: root/sysutils/less/Makefile
blob: 7ea7beb988de65193428166b70044f73ae819c98 (plain)
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
34
35
36
# Created by: Andrey A. Chernov <ache@FreeBSD.org>
# $FreeBSD$

PORTNAME=	less
PORTVERSION=	458
CATEGORIES=	sysutils
MASTER_SITES=	http://www.greenwoodsoftware.com/less/ \
		http://bitrote.org/distfiles/

MAINTAINER=	jharris@widomaker.com
COMMENT=	Better pager utility

LICENSE=	GPLv3

USES=		cpe ncurses
CPE_VENDOR=	gnu

GNU_CONFIGURE=	yes

PLIST_FILES=	bin/less bin/lesskey bin/lessecho \
		man/man1/less.1.gz man/man1/lesskey.1.gz \
		man/man1/lessecho.1.gz

OPTIONS_DEFINE=	COLORS
COLORS_DESC=	Enable colors support via escape sequence

.include <bsd.port.options.mk>

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

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud