mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
95274bf4f9
As like as HEAD(14.0-RELEASE) llvm16 was merged in base for 13.2-STABLE with the OSVERSION 1302507. - Utilize USE_CXXSTD=c++14 or similar solution where applicable - Update conditionals to addtionally check for OSVERSION greater than 1302507 and less than 1400000 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
29 lines
824 B
Makefile
29 lines
824 B
Makefile
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
|
|
|
|
MAKE_ARGS= LIBS="${LDFLAGS} -lncurses"
|
|
|
|
CFLAGS+= -Wno-error=return-type
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
|
.endif
|
|
|
|
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>
|