blob: 711a770a2f06323a964d74ec3bf2f0f2ada465b1 (
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
|
# Created by: Daichi GOTO <daichi@FreeBSD.org>
# $FreeBSD$
PORTNAME= ibus-anthy
PORTVERSION= 1.2.7
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= japanese
PROJECTHOST= ibus
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX= ja-
MAINTAINER= daichi@FreeBSD.org
COMMENT= Anthy engine for IBus
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
LIB_DEPENDS= libanthy.so:${PORTSDIR}/japanese/anthy \
libibus-1.0.so:${PORTSDIR}/textproc/ibus
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/pynotify/_pynotify.so:${PORTSDIR}/devel/py-notify
GNU_CONFIGURE= yes
USES= gettext gmake pkgconfig
USE_PYTHON= yes
USE_GNOME= pygtk2
LOCALBASE_REPLACE_FILES= \
engine/engine.py \
setup/anthyprefs.py \
setup/main.py
INCLUDEDIR_REPLACE_FILES= \
engine/Makefile.am \
engine/Makefile.in
NO_STAGE= yes
post-patch:
cd ${WRKSRC} && \
${REINPLACE_CMD} "s,@@LOCALBASE@@,${LOCALBASE},g" \
${LOCALBASE_REPLACE_FILES} && \
${REINPLACE_CMD} "s,@@INCLUDEDIR@@,${INCLUDEDIR},g" \
${INCLUDEDIR_REPLACE_FILES}
post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD} To display this message again, type ${PKG_INFO} -D ${PKGNAME}
.include <bsd.port.mk>
|