ports/178261: Update port: sysutils/less to 458
Norihiko Murase
mur1080224 at inter7.jp
Tue Apr 30 15:20:01 UTC 2013
>Number: 178261
>Category: ports
>Synopsis: Update port: sysutils/less to 458
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Apr 30 15:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Norihiko Murase
>Release:
>Organization:
>Environment:
>Description:
Hi!
I've noticed the new version of less, which is 458 and was
released on Apr 24. I would like you to upgrade the ports
("sysutils/less") for this release.
The patch for the upgrade is attached.
>How-To-Repeat:
>Fix:
The change of this patch is as follows:
* Update to 458
* Convert to OptionsNG (new options framework)
- However, you should note that the option named
COLO*U*R_LESS is deprecated...
* Add LICENSE
Patch attached with submission follows:
diff -ur less-451/Makefile less-458/Makefile
--- less-451/Makefile 2013-01-21 08:58:42.000000000 +0900
+++ less-458/Makefile 2013-04-30 23:49:40.000000000 +0900
@@ -2,7 +2,7 @@
# $FreeBSD: ports/sysutils/less/Makefile,v 1.45 2013/01/20 23:58:42 svnexp Exp $
PORTNAME= less
-PORTVERSION= 451
+PORTVERSION= 458
CATEGORIES= sysutils
MASTER_SITES= http://www.greenwoodsoftware.com/%SUBDIR%/ \
${MASTER_SITE_GNU}
@@ -11,6 +11,11 @@
MAINTAINER= jharris at 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>
@@ -18,7 +23,7 @@
GNU_CONFIGURE= yes
MAN1= less.1 lesskey.1 lessecho.1
-.if defined(COLOUR_LESS) || defined(COLOR_LESS)
+.if ${PORT_OPTIONS:MCOLOR_LESS}
CPPFLAGS+= -DCOLOR_LESS
pre-fetch:
diff -ur less-451/distinfo less-458/distinfo
--- less-451/distinfo 2013-01-21 08:58:42.000000000 +0900
+++ less-458/distinfo 2013-04-30 22:51:08.000000000 +0900
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list