freebsd-ports/sysutils/less/Makefile
John Marino 880579f55a sysutils/less: document ncurses requirement (USES+=ncurses), plus ...
In addition to setting USES=ncurses:
  * align MASTER_SITES
  * align USES
  * change USES operator from += to =
  * line to libncurses rather than libtermcap
  * regenerate patches with makepatch

approved by:	infrastructure blanket
2016-02-04 14:48:06 +00:00

36 lines
716 B
Makefile

# Created by: Andrey A. Chernov <ache@FreeBSD.org>
# $FreeBSD$
PORTNAME= less
PORTVERSION= 458
CATEGORIES= sysutils
MASTER_SITES= http://www.greenwoodsoftware.com/less/ \
http://bitrote.org/distfiles/
MAINTAINER= jharris@widomaker.com
COMMENT= Better pager utility
LICENSE= GPLv3
USES= cpe ncurses
CPE_VENDOR= gnu
GNU_CONFIGURE= yes
PLIST_FILES= bin/less bin/lesskey bin/lessecho \
man/man1/less.1.gz man/man1/lesskey.1.gz \
man/man1/lessecho.1.gz
OPTIONS_DEFINE= COLORS
COLORS_DESC= Enable colors support via escape sequence
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCOLORS}
CPPFLAGS+= -DCOLOR_LESS
pre-fetch:
@${ECHO_MSG} "Making a color version of less."
.endif
.include <bsd.port.mk>