# Created by: Yukihiro Nakai <nakai@FreeBSD.org>
# $FreeBSD: japanese/jmode/Makefile 327737 2013-09-20 18:47:54Z bapt $

PORTNAME=	jmode
PORTVERSION=	0.6.7
PORTREVISION=	7
CATEGORIES=	japanese
MASTER_SITES=	http://downloads.sourceforge.jp/anthy/5467/

MAINTAINER=	nobutaka@FreeBSD.org
COMMENT?=	XIM server for Anthy input method

LIB_DEPENDS?=	anthy.1:${PORTSDIR}/japanese/anthy

USE_GNOME=	gtk12
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

NO_STAGE=	yes
.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
BROKEN=		Does not compile with GCC 4.2
.endif
.endif

.include <bsd.port.post.mk>
