1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/japanese/ibus-skk/Makefile
Marcus von Appen b997ee32c8 - Convert ports from german/, java/, japanese/ and ports-mgmt/ to new
USES=python

Approved by:	portmgr (implicit)
2014-10-19 17:45:13 +00:00

40 lines
948 B
Makefile

# Created by: Hiroto Kagotani <hiroto.kagotani@gmail.com>
# $FreeBSD$
PORTNAME= ibus-skk
PORTVERSION= 1.4.1
PORTREVISION= 3
CATEGORIES= japanese
MASTER_SITES= http://cloud.github.com/downloads/ueno/ibus-skk/
MAINTAINER= ports@FreeBSD.org
COMMENT= Japanese SKK input engine for IBus
RUN_DEPENDS= ${LOCALBASE}/share/skk/SKK-JISYO.L:${PORTSDIR}/japanese/skk-jisyo
LIB_DEPENDS= libskk.so:${PORTSDIR}/japanese/libskk \
libibus-1.0.so:${PORTSDIR}/textproc/ibus
USES= gettext gmake pkgconfig python
USE_GNOME= intltool
GNU_CONFIGURE= yes
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
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.include <bsd.port.post.mk>