summaryrefslogtreecommitdiffstats
path: root/chinese/iiimf-le-xcin/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-10-13 23:09:44 +0000
committerpav <pav@FreeBSD.org>2004-10-13 23:09:44 +0000
commit5403dbed08a8dd2f4950513843bfcc3f527173c3 (patch)
tree4a6676d259deb7005ebe29e1c41483ad78a19da0 /chinese/iiimf-le-xcin/Makefile
parentdc4c11c06f4c159f714bc3f9e357dc99295992d7 (diff)
downloadFreeBSD-ports-5403dbed08a8dd2f4950513843bfcc3f527173c3.zip
FreeBSD-ports-5403dbed08a8dd2f4950513843bfcc3f527173c3.tar.gz
Add iiimf-le-xcin, a IIIMF language engine which ported from a popular
traditional chinese input method, xcin, which was written using XIM protocol. PR: ports/72627 Submitted by: Kuang-che Wu <kcwu@csie.org> Dedicated to: Mavvie (vaccinating!)
Diffstat (limited to 'chinese/iiimf-le-xcin/Makefile')
-rw-r--r--chinese/iiimf-le-xcin/Makefile51
1 files changed, 51 insertions, 0 deletions
diff --git a/chinese/iiimf-le-xcin/Makefile b/chinese/iiimf-le-xcin/Makefile
new file mode 100644
index 0000000..d822130
--- /dev/null
+++ b/chinese/iiimf-le-xcin/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: iiimf-le-xcin
+# Date created: 2004-09-09
+# Whom: Kuang-che Wu <kcwu@csie.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= iiimf-le-xcin
+PORTVERSION= 0.1.7
+CATEGORIES= chinese textproc
+MASTER_SITES= http://people.redhat.com/llch/iiimf-xcin/
+EXTRACT_SUFX= -2.src.rpm
+
+MAINTAINER= kcwu@csie.org
+COMMENT= IIIMF xcin language engine, a traditional Chinese input method
+
+EXTRACT_DEPENDS= rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
+RUN_DEPENDS= ${LOCALBASE}/lib/im/htt:${PORTSDIR}/textproc/iiimf-server
+
+WRKSRC= ${WRKDIR}/iiimf-xcin
+USE_BZIP2= yes
+USE_XLIB= yes
+USE_GNOME= libxml2
+USE_REINPLACE= yes
+USE_AUTOCONF_VER= 259
+USE_AUTOHEADER_VER= 259
+AUTOMAKE_ARGS= --add-missing
+USE_AUTOMAKE_VER= 19
+USE_LIBTOOL_VER= 15
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
+do-extract:
+ ${MKDIR} ${WRKDIR}
+ cd ${WRKDIR} && \
+ ${LOCALBASE}/bin/rpm2cpio.pl ${DISTDIR}/${DISTFILES} | \
+ ${CPIO} -iud
+ cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
+ ${WRKDIR}/${DISTNAME}.tar.bz2 ${EXTRACT_AFTER_ARGS}
+
+post-patch:
+ ${REINPLACE_CMD} -e "s,/usr/lib/im,${PREFIX}/lib/im,g" \
+ ${WRKSRC}/acfiles/im_common.m4 \
+ ${WRKSRC}/src/cin2tab/constant.h \
+ ${WRKSRC}/src/xcin.c \
+ ${WRKSRC}/src/xmlconf.c \
+ ${WRKSRC}/xcin.xml.conf
+
+pre-configure:
+ cd ${WRKSRC} && ${ACLOCAL} -I ${LOCALBASE}/share/aclocal -I acfiles
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud