aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2013-05-11 23:37:56 +0800
committerwen <wen@FreeBSD.org>2013-05-11 23:37:56 +0800
commitf3a304480e137db75df178cce369d7a153ebb561 (patch)
tree2ff92178b47a6980aab84a61239072e51d65f2f5
parent6adc859169bf32306fb36c5c114159012b2a7cb7 (diff)
downloadfreebsd-ports-gnome-f3a304480e137db75df178cce369d7a153ebb561.tar.gz
freebsd-ports-gnome-f3a304480e137db75df178cce369d7a153ebb561.tar.zst
freebsd-ports-gnome-f3a304480e137db75df178cce369d7a153ebb561.zip
- Update to 458
- Convert to optionsNG - Add LICENSE PR: 178261 Submitted by: Norihiko Murase <mur1080224@inter7.jp> Approved by: Jason Harris <jharris@widomaker.com> (maintainer)
-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