diff options
author | pav <pav@FreeBSD.org> | 2004-10-14 06:31:10 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-10-14 06:31:10 +0800 |
commit | 053b98e40ed4c6cfbc2b0747fe4cc5d0146357bb (patch) | |
tree | 88a65f96112033cb576a7b8ce7f9151c3dd52fc9 /chinese/iiimf-le-newpy/Makefile | |
parent | e870f99f787a2c82ad7009c9058424b466006f28 (diff) | |
download | freebsd-ports-gnome-053b98e40ed4c6cfbc2b0747fe4cc5d0146357bb.tar.gz freebsd-ports-gnome-053b98e40ed4c6cfbc2b0747fe4cc5d0146357bb.tar.zst freebsd-ports-gnome-053b98e40ed4c6cfbc2b0747fe4cc5d0146357bb.zip |
- Update to r12.0.1
PR: ports/72621
Submitted by: Kuang-che Wu <kcwu@csie.org> (maintainer)
Diffstat (limited to 'chinese/iiimf-le-newpy/Makefile')
-rw-r--r-- | chinese/iiimf-le-newpy/Makefile | 49 |
1 files changed, 28 insertions, 21 deletions
diff --git a/chinese/iiimf-le-newpy/Makefile b/chinese/iiimf-le-newpy/Makefile index b66a89a54052..bda6d0243dd2 100644 --- a/chinese/iiimf-le-newpy/Makefile +++ b/chinese/iiimf-le-newpy/Makefile @@ -5,52 +5,59 @@ # $FreeBSD$ # -PORTNAME= iiimf-le-newpy -PORTVERSION= ${IIIMF_VER:S/_/./:C/-.*//} -PORTREVISION= 1 +PORTNAME= le-newpy +PORTVERSION= ${IIIMF_VER:S/_/./g:C/-.*//} CATEGORIES= chinese textproc -MASTER_SITES= http://www.openi18n.org/download/docs/im-sdk/ +MASTER_SITES= http://www.openi18n.org/download/im-sdk/src/ +PKGNAMEPREFIX= iiimf- DISTNAME= im-sdk -DISTFILES= ${DISTNAME}.${IIIMF_VER:S/-/./}${EXTRACT_SUFX} +DISTFILES= ${DISTNAME}-src-${IIIMF_VER}.tgz MAINTAINER= kcwu@csie.org -COMMENT= Internet/Intranet Input Method Framework language engine newpy +COMMENT= IIIMF New PinYin input method engine -IIIMF_VER= r11_4-1467 +RUN_DEPENDS= ${LOCALBASE}/lib/im/htt:${PORTSDIR}/textproc/iiimf-server + +IIIMF_VER= r12_0_1-svn1891 WRKSRC= ${WRKDIR}/${DISTNAME}-${IIIMF_VER}/leif BUILD_WRKSRC= ${WRKSRC}/newpy INSTALL_WRKSRC= ${WRKSRC}/newpy -USE_BZIP2= yes -USE_GMAKE= yes -INSTALLS_SHLIB= yes USE_REINPLACE= yes -HAS_CONFIGURE= yes -CONFIGURE_ARGS= --prefix=${PREFIX} -.if defined(WANT_XAUX) +USE_AUTOCONF_VER= 259 +USE_AUTOHEADER_VER= 259 +USE_AUTOMAKE_VER= 19 +USE_LIBTOOL_VER= 15 +AUTOMAKE_ARGS+= --add-missing --copy --gnu +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} + +.if !defined(WITHOUT_XAUX) USE_MOTIF= yes PLIST_SUB+= WANT_XAUX="" +RUN_DEPENDS+= ${LOCALBASE}/csconv/csconv.so:${PORTSDIR}/textproc/iiimf-csconv .else CONFIGURE_ARGS+=--without-x PLIST_SUB+= WANT_XAUX="@comment " .endif post-patch: - ${REINPLACE_CMD} -e "s,-lpthread,-pthread,g" \ - -e "s,-D_POSIX_C_SOURCE=199506L,,g" \ - -e "s,has_xiccallback=no,has_xiccallback=yes,g" \ - -e "s,/usr/lib/im,${PREFIX}/lib/im,g" \ - ${WRKSRC}/configure ${REINPLACE_CMD} -e "s,/usr/lib/im,${PREFIX}/lib/im,g" \ + ${WRKSRC}/../acfiles/im_common.m4 \ + ${WRKSRC}/configure.ac \ ${WRKSRC}/newpy/NewPY.c \ ${WRKSRC}/newpy/xaux/aux_so.c \ ${WRKSRC}/newpy/xaux/aux_win.c -.if defined(WANT_XAUX) +pre-configure: + cd ${WRKSRC} && ${ACLOCAL} -I ${LOCALBASE}/share/aclocal -I ../acfiles + ${TOUCH} ${WRKSRC}/config.h.in + cd ${WRKSRC} && ${LIBTOOLIZE} --copy --force --automake + +.if !defined(WITHOUT_XAUX) post-build: - cd ${BUILD_WRKSRC}/xaux && ${GMAKE} all + cd ${BUILD_WRKSRC}/xaux && ${MAKE} all post-install: - cd ${INSTALL_WRKSRC}/xaux && ${GMAKE} install + cd ${INSTALL_WRKSRC}/xaux && ${MAKE} install .endif .include <bsd.port.mk> |