aboutsummaryrefslogtreecommitdiff
path: root/chinese/oxim/Makefile
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2006-04-23 02:04:17 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2006-04-23 02:04:17 +0000
commit5820fe3700d16f8a1302fe1d8ed13e0f0e5537d5 (patch)
tree45718a6a2ce458831a540044e194b357a497a328 /chinese/oxim/Makefile
parent81c347ca491e142a31242d644d4d5b5486d9bfba (diff)
downloadports-5820fe3700d16f8a1302fe1d8ed13e0f0e5537d5.tar.gz
ports-5820fe3700d16f8a1302fe1d8ed13e0f0e5537d5.zip
Notes
Diffstat (limited to 'chinese/oxim/Makefile')
-rw-r--r--chinese/oxim/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/chinese/oxim/Makefile b/chinese/oxim/Makefile
index c4bd4a9a7326..ca664c5e6695 100644
--- a/chinese/oxim/Makefile
+++ b/chinese/oxim/Makefile
@@ -6,17 +6,18 @@
#
PORTNAME= oxim
-PORTVERSION= 1.0.1
+PORTVERSION= 1.0.2
CATEGORIES= chinese textproc
-MASTER_SITES= ftp://140.111.128.66/odp/OXIM/Source/
+MASTER_SITES= ftp://apt.nc.hcc.edu.tw/pub/mirror/opendesktop.org.tw/OXIM/Source/ \
+ ftp://140.111.128.66/odp/OXIM/Source/
MAINTAINER= rafan@infor.org
COMMENT= Open X Input Method server
# make sure we have the required libchewing
LIB_DEPENDS= Xft.2:${PORTSDIR}/x11-fonts/libXft
-BUILD_DEPENDS= zh-libchewing>=0.2.7:${PORTSDIR}/chinese/libchewing
-RUN_DEPENDS= zh-libchewing>=0.2.7:${PORTSDIR}/chinese/libchewing \
+BUILD_DEPENDS= zh-libchewing>=0.2.6:${PORTSDIR}/chinese/libchewing
+RUN_DEPENDS= zh-libchewing>=0.2.6:${PORTSDIR}/chinese/libchewing \
zh-fireflyttf>=0:${PORTSDIR}/chinese/fireflyttf
OPTIONS= GTK2 "Enable GTK2 input method module" On
@@ -62,6 +63,9 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
post-patch:
${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|' \
${WRKSRC}/src/gtk-immodule/gtkintl.h
+ ${REINPLACE_CMD} 's|^(defint|(define|' \
+ ${WRKSRC}/etc/oxim.conf.in
+
post-install:
.if !defined(WITHOUT_GTK2)
@gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules