head	1.28;
access;
symbols
	RELEASE_7_4_0:1.27
	RELEASE_8_2_0:1.27
	RELEASE_6_EOL:1.25
	RELEASE_8_1_0:1.22
	RELEASE_7_3_0:1.22
	RELEASE_8_0_0:1.22
	RELEASE_7_2_0:1.20
	RELEASE_7_1_0:1.19
	RELEASE_6_4_0:1.19
	RELEASE_5_EOL:1.18
	RELEASE_7_0_0:1.17
	RELEASE_6_3_0:1.17
	PRE_XORG_7:1.14
	RELEASE_4_EOL:1.14
	RELEASE_6_2_0:1.13
	RELEASE_6_1_0:1.13
	RELEASE_5_5_0:1.13
	RELEASE_6_0_0:1.11
	RELEASE_5_4_0:1.7
	RELEASE_4_11_0:1.3
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.2;
locks; strict;
comment	@# @;


1.28
date	2011.05.01.19.18.20;	author bapt;	state dead;
branches;
next	1.27;

1.27
date	2010.12.22.20.05.40;	author ade;	state Exp;
branches;
next	1.26;

1.26
date	2010.12.04.07.30.36;	author ade;	state Exp;
branches;
next	1.25;

1.25
date	2010.10.16.11.51.48;	author ade;	state Exp;
branches;
next	1.24;

1.24
date	2010.10.07.15.18.51;	author ade;	state Exp;
branches;
next	1.23;

1.23
date	2010.09.15.18.33.58;	author ade;	state Exp;
branches;
next	1.22;

1.22
date	2009.08.08.23.09.00;	author mezz;	state Exp;
branches;
next	1.21;

1.21
date	2009.08.02.19.32.32;	author mezz;	state Exp;
branches;
next	1.20;

1.20
date	2009.01.05.17.27.24;	author pav;	state Exp;
branches;
next	1.19;

1.19
date	2008.08.20.00.56.27;	author ade;	state Exp;
branches;
next	1.18;

1.18
date	2008.04.19.17.47.00;	author miwi;	state Exp;
branches;
next	1.17;

1.17
date	2007.09.30.04.46.37;	author linimon;	state Exp;
branches;
next	1.16;

1.16
date	2007.07.28.06.33.42;	author ade;	state Exp;
branches;
next	1.15;

1.15
date	2007.05.19.20.00.42;	author flz;	state Exp;
branches;
next	1.14;

1.14
date	2006.12.07.09.15.09;	author clsung;	state Exp;
branches;
next	1.13;

1.13
date	2006.02.06.11.56.34;	author barner;	state Exp;
branches;
next	1.12;

1.12
date	2005.11.15.06.48.12;	author ade;	state Exp;
branches;
next	1.11;

1.11
date	2005.05.29.16.06.00;	author daichi;	state Exp;
branches;
next	1.10;

1.10
date	2005.05.24.12.37.43;	author daichi;	state Exp;
branches;
next	1.9;

1.9
date	2005.04.12.03.24.58;	author obrien;	state Exp;
branches;
next	1.8;

1.8
date	2005.04.11.08.01.32;	author obrien;	state Exp;
branches;
next	1.7;

1.7
date	2005.03.25.07.59.07;	author daichi;	state Exp;
branches;
next	1.6;

1.6
date	2005.03.04.11.38.11;	author daichi;	state Exp;
branches;
next	1.5;

1.5
date	2005.02.28.13.52.54;	author daichi;	state Exp;
branches;
next	1.4;

1.4
date	2005.02.28.04.16.56;	author daichi;	state Exp;
branches;
next	1.3;

1.3
date	2004.10.13.22.31.10;	author pav;	state Exp;
branches;
next	1.2;

1.2
date	2004.02.04.05.18.54;	author marcus;	state Exp;
branches;
next	1.1;

1.1
date	2003.12.28.11.41.14;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.28
log
@Removed ports that depends on iiimf expired ports + they are abandonware

japanese/iiimf-le-freewnn
japanese/iiimf-le-canna
chinese/iiimf-le-newpy
korean/iiimf-le-hangul
chinese/iiimf-le-ude
@
text
@# New ports collection makefile for:	iiimf-le-newpy
# Date created:		6 Dec 2003
# Whom:			Kuang-che Wu <kcwu@@csie.org>
#
# $FreeBSD: ports/chinese/iiimf-le-newpy/Makefile,v 1.27 2010/12/22 20:05:40 ade Exp $
#

PORTNAME=	le-newpy
PORTVERSION=	12.2
PORTREVISION=	5
CATEGORIES=	chinese textproc
MASTER_SITES=	http://www.openi18n.org/download/im-sdk/src/
PKGNAMEPREFIX=	iiimf-
DISTNAME=	iiimf-src-${PORTVERSION}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	IIIMF New PinYin input method engine

