aboutsummaryrefslogtreecommitdiff
path: root/chinese/celvis/Makefile
blob: 8ea362d41d7e56dcad07afb82b048b1b2934e772 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
PORTNAME=	celvis
PORTVERSION=	1.3
CATEGORIES=	chinese editors
MASTER_SITES=	http://ftp.ist.utl.pt/pub/ctan/language/chinese/chtex/
DISTNAME=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Vi/ex clone that speaks Chinese

USES=		ncurses
CFLAGS+=	-Wno-error=return-type
MAKE_ARGS=	LIBS="${LDFLAGS} -lncurses"

do-install:
	@# install target in celvis Makefile is not too good -- this is easier
	${INSTALL_PROGRAM} ${WRKSRC}/celvis ${WRKSRC}/virec ${STAGEDIR}${PREFIX}/bin
	${LN} -s celvis ${STAGEDIR}${PREFIX}/bin/cvi
	${INSTALL_MAN} ${FILESDIR}/celvis.1 ${STAGEDIR}${MANPREFIX}/man/man1

.include <bsd.port.mk>