only set canna options in wrapper scripts, if FLAVOR == canna
from ports/4049
This commit is contained in:
parent
4f3aa9b11d
commit
8f4eff3dc0
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.20 2004/11/24 11:08:03 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.21 2004/12/26 21:00:13 sturm Exp $
|
||||
# NetBSD: Makefile,v 1.6 2000/01/19 12:28:44 hubertf Exp
|
||||
# FreeBSD Id: Makefile,v 1.11 1999/04/17 10:51:03 itojun Exp
|
||||
|
||||
COMMENT= "multilingual clone of vi/ex"
|
||||
|
||||
DISTNAME= nvi-1.79
|
||||
PKGNAME= nvi-m17n-1.79.19991117
|
||||
PKGNAME= nvi-m17n-1.79.19991117p0
|
||||
CATEGORIES= editors
|
||||
|
||||
MASTER_SITES0= ftp://ftp.foretune.co.jp/pub/tools/nvi-m17n/
|
||||
@ -35,13 +35,13 @@ CONFIGURE_ARGS+=--enable-multibyte --program-prefix=n --host=${ARCH}-unknown-net
|
||||
.if ${FLAVOR:L} == "canna"
|
||||
LIB_DEPENDS+= canna.1.::japanese/canna
|
||||
CONFIGURE_ARGS+=--enable-canna=${LOCALBASE}
|
||||
.endif
|
||||
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
|
||||
CANNA_OPT.euc-jp=canna cannactrl cannakey=
|
||||
CANNA_OPT.sjis=${CANNA_OPT.euc-jp}
|
||||
CANNA_OPT.iso-2022-jp=${CANNA_OPT.euc-jp}
|
||||
.endif
|
||||
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
|
||||
AUTODETECT.euc-jp=jp
|
||||
AUTODETECT.sjis=jp
|
||||
|
Loading…
Reference in New Issue
Block a user