aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/iiimf-le-ude/Makefile
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2005-05-24 20:37:50 +0800
committerdaichi <daichi@FreeBSD.org>2005-05-24 20:37:50 +0800
commit2fc57c4b8b6311308d0cd7c060698ffba5fdeb98 (patch)
tree37dac9da04b94e927a5886af6f57c1828f27f13b /chinese/iiimf-le-ude/Makefile
parent834341d742892c8f5d7d774127f637922888c5ce (diff)
downloadfreebsd-ports-gnome-2fc57c4b8b6311308d0cd7c060698ffba5fdeb98.tar.gz
freebsd-ports-gnome-2fc57c4b8b6311308d0cd7c060698ffba5fdeb98.tar.zst
freebsd-ports-gnome-2fc57c4b8b6311308d0cd7c060698ffba5fdeb98.zip
IIIMF-related ports:
- drop maintainership - update to r12.2 - some bug fixes PR: 81184 Submitted by: Masanori OZAWA <ozawa@ongs.co.jp> Approved by: maintainer
Diffstat (limited to 'chinese/iiimf-le-ude/Makefile')
-rw-r--r--chinese/iiimf-le-ude/Makefile60
1 files changed, 26 insertions, 34 deletions
diff --git a/chinese/iiimf-le-ude/Makefile b/chinese/iiimf-le-ude/Makefile
index 97a73d62a9d8..05048bf2d9d3 100644
--- a/chinese/iiimf-le-ude/Makefile
+++ b/chinese/iiimf-le-ude/Makefile
@@ -6,58 +6,50 @@
#
PORTNAME= le-ude
-PORTVERSION= ${IIIMF_VER:S/_/./g:C/-.*//}
-PORTREVISION= 2
+PORTVERSION= 12.2
CATEGORIES= chinese textproc
MASTER_SITES= http://www.openi18n.org/download/im-sdk/src/
PKGNAMEPREFIX= iiimf-
-DISTNAME= im-sdk-src-${IIIMF_VER}
+DISTNAME= iiimf-src-${PORTVERSION}
EXTRACT_SUFX= .tar.bz2
-MAINTAINER= kcwu@csie.org
+MAINTAINER= ozawa@ongs.co.jp
COMMENT= IIIMF User Defined language Engine for Simplified Chinese conversion
-RUN_DEPENDS= ${LOCALBASE}/lib/im/htt:${PORTSDIR}/textproc/iiimf-server
+RUN_DEPENDS= iiimd:${PORTSDIR}/textproc/iiimf-server
+
+ONLY_FOR_ARCHS= i386
-IIIMF_VER= r12_1-svn2002
USE_BZIP2= yes
USE_REINPLACE= yes
USE_GMAKE= yes
-USE_AUTOCONF_VER= 259
-USE_AUTOHEADER_VER= 259
-USE_AUTOMAKE_VER= 19
+WANT_AUTOCONF_VER= 259
+WANT_AUTOHEADER_VER= 259
+WANT_AUTOMAKE_VER= 19
WANT_LIBTOOL_VER= 15
-AUTOMAKE_ARGS+= --add-missing
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//}
+BUILDDIR= ${WRKSRC}/leif
+
+.include <bsd.port.pre.mk>
-WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//}/leif
-BUILD_WRKSRC= ${WRKSRC}/ude
-INSTALL_WRKSRC= ${WRKSRC}/ude
-PATCH_WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//}
+.if ${OSVERSION} < 503000
+IGNORE= It is supported on FreeBSD 5.3 and later.
+.endif
CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
-UPDATE_ARGS+= ACLOCAL=${ACLOCAL} AUTOMAKE=${AUTOMAKE} \
- AUTOHEADER=${AUTOHEADER} AUTOCONF=${AUTOCONF} \
- LIBTOOL=${LIBTOOL} LIBTOOLIZE=${LIBTOOLIZE} \
- ACLOCAL_DIR="-I ${LOCALBASE}/share/aclocal -I ${ACLOCAL_DIR}"
+CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
post-patch:
- ${REINPLACE_CMD} -e "s,/usr/lib/im,${PREFIX}/lib/im,g" \
- ${WRKSRC}/../acfiles/im_common.m4
+ ${REINPLACE_CMD} \
+ -e "s,%%LOCALBASE%%,${LOCALBASE},g" \
+ -e "s,%%PREFIX%%,${PREFIX},g" \
+ ${WRKSRC}/Makefile ${BUILDDIR}/Makefile.am \
+ ${BUILDDIR}/ude/UDEngine.c
pre-configure:
- @cd ${WRKSRC}/../ && ${GMAKE} ${UPDATE_ARGS} update-acfiles
- @cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${LIBTOOLIZE} --force --copy
- @cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL} \
- -I ../acfiles -I ${LOCALBASE}/share/aclocal -I ${ACLOCAL_DIR}
- @cd ${WRKSRC} && ${REINPLACE_CMD} \
- -e "s^\$$ac_aux_dir/ltconfig^${LTCONFIG}^g" \
- -e "/^ltmain=/!s^\$$ac_aux_dir/ltmain.sh^${LIBTOOLFLAGS} ${LTMAIN}^g" \
- -e '/^LIBTOOL=/s^\$$(top_builddir)/libtool^${LIBTOOL}^g' \
- ${LIBTOOLFILES}
- @cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTOHEADER}
-
-.include <bsd.port.mk>
+ @cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${GMAKE} reconfig
+ @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${GMAKE} config
+
+.include <bsd.port.post.mk>