freebsd-ports/chinese/cless/Makefile
Vanilla I. Shu a57522f229 Support STAGEDIR.
Approved by:	portmgr (blanket infrastructure)
2014-01-08 15:47:09 +00:00

24 lines
592 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= #
.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>