aboutsummaryrefslogtreecommitdiff
path: root/sysutils/less
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2013-05-11 15:37:56 +0000
committerWen Heping <wen@FreeBSD.org>2013-05-11 15:37:56 +0000
commitadaec2db2e38bad73b52e0e78f38933ec3582433 (patch)
tree2ff92178b47a6980aab84a61239072e51d65f2f5 /sysutils/less
parentcd59f9139119c8d0795ffe30882f764a9de1595d (diff)
downloadports-adaec2db2e38bad73b52e0e78f38933ec3582433.tar.gz
ports-adaec2db2e38bad73b52e0e78f38933ec3582433.zip
Notes
Diffstat (limited to 'sysutils/less')
-rw-r--r--sysutils/less/Makefile13
-rw-r--r--sysutils/less/distinfo4
2 files changed, 11 insertions, 6 deletions
diff --git a/sysutils/less/Makefile b/sysutils/less/Makefile
index 8e89639df07c..4b15e6202128 100644
--- a/sysutils/less/Makefile
+++ b/sysutils/less/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= less
-PORTVERSION= 451
+PORTVERSION= 458
CATEGORIES= sysutils
MASTER_SITES= http://www.greenwoodsoftware.com/%SUBDIR%/ \
${MASTER_SITE_GNU}
@@ -11,18 +11,23 @@ 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.pre.mk>
+.include <bsd.port.options.mk>
GNU_CONFIGURE= yes
MAN1= less.1 lesskey.1 lessecho.1
-.if defined(COLOUR_LESS) || defined(COLOR_LESS)
+.if ${PORT_OPTIONS:MCOLOUR_LESS}
CPPFLAGS+= -DCOLOR_LESS
pre-fetch:
@${ECHO_MSG} "Making a color version of less."
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/less/distinfo b/sysutils/less/distinfo
index 2946d2c4bc29..6890868858a8 100644
--- a/sysutils/less/distinfo
+++ b/sysutils/less/distinfo
@@ -1,2 +1,2 @@
-SHA256 (less-451.tar.gz) = 9fe8287c647afeafb4149c5dedaeacfd20971ed7c26c7553794bb750536b5f57
-SIZE (less-451.tar.gz) = 310144
+SHA256 (less-458.tar.gz) = e536c7819ede54b3d487f0ffc4c14b3620bed83734d92a81e89f62346db0fcac
+SIZE (less-458.tar.gz) = 311224