freebsd-ports/chinese/cless/Makefile
2014-02-21 13:35:38 +00:00

26 lines
614 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= A better pager utility (and it speaks Chinese)
GNU_CONFIGURE= yes
CFLAGS+= -DHANZI # LDFLAGS=-s datadir=/usr/local/lib/less
CPP= #
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/cless
${INSTALL_DATA} ${WRKSRC}/README.CLESS ${STAGEDIR}${PREFIX}/share/doc/cless
.endif
.include <bsd.port.mk>