mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
28 lines
630 B
Makefile
28 lines
630 B
Makefile
# Created by: David O'Brien (obrien@cs.ucdavis.edu)
|
|
|
|
PORTNAME= cless
|
|
PORTVERSION= 290
|
|
CATEGORIES= chinese
|
|
MASTER_SITES= ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/unix/c-utils/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Better pager utility (and it speaks Chinese)
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
USES= ncurses
|
|
GNU_CONFIGURE= yes
|
|
CFLAGS+= -DHANZI # LDFLAGS=-s datadir=/usr/local/lib/less
|
|
CPP= #
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-ltermcap|-lncurses|' ${WRKSRC}/configure
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.CLESS ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|