1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

japanese/jvim3: remove optional depedency on expired japanese/onew

Fix an "if" while here

Bump PORTREVISION
This commit is contained in:
Rene Ladan 2024-06-11 18:46:06 +02:00
parent 1ae82b41fe
commit 52576eb197

View File

@ -1,6 +1,6 @@
PORTNAME= jvim
PORTVERSION= 3.0.j2.1b
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= japanese editors
MASTER_SITES= ftp://ftp.vim.org/pub/vim/unix/ \
http://hp.vector.co.jp/authors/VA003457/vim/vim3/2.1b/
@ -23,16 +23,12 @@ MAKE_ARGS= FEPOPT='${FEPOPT}' \
LIBS="${LIBS}"
OPTIONS_DEFINE= X11 DOCS
OPTIONS_DEFAULT=X11 FREEWNN_CANNA
OPTIONS_DEFAULT=X11
OPTIONS_RADIO= FEP
OPTIONS_RADIO_FEP= FREEWNN_CANNA DIRECT_CANNA WNN6 WNN7
OPTIONS_RADIO_FEP= DIRECT_CANNA WNN6 WNN7
FEP_DESC= Japanese FrontEnd Processor
DIRECT_CANNA_DESC= Canna support (direct)
DIRECT_CANNA_LIB_DEPENDS= libcanna.so:japanese/canna-lib
FREEWNN_CANNA_DESC= Canna and FreeWnn support (via ONEW library)
FREEWNN_CANNA_LIB_DEPENDS= libjd.so:japanese/FreeWnn-lib \
libcanna.so:japanese/canna-lib
FREEWNN_CANNA_BUILD_DEPENDS= ${LOCALBASE}/lib/libonew-canna+freewnn.a:japanese/onew
WNN6_DESC= Wnn6 support
WNN6_LIB_DEPENDS= libjd.so:japanese/FreeWnn-lib
WNN6_BUILD_DEPENDS= ${LOCALBASE}/lib/libonew-wnn6.a:japanese/onew
@ -54,7 +50,6 @@ X11_LIBS= -lX11 -L${LOCALBASE}/lib
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDIRECT_CANNA} || \
${PORT_OPTIONS:MFREEWNN_CANNA} || \
${PORT_OPTIONS:MWNN6} || \
${PORT_OPTIONS:MWNN7}
FEPOPT+= -DJP_DEF=\"EEE\" -DFEPCTRL
@ -68,20 +63,14 @@ FEPOBJS= fepcanna.o
JVIM3RC= "set fepctrl"
.endif
.if ${PORT_OPTIONS:MFREEWNN_CANNA} || \
${PORT_OPTIONS:MWNN6} || \
.if ${PORT_OPTIONS:MWNN6} || \
${PORT_OPTIONS:MWNN7} || \
${PORT_OPTIONS:MCANNA}
${PORT_OPTIONS:MDIRECT_CANNA}
FEPOPT+= -DONEW
FEPOBJS= feponew.o
JVIM3RC= "set fepctrl onewredraw"
.endif
# Connection by using ONEW library
.if ${PORT_OPTIONS:MFREEWNN_CANNA}
FEPLIBS+= -lonew-canna+freewnn -lcanna -ljd -lcrypt
.endif
.if ${PORT_OPTIONS:MWNN6}
FEPLIBS+= -lonew-wnn6 -ljd -lcrypt
.endif