aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-02-05 15:30:38 +0000
committerJohn Marino <marino@FreeBSD.org>2016-02-05 15:30:38 +0000
commit59a380020d9b59a9674648615f61f03a7947a6c1 (patch)
tree8cb3c555ab4ecb6d9e08c878ab3f20643586817e /chinese
parent31fdaf86cda7e7d34ba510a5c0bd35c7533ec2a5 (diff)
downloadports-59a380020d9b59a9674648615f61f03a7947a6c1.tar.gz
ports-59a380020d9b59a9674648615f61f03a7947a6c1.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/cless/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/chinese/cless/Makefile b/chinese/cless/Makefile
index 8151a5907036..2fb9525345f6 100644
--- a/chinese/cless/Makefile
+++ b/chinese/cless/Makefile
@@ -11,12 +11,16 @@ 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}