2013-06-10 02:48:32 +02:00
|
|
|
# Created by: Andrey A. Chernov <ache@FreeBSD.org>
|
2003-04-04 14:40:04 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= less
|
2013-05-11 17:37:56 +02:00
|
|
|
PORTVERSION= 458
|
2005-07-10 13:15:10 +02:00
|
|
|
CATEGORIES= sysutils
|
2013-01-21 00:43:56 +01:00
|
|
|
MASTER_SITES= http://www.greenwoodsoftware.com/%SUBDIR%/ \
|
|
|
|
${MASTER_SITE_GNU}
|
2003-04-04 14:40:04 +02:00
|
|
|
MASTER_SITE_SUBDIR= less
|
|
|
|
|
|
|
|
MAINTAINER= jharris@widomaker.com
|
2013-06-10 02:48:32 +02:00
|
|
|
COMMENT= Better pager utility
|
2003-04-04 14:40:04 +02:00
|
|
|
|
2013-05-11 17:37:56 +02:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2013-06-10 02:48:32 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2013-05-11 17:37:56 +02:00
|
|
|
|
2013-06-10 02:48:32 +02:00
|
|
|
MAN1= less.1 lesskey.1 lessecho.1
|
2004-01-21 20:53:10 +01:00
|
|
|
PLIST_FILES= bin/less bin/lesskey bin/lessecho
|
|
|
|
|
2013-06-10 02:48:32 +02:00
|
|
|
OPTIONS_DEFINE= COLORS
|
|
|
|
COLORS_DESC= Enable colors support via escape sequence
|
2003-04-04 14:40:04 +02:00
|
|
|
|
2013-06-10 02:48:32 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2003-04-04 14:40:04 +02:00
|
|
|
|
2013-06-10 02:48:32 +02:00
|
|
|
.if ${PORT_OPTIONS:MCOLORS}
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -DCOLOR_LESS
|
2003-04-04 14:40:04 +02:00
|
|
|
|
|
|
|
pre-fetch:
|
2010-10-30 08:54:29 +02:00
|
|
|
@${ECHO_MSG} "Making a color version of less."
|
2003-04-04 14:40:04 +02:00
|
|
|
.endif
|
|
|
|
|
2013-05-11 17:37:56 +02:00
|
|
|
.include <bsd.port.mk>
|