1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/chinese/cless/Makefile

29 lines
642 B
Makefile

# Created by: David O'Brien (obrien@cs.ucdavis.edu)
# $FreeBSD$
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>