aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/less/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/less/Makefile')
-rw-r--r--sysutils/less/Makefile13
1 files changed, 9 insertions, 4 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>