aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/cless/Makefile
blob: 2fb9525345f60ed135694479182d4d89340ed953 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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>