- 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)
This commit is contained in:
Wen Heping 2013-05-11 15:37:56 +00:00
parent cd59f91391
commit adaec2db2e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317890
2 changed files with 11 additions and 6 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= less PORTNAME= less
PORTVERSION= 451 PORTVERSION= 458
CATEGORIES= sysutils CATEGORIES= sysutils
MASTER_SITES= http://www.greenwoodsoftware.com/%SUBDIR%/ \ MASTER_SITES= http://www.greenwoodsoftware.com/%SUBDIR%/ \
${MASTER_SITE_GNU} ${MASTER_SITE_GNU}
@ -11,18 +11,23 @@ MASTER_SITE_SUBDIR= less
MAINTAINER= jharris@widomaker.com MAINTAINER= jharris@widomaker.com
COMMENT= A better pager utility 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 PLIST_FILES= bin/less bin/lesskey bin/lessecho
.include <bsd.port.pre.mk> .include <bsd.port.options.mk>
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
MAN1= less.1 lesskey.1 lessecho.1 MAN1= less.1 lesskey.1 lessecho.1
.if defined(COLOUR_LESS) || defined(COLOR_LESS) .if ${PORT_OPTIONS:MCOLOUR_LESS}
CPPFLAGS+= -DCOLOR_LESS CPPFLAGS+= -DCOLOR_LESS
pre-fetch: pre-fetch:
@${ECHO_MSG} "Making a color version of less." @${ECHO_MSG} "Making a color version of less."
.endif .endif
.include <bsd.port.post.mk> .include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (less-451.tar.gz) = 9fe8287c647afeafb4149c5dedaeacfd20971ed7c26c7553794bb750536b5f57 SHA256 (less-458.tar.gz) = e536c7819ede54b3d487f0ffc4c14b3620bed83734d92a81e89f62346db0fcac
SIZE (less-451.tar.gz) = 310144 SIZE (less-458.tar.gz) = 311224