RUN_DEPENDS=	iiimd:${PORTSDIR}/textproc/iiimf-server

ONLY_FOR_ARCHS=	i386

USE_BZIP2=	yes
USE_GMAKE=	yes
USE_AUTOTOOLS=	automake:env autoconf:env libtool:env
AUTOTOOLSFILES=	Makefile

WRKSRC=		${WRKDIR}/${DISTNAME:S/src-//}
BUILDDIR=	${WRKSRC}/leif

LE_TARGETS=	newpy

.if !defined(WITHOUT_XAUX)
LE_TARGETS+=	newpy/xaux
USE_MOTIF=	yes
CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
PLIST_SUB+=	WANT_XAUX=""
.else
PLIST_SUB+=	WANT_XAUX="@@comment "
.endif

.include <bsd.port.pre.mk>

CFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
CONFIGURE_ENV+=	CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"

post-patch:
	${REINPLACE_CMD} \
		-e "s,%%LOCALBASE%%,${LOCALBASE},g" \
		-e "s,%%PREFIX%%,${PREFIX},g" \
		${WRKSRC}/Makefile ${BUILDDIR}/Makefile.am \
		${BUILDDIR}/newpy/xaux/aux_win.c \
		${BUILDDIR}/newpy/xaux/aux_so.c

do-configure:
.if defined(WITHOUT_XAUX)
	@@cd ${WRKSRC} && \
	 ${REINPLACE_CMD} -e '/^CONFIG_FLAGS =/s,$$, --without-x,' Makefile
.endif
	@@cd ${BUILDDIR} && ${REINPLACE_CMD} \
	 -e "/LE_TARGETS=/s,%%LE_TARGETS%%,${LE_TARGETS}," configure.ac
	@@cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${GMAKE} reconfig
	@@${REINPLACE_CMD} -e "/^ltmain=/!s^\$$ac_aux_dir/ltmain.sh^${LIBTOOLFLAGS} ${LTMAIN}^g" \
			  -e '/^LIBTOOL=/s^\$$(top_builddir)/libtool^${LIBTOOL}^g' \
		${BUILDDIR}/configure
	@@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${GMAKE} config

.include <bsd.port.post.mk>
@


1.27
log
@Sync to final (for now) bsd.autotools.mk
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.26
log
@Sync to new bsd.autotools.mk
@
text
@d26 1
@


1.25
log
@Punt autoconf267->autoconf268
@
text
@d25 1
a25 1
USE_AUTOTOOLS=	automake:111:env autoconf:268:env libtool:22:env
@


1.24
log
@Migration of final set of working ports from automake{19,110} -> 111
@
text
@d25 1
a25 1
USE_AUTOTOOLS=	automake:111:env autoconf:267:env libtool:22:env
@


1.23
log
@Autotools update.   Read ports/UPDATING 20100915 for details.

Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
@
text
@d25 1
a25 1
USE_AUTOTOOLS=	automake:19:env autoconf:267:env libtool:22:env
@


1.22
log
@Fix the build w/ libtool22.

Reported by:	erwin (i386 8-exp)
@
text
@d10 1
a10 1
PORTREVISION=	4
d25 1
a25 1
USE_AUTOTOOLS=	automake:19:env autoconf:262:env libtool:22:env
@


1.21
log
@-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
@
text
@d64 3
@


1.20
log
@- Remove conditional checks relevant only on FreeBSD 5.x and older
@
text
@d25 1
a25 1
USE_AUTOTOOLS=	automake:19:env autoconf:262:env libtool:15:env
@


1.19
log
@Conversion from (now defunct) autoconf-2.61 to autoconf-2.62

Tested by:	exp build run (erwin)
@
text
@a43 4
.if ${OSVERSION} < 503000
IGNORE=	is supported on FreeBSD 5.3 and later only
.endif

@


1.18
log
@- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
@
text
@d25 1
a25 1
USE_AUTOTOOLS=	automake:19:env autoconf:261:env libtool:15:env
@


1.17
log
@Switch autoconf dependencies from 2.53 or 2.59 to 2.61.

PR:		ports/116639
Submitted by:	aDe
@
text
@d35 2
a36 2
CFLAGS+=	-I${X11BASE}/include
LDFLAGS+=	-L${X11BASE}/lib
@


1.16
log
@Update to the autotools new world order.

Tested by:	numerous package build runs
Approved by:	portmgr
Thanks to:	des, kris, linimon, pav
@
text
@d10 1
a10 1
PORTREVISION=	3
d25 1
a25 1
USE_AUTOTOOLS=	automake:19:env autoconf:259:env libtool:15:env
@


1.15
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d10 1
a10 1
PORTREVISION=	2
a25 1
WANT_AUTOHEADER_VER=	259
@


1.14
log
@- maintainer lost his motivation

PR:		ports/104607
Submitted by:	Masanori OZAWA<ozawa_AT_ongs dot co dot jp>
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.13
log
@- Remove USE_REINPLACE
- Fix IGNORE line
- Pacify portlint

Submitted by:	Masanori OZAWA <ozawa@@ongs.co.jp>
PR:		ports/92374
@
text
@d16 1
a16 1
MAINTAINER=	ozawa@@ongs.co.jp
@


1.12
log
@Mass-conversion to the USE_AUTOTOOLS New World Order.  The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
@
text
@a14 1
EXTRACT_SUFX=	.tar.bz2
a23 1
USE_REINPLACE=	yes
d46 1
a46 1
IGNORE=		"It is supported on FreeBSD 5.3 and later"
d51 1
a51 1
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
@


1.11
log
@IIIMF-related ports
  textproc/iiimf-le-unit:
    - fix build fail
    - add libxml2 use
    - remove unneed gtk-check

  iiimf-le-newpy:
    - remove unneed gtk/xlib-check

  iiimf-gnome-im-switcher:
    - fix uninstall problem

Submitted by:	maintainer
Pointed out by:	pointyhat via kris
@
text
@d27 1
a27 1
WANT_AUTOCONF_VER=	259
a28 2
WANT_AUTOMAKE_VER=	19
WANT_LIBTOOL_VER=	15
@


1.10
log
@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
@
text
@d10 1
@


1.9
log
@At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
@
text
@d9 1
a9 2
PORTVERSION=	${IIIMF_VER:S/_/./g:C/-.*//}
PORTREVISION=	2
d13 1
a13 1
DISTNAME=	im-sdk-src-${IIIMF_VER}
d16 1
a16 1
MAINTAINER=	kcwu@@csie.org
d19 3
a21 1
RUN_DEPENDS=	${LOCALBASE}/lib/im/htt:${PORTSDIR}/textproc/iiimf-server
a22 1
IIIMF_VER=	r12_1-svn2002
d26 3
a28 3
USE_AUTOCONF_VER=	259
USE_AUTOHEADER_VER=	259
USE_AUTOMAKE_VER=	19
d31 2
a32 2
AUTOMAKE_ARGS+=		--add-missing
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
d34 1
a34 2
WRKSRC=		${WRKDIR}/${DISTNAME:S/src-//}/leif
PATCH_WRKSRC=	${WRKDIR}/${DISTNAME:S/src-//}
d37 1
a41 1
RUN_DEPENDS+=	${LOCALBASE}/lib/im/csconv/csconv.so:${PORTSDIR}/textproc/iiimf-csconv
a42 1
CONFIGURE_ARGS+=--without-x
a51 4
.if ${ARCH} != "i386"
IGNORE=	"${ARCH} is not support."
.endif

d54 1
a54 5
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}"
d57 16
a72 15
	${REINPLACE_CMD} -e "s,/usr/lib/im,${PREFIX}/lib/im,g" \
		${WRKSRC}/../acfiles/im_common.m4 \
		${WRKSRC}/../lib/CSConv/csconv.h

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}
@


1.8
log
@Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
@
text
@d32 1
a32 1
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
@


1.7
log
@Fixed iiimf-related ports build fail

Submitted by:	Masanori OZAWA <ozawa@@ongs.net>
Approved by:	portmgr(krion)
Pointed out by:	pointyhat via kris
@
text
@d32 1
a32 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.6
log
@IIIMF-related ports some changes:
  - support CFLAGS of /etc/make.conf
  - replace absolute path with ${LOCALBASE}, ${PREFIX} and others
  - replace -pthread flags with ${THREAD*}
  - m17n fixed of gnome-im-swither
  - fixed vid krisbot

Submitted by:	Masanori OZAWA <ozawa@@ongs.co.jp>
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.5
log
@fixed to build IIIMF-related ports on 4-stable

Submitted by:	Masanori OZAWA <ozawa@@ongs.co.jp>
Pointed out by:	gohan via krisbot
@
text
@d10 1
d26 7
a32 5
USE_GNOME=	intltool
WANT_AUTOCONF_VER=253
WANT_AUTOHEADER_VER=253
WANT_AUTOMAKE_VER=15
WANT_LIBTOOL_VER=15
d39 2
d58 3
a60 1
MAKE_ARGS+=	LIBTOOL="${LIBTOOL} --tag=CXX"
d63 2
a64 5
		LIBTOOL=${LIBTOOL} LIBTOOLIZE=${LIBTOOLIZE}
AUTOGEN_ARGS+=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
		CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
		--prefix=${PREFIX} ${CONFIGURE_ARGS}
d72 10
a81 6
	(cd ${WRKSRC}/../ && ${GMAKE} ${UPDATE_ARGS} update-acfiles)
	(cd ${WRKSRC}/../acfiles/ && ${TOUCH} ltconfig)
	(cd ${WRKSRC}/ && ${TOUCH} ltconfig)

do-configure:
	(cd ${WRKSRC}/ && ./autogen.sh ${AUTOGEN_ARGS})
@


1.4
log
@IIIMF-related ports: Update to r12_1-svn2002 and bug fixes

PR:		ports/77927
Submitted by:	Masanori OZAWA <ozawa@@ongs.co.jp>
Approved by:	maintainer
Pointed out by:	ume, nork, hrs
@
text
@d22 1
@


1.3
log
@- Update to r12.0.1

PR:		ports/72621
Submitted by:	Kuang-che Wu <kcwu@@csie.org> (maintainer)
@
text
@d13 2
a14 2
DISTNAME=	im-sdk
DISTFILES=	${DISTNAME}-src-${IIIMF_VER}.tgz
d21 1
a21 4
IIIMF_VER=	r12_0_1-svn1891
WRKSRC=		${WRKDIR}/${DISTNAME}-${IIIMF_VER}/leif
BUILD_WRKSRC=	${WRKSRC}/newpy
INSTALL_WRKSRC=	${WRKSRC}/newpy
d23 9
a31 6
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}
d36 1
a36 1
RUN_DEPENDS+=	${LOCALBASE}/csconv/csconv.so:${PORTSDIR}/textproc/iiimf-csconv
d42 19
d64 1
a64 4
		${WRKSRC}/configure.ac \
		${WRKSRC}/newpy/NewPY.c \
		${WRKSRC}/newpy/xaux/aux_so.c \
		${WRKSRC}/newpy/xaux/aux_win.c
d67 3
a69 3
	cd ${WRKSRC} && ${ACLOCAL} -I ${LOCALBASE}/share/aclocal -I ../acfiles
	${TOUCH} ${WRKSRC}/config.h.in
	cd ${WRKSRC} && ${LIBTOOLIZE} --copy --force --automake
d71 2
a72 7
.if !defined(WITHOUT_XAUX)
post-build:
	cd ${BUILD_WRKSRC}/xaux && ${MAKE} all

post-install:
	cd ${INSTALL_WRKSRC}/xaux && ${MAKE} install
.endif
d74 1
a74 1
.include <bsd.port.mk>
@


1.2
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 2)
@
text
@d8 2
a9 3
PORTNAME=	iiimf-le-newpy
PORTVERSION=	${IIIMF_VER:S/_/./:C/-.*//}
PORTREVISION=	1
d11 2
a12 1
MASTER_SITES=	http://www.openi18n.org/download/docs/im-sdk/
d14 1
a14 1
DISTFILES=	${DISTNAME}.${IIIMF_VER:S/-/./}${EXTRACT_SUFX}
d17 1
a17 1
COMMENT=	Internet/Intranet Input Method Framework language engine newpy
d19 3
a21 1
IIIMF_VER=	r11_4-1467
a24 3
USE_BZIP2=	yes
USE_GMAKE=	yes
INSTALLS_SHLIB=	yes
d26 8
a33 3
HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX}
.if defined(WANT_XAUX)
d36 1
a42 5
	${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
d44 2
d50 6
a55 1
.if defined(WANT_XAUX)
d57 1
a57 1
	cd ${BUILD_WRKSRC}/xaux && ${GMAKE} all
d60 1
a60 1
	cd ${INSTALL_WRKSRC}/xaux && ${GMAKE} install
@


1.1
log
@New port: iiimf-*

	IIIMF stands for Internet/Intranet Input Method Framework.
	IIIMF is designed to be the next generation of input method framework
	which provides the following capabilities;

	* Multiplatform, platform independent.
	* Multlingual and Full UNICODE support, but satisfactory for native speakers.
	* Windowing System Independent.
	* Multiple language engines concurrently run.
	* Multiuser.
	* Distributed, lightweight clients and scalable server.
	* Extensible in multiple means.
	* Input method protocol efficient enough to be used over low-speed modem
	  connection.
	* Easy input method engine development with plugin API.
	* Easy input method enabling with libiiimcf, even on console apps.
	* Small core part to start from.

	WWW: http://www.openi18n.org/subgroups/im/IIIMF/

	- Kuang-che Wu
	  kcwu@@csie.org

PR:		ports/60087
Submitted by:	Kuang-che Wu <kcwu@@csie.org>
@
text
@d10 1
@

