1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/japanese/im-ja/Makefile
2003-09-03 00:13:57 +00:00

49 lines
1.1 KiB
Makefile

# New ports collection makefile for: im-ja
# Date created: 2003/09/02
# Whom: Jacques Vidrine <nectar@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= im-ja
PORTVERSION= 0.7.2
CATEGORIES= japanese x11-toolkits
MASTER_SITES= http://im-ja.sourceforge.net/
DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.([0-9])$/-\1/}
MAINTAINER= nectar@FreeBSD.org
COMMENT= A Japanese input module for GTK2
.if !defined(WITHOUT_CANNA)
LIB_DEPENDS+= RKC.1:${PORTSDIR}/japanese/Canna
.endif
.if !defined(WITHOUT_WNN)
LIB_DEPENDS+= wnn.0:${PORTSDIR}/japanese/FreeWnn-lib
.endif
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
USE_GNOME= gnomeprefix gnomehack gtk20 gconf
GNU_CONFIGURE= yes
.if defined(WITHOUT_CANNA)
CONFIGURE_ARGS+= --disable-canna
.endif
.if defined(WITHOUT_WNN)
CONFIGURE_ARGS+= --disable-wnn
.endif
LIBS+= -L${LOCALBASE}/lib -L${X11BASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include
CONFIGURE_ENV= LIBS="${LIBS}" CPPFLAGS="${CPPFLAGS}"
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.([0-9])$//}
MAN1= im-ja-conf.1
post-install:
${X11BASE}/bin/gtk-query-immodules-2.0 > \
${X11BASE}/etc/gtk-2.0/gtk.immodules
.include <bsd.port.mk>