blob: c6448b29bf2e327b71102ed334f13003e153aaf4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# 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>
|