diff options
-rw-r--r-- | japanese/ibus-skk/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/japanese/ibus-skk/Makefile b/japanese/ibus-skk/Makefile index 8ca294409e3d..604e3e61dc6c 100644 --- a/japanese/ibus-skk/Makefile +++ b/japanese/ibus-skk/Makefile @@ -7,7 +7,7 @@ PORTNAME= ibus-skk PORTVERSION= 1.4.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= japanese MASTER_SITES= http://cloud.github.com/downloads/ueno/ibus-skk/ @@ -15,8 +15,8 @@ MAINTAINER= hiroto.kagotani@gmail.com COMMENT= A Japanese SKK input engine for IBus RUN_DEPENDS= ${LOCALBASE}/share/skk/SKK-JISYO.L:${PORTSDIR}/japanese/skk-jisyo -LIB_DEPENDS= skk.0:${PORTSDIR}/japanese/libskk \ - ibus-1.0.400:${PORTSDIR}/textproc/ibus +LIB_DEPENDS= skk:${PORTSDIR}/japanese/libskk \ + ibus-1.0:${PORTSDIR}/textproc/ibus USE_PYTHON= yes USE_GETTEXT= yes @@ -28,6 +28,8 @@ CONFIGURE_ENV+= DATADIRNAME=share CPPFLAGS+= -I${LOCALBASE}/include +OPTIONS_DEFINE= NLS + post-patch: @${REINPLACE_CMD} -e 's|/usr/share/skk/SKK-JISYO.L|${LOCALBASE}/share/skk/SKK-JISYO.L|' ${WRKSRC}/src/preferences.c @@ -37,7 +39,7 @@ post-install: .include <bsd.port.pre.mk> -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes PLIST_SUB+= NLS="" .else |