mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
37 lines
707 B
Makefile
37 lines
707 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
|
|
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>
|