- Update MASTER_SITES - Update WWW - Use USES=localbase:ldflags - Use pcre2 instead of pcre - Remove COLORS option: it is no-op Changes: https://github.com/gwsw/less/blob/master/NEWS PR: 290607 Approved by: jharris@widomaker.com (maintainer)
39 lines
817 B
Makefile
39 lines
817 B
Makefile
PORTNAME= less
|
|
PORTVERSION= 685
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= https://www.greenwoodsoftware.com/less/
|
|
|
|
MAINTAINER= jharris@widomaker.com
|
|
COMMENT= Better pager utility
|
|
WWW= https://www.greenwoodsoftware.com/less/ \
|
|
https://github.com/gwsw/less
|
|
|
|
LICENSE= GPLv3+ MIT
|
|
LICENSE_COMB= dual
|
|
LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING
|
|
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE
|
|
|
|
USES= cpe gmake ncurses
|
|
|
|
GNU_CONFIGURE= yes
|
|
LIBS+= -lncurses
|
|
|
|
PLIST_FILES= bin/less \
|
|
bin/lessecho \
|
|
bin/lesskey \
|
|
share/man/man1/less.1.gz \
|
|
share/man/man1/lessecho.1.gz \
|
|
share/man/man1/lesskey.1.gz
|
|
|
|
CPE_VENDOR= gnu
|
|
|
|
OPTIONS_DEFINE= PCRE
|
|
OPTIONS_DEFAULT=PCRE
|
|
|
|
PCRE_CONFIGURE_OFF= --with-regex=posix
|
|
PCRE_CONFIGURE_ON= --with-regex=pcre2
|
|
PCRE_LIB_DEPENDS= libpcre2-8.so:devel/pcre2
|
|
PCRE_USES= localbase:ldflags
|
|
|
|
.include <bsd.port.mk>
|