head	1.20;
access;
symbols
	RELEASE_4_2_0:1.13
	RELEASE_4_1_1:1.13
	RELEASE_4_1_0:1.13
	RELEASE_3_5_0:1.13
	RELEASE_4_0_0:1.12
	RELEASE_3_4_0:1.11
	RELEASE_3_3_0:1.10
	RELEASE_3_2_0:1.9
	RELEASE_3_1_0:1.9
	RELEASE_2_2_8:1.8
	RELEASE_3_0_0:1.7
	RELEASE_2_2_7:1.6
	RELEASE_2_2_6:1.6
	xcin_2_3_01:1.1.1.1
	YSSU:1.1.1;
locks; strict;
comment	@# @;


1.20
date	2007.01.17.06.29.59;	author rafan;	state dead;
branches;
next	1.19;

1.19
date	2006.12.23.02.29.25;	author rafan;	state Exp;
branches;
next	1.18;

1.18
date	2006.12.17.15.32.32;	author gabor;	state Exp;
branches;
next	1.17;

1.17
date	2006.11.05.14.56.55;	author rafan;	state Exp;
branches;
next	1.16;

1.16
date	2006.11.05.10.24.01;	author rafan;	state Exp;
branches;
next	1.15;

1.15
date	2001.03.01.18.21.58;	author clive;	state dead;
branches;
next	1.14;

1.14
date	2001.02.27.09.48.28;	author clive;	state Exp;
branches;
next	1.13;

1.13
date	2000.04.13.08.28.21;	author asami;	state Exp;
branches;
next	1.12;

1.12
date	2000.02.27.03.49.31;	author vanilla;	state Exp;
branches;
next	1.11;

1.11
date	99.10.23.02.54.00;	author vanilla;	state Exp;
branches;
next	1.10;

1.10
date	99.08.25.04.58.03;	author obrien;	state Exp;
branches;
next	1.9;

1.9
date	99.01.17.07.31.06;	author vanilla;	state Exp;
branches;
next	1.8;

1.8
date	98.11.23.12.44.04;	author vanilla;	state Exp;
branches;
next	1.7;

1.7
date	98.08.05.09.30.47;	author asami;	state Exp;
branches;
next	1.6;

1.6
date	98.03.09.07.07.17;	author vanilla;	state Exp;
branches;
next	1.5;

1.5
date	98.03.03.07.49.50;	author asami;	state Exp;
branches;
next	1.4;

1.4
date	98.02.13.17.26.10;	author vanilla;	state Exp;
branches;
next	1.3;

1.3
date	97.12.19.19.29.30;	author vanilla;	state Exp;
branches;
next	1.2;

1.2
date	97.12.17.04.32.09;	author vanilla;	state Exp;
branches;
next	1.1;

1.1
date	97.12.15.17.57.48;	author vanilla;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.12.15.17.57.48;	author vanilla;	state Exp;
branches;
next	;


desc
@@


1.20
log
@xcin development stops 14 months ago. People are encouraged to use
oxim/gcin/scim as input method.

Please refer to the following url for detail:

http://lists.linux.org.tw/pipermail/xcin/2005-November/004300.html

2007-01-16 chinese/xcin: dead project
@
text
@# New ports collection makefile for:	xcin
# Date created:		18 Oct 1999
# Whom:			Keith Jang <keith@@FreeBSD.org>
#
# $FreeBSD: ports/chinese/xcin/Makefile,v 1.19 2006/12/23 02:29:25 rafan Exp $
#

PORTNAME=	xcin
PORTVERSION=	2.5.3.p2
PORTREVISION=	7
CATEGORIES=	chinese x11
MASTER_SITES=	ftp://ftp.linux.org.tw/pub/xcin/xcin/ \
		ftp://ftp.linux.org.tw/pub/xcin/xcin/devel/ \
		LOCAL/rafan
DISTNAME=	${PORTNAME}-${PORTVERSION:S/p/pre/}
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} chewing-2002Jan07-snapshot.tar.gz

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Chinese input method server under X

LIB_DEPENDS=	tabe.3:${PORTSDIR}/chinese/libtabe
RUN_DEPENDS=	${X11BASE}/lib/X11/fonts/local/kc15f.pcf.gz:${PORTSDIR}/chinese/kcfonts

DEPRECATED=	dead project, see http://lists.linux.org.tw/pipermail/xcin/2005-November/004300.html
EXPIRATION_DATE=	2007-01-16

WRKSRC=		${WRKDIR}/xcin
USE_BDB=	yes
OBSOLETE_BDB_VAR=	USE_DB2
USE_GETTEXT=	yes
USE_ICONV=	yes
USE_XLIB=	yes
GNU_CONFIGURE=	yes
INSTALLS_SHLIB=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX} \
		--x-libraries=${X11BASE}/lib \
		--with-xcin-dir=${PREFIX}/lib/xcin \
		--with-db-name=${BDB_LIB_NAME} \
		--with-db-inc=${BDB_INCLUDE_DIR} \
		--with-db-lib=${BDB_LIB_DIR} \
		--with-tabe-inc=${LOCALBASE}/include/tabe \
		--with-tabe-lib=${LOCALBASE}/lib \
		--with-intl-inc=${LOCALBASE}/include \
		--with-intl-lib=${LOCALBASE}/lib \
		--with-iconv-inc=${LOCALBASE}/include \
		--with-iconv-lib=${LOCALBASE}/lib

MAN1=		xcin.1

.include <bsd.port.pre.mk>

pre-everything::
.if defined(WITH_BDB_VER)
	@@${ECHO_CMD} ""
	@@${ECHO_CMD} "WARNING:"
	@@${ECHO_CMD} "	You have defined WITH_BDB_VER. Make sure you use the same"
	@@${ECHO_CMD} "	db version that libtabe uses. Otherwise, this port may"
	@@${ECHO_CMD} "	not work correctly."
	@@${ECHO_CMD} ""
.endif

post-extract:
	${MV} ${WRKDIR}/chewing ${WRKSRC}/src/Cinput

post-patch:
	@@cd ${WRKSRC}/src/Cinput/chewing; ${SH} ./patch_chewing
	${REINPLACE_CMD} -e "s,@@euc,@@euccn,g" \
		-e "s,@@gb2312,@@euccn,g" \
		${WRKSRC}/etc/xcinrc.FREEBSD
	${REINPLACE_CMD} -e "s,euc ,euccn ,g" \
		${WRKSRC}/cin/gb/Makefile.in

post-install:
	${LN} -fs ${PREFIX}/bin/xcin2.5 ${PREFIX}/bin/xcin
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for DOC in Bugs COPYING CREDITS Changes Cin CopyRight FAQ README \
		SETUP Todo Usage UserGuide
	${INSTALL_DATA} ${WRKSRC}/doc/${DOC} ${DOCSDIR}
.endfor
	${MKDIR} ${DOCSDIR}/En
	${MKDIR} ${DOCSDIR}/En/internal
.for En in README.En SETUP.En Usage.En UserGuide.En
	${INSTALL_DATA} ${WRKSRC}/doc/En/${En} ${DOCSDIR}/En
.endfor
.for Eninternal in module.En structer.En
	${INSTALL_DATA} ${WRKSRC}/doc/En/internal/${Eninternal} ${DOCSDIR}/En/internal
.endfor
	${MKDIR} ${DOCSDIR}/history
	${INSTALL_DATA} ${WRKSRC}/doc/history/Changes-19991011 \
		${DOCSDIR}/history
	${MKDIR} ${DOCSDIR}/internal
.for INTERNAL in IMdkit gen_inp gui_request module structer
	${INSTALL_DATA} ${WRKSRC}/doc/internal/${INTERNAL} \
		${DOCSDIR}/internal
.endfor
	${MKDIR} ${DOCSDIR}/modules
.for MODULES in bimsphone gen_inp im_comm zh_hex
	${INSTALL_DATA} ${WRKSRC}/doc/modules/${MODULES} \
		${DOCSDIR}/modules
.endfor
.endif

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


1.19
log
@- Point DEPRECATED to the announce mail on xcin mailing. So users will
  know what happened on xcin. As a side note, users are encouraged to
  use gcin/oxim/scim instead.
- Point WWW in to the archive xcin project page
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.18
log
@- Deprecate
- Set EXPIRATION_DATE

Approved by:	erwin (mentor)
@
text
@d24 1
a24 1
DEPRECATED=	distfile and homepage disappeared
@


1.17
log
@- Move to LOCALBASE
- Add a bin/xcin link for bin/xcin2.5
@
text
@d24 3
@


1.16
log
@- Move chinese/xcin25 to chinese/xcin to reflect its real portname.

Please note that this is not a repo-copied directory due to we had
chinese/xcin before. So, I just add all files from chinese/xcin25.
For the record, the revisions are:

1.64    ports/chinese/xcin25/Makefile
1.22    ports/chinese/xcin25/distinfo
1.4     ports/chinese/xcin25/pkg-descr
1.19    ports/chinese/xcin25/pkg-plist
1.9     ports/chinese/xcin25/files/patch-aa
1.4     ports/chinese/xcin25/files/patch-ad
1.1     ports/chinese/xcin25/files/patch-ah
1.1     ports/chinese/xcin25/files/patch-chewing::sort_word.c
1.1     ports/chinese/xcin25/files/patch-configure
1.1     ports/chinese/xcin25/files/patch-gen_inp.c
1.1     ports/chinese/xcin25/files/patch-gui_main.c
1.2     ports/chinese/xcin25/files/patch-xcinrc.FREEBSD
@
text
@d1 1
a1 1
# New ports collection makefile for:	xcin25
d10 1
a10 1
PORTREVISION=	6
d29 1
a29 1
USE_X_PREFIX=	yes
d34 1
a34 1
		--with-xcin-dir=${PREFIX}/lib/X11/xcin25 \
d71 1
d73 1
a73 1
	${MKDIR} ${PREFIX}/lib/X11/xcin25/doc
d76 1
a76 1
	${INSTALL_DATA} ${WRKSRC}/doc/${DOC} ${PREFIX}/lib/X11/xcin25/doc
d78 2
a79 2
	${MKDIR} ${PREFIX}/lib/X11/xcin25/doc/En
	${MKDIR} ${PREFIX}/lib/X11/xcin25/doc/En/internal
d81 1
a81 1
	${INSTALL_DATA} ${WRKSRC}/doc/En/${En} ${PREFIX}/lib/X11/xcin25/doc/En
d84 1
a84 1
	${INSTALL_DATA} ${WRKSRC}/doc/En/internal/${Eninternal} ${PREFIX}/lib/X11/xcin25/doc/En/internal
d86 1
a86 1
	${MKDIR} ${PREFIX}/lib/X11/xcin25/doc/history
d88 2
a89 2
		${PREFIX}/lib/X11/xcin25/doc/history
	${MKDIR} ${PREFIX}/lib/X11/xcin25/doc/internal
d92 1
a92 1
		${PREFIX}/lib/X11/xcin25/doc/internal
d94 1
a94 1
	${MKDIR} ${PREFIX}/lib/X11/xcin25/doc/modules
d97 1
a97 1
		${PREFIX}/lib/X11/xcin25/doc/modules
@


1.15
log
@Say bye-bye to chinese/aterm, chinese/xa+cv, chinese/xcin.

Thanks for serving Chinese people for such a long time, it's time
to retire.

Reason for aterm retiring: chinese/rxvt-* and chinese/crxvt

Reason for xcin and xa+cv retiring: Now most favored X applications,
                                    like gtk12 based or QT based even
				    motif based, could just work happily
				    with xcin25, chinput and chinput2.

For people who wants to know what's aterm, xa+cv, and xcin, here's
brief introduction for remembrance:

Aterm and xcin use their own protocol to input Chinese (big5 actually)
words. Xa+cv is a hacky wrapper for X applications to hook "xcin protocol."
@
text
@d1 3
a3 3
# New ports collection makefile for:	xcin
# Date created:		Nov 28 ,1997
# Whom:			Yen-Shuo Su <yssu@@CCCA.NCTU.edu.tw>
d5 1
a5 1
# $FreeBSD: ports/chinese/xcin/Makefile,v 1.14 2001/02/27 09:48:28 clive Exp $
d9 8
a16 6
PORTVERSION=	2.3.04.3
CATEGORIES=	chinese
MASTER_SITES=	ftp://xcin.linux.org.tw/pub/xcin/xcin/old/ \
		ftp://ftp.ncu.edu.tw/OS/Linux/Chinese/xcin/xcin/ \
		ftp://linux.cis.nctu.edu.tw/packages/chinese/X/xcin/xcin/
DISTNAME=	xcin-2.3.04-3
d18 2
a19 1
MAINTAINER=	yssu@@CCCA.NCTU.edu.tw
d21 1
d24 5
a28 3
BROKEN=		"Non-I18N-aware old-fashioned application no more supported"

NO_LATEST_LINK=	yes
d30 69
a98 5
USE_GMAKE=	yes
HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix="${X11BASE}" --os=FreeBSD --no-menu

MAN1=		xcin.1 cin2tab.1
d100 1
a100 1
.include <bsd.port.mk>
@


1.14
log
@Mark as broken by this reason:

"Non-I18N-aware old-fashioned application no more supported"

They will retire before 4.3 ports freeze.

Discussed/Approved by: vanilla, foxfair, kevlo, keith, ijliao
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/xcin/Makefile,v 1.13 2000/04/13 08:28:21 asami Exp $
@


1.13
log
@Convert to PORTNAME/PORTVERSION.

Anomalies found:
 - autoconvert was missing "zh-" in front of PKGNAME
 - xcin (both 2.3 and 2.5) had invalid version strings
 - neither of xcin ports had NO_LATEST_LINK
 - telnet8-1.0 thinks PKGNAME is zh-telnet-1.0

Fixed all except the last (I wasn't sure if it was intentional).
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/xcin/Makefile,v 1.12 2000/02/27 03:49:31 vanilla Exp $
d19 2
@


1.12
log
@Upgrade to 2.3.04-3
@
text
@a1 1
# Version required:	xcin-2.3.03
d5 1
a5 1
# $FreeBSD: ports/chinese/xcin/Makefile,v 1.11 1999/10/23 02:54:00 vanilla Exp $
d8 2
a9 2
DISTNAME=	xcin-2.3.04-3
PKGNAME=	zh-xcin-2.3.04-3
d14 1
d20 1
@


1.11
log
@Correct distfiles' location

PR:		ports/14453
Submitted by:	maintainer
@
text
@d6 1
a6 1
# $FreeBSD: ports/chinese/xcin/Makefile,v 1.10 1999/08/25 04:58:03 obrien Exp $
d9 2
a10 2
DISTNAME=	xcin-2.3.03
PKGNAME=	zh-xcin-2.3.03
d21 1
@


1.10
log
@Change Id->FreeBSD.
@
text
@d6 1
a6 1
# $FreeBSD$
d12 1
a12 1
MASTER_SITES=	ftp://xcin.linux.org.tw/pub/xcin/xcin/ \
@


1.9
log
@Upgrade to 2.3.03.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.8 1998/11/23 12:44:04 vanilla Exp $
@


1.8
log
@We put kcfont on lib/X11/fonts/local now.
@
text
@d2 1
a2 1
# Version required:	xcin-2.3.02
d6 1
a6 1
# $Id: Makefile,v 1.7 1998/08/05 09:30:47 asami Exp $
d9 6
a14 6
DISTNAME=       xcin-2.3.02
PKGNAME=        zh-xcin-2.3.02
CATEGORIES=	chinese x11
MASTER_SITES=	http://www.freebsd.org/~vanilla/ \
		ftp://ftp.ncu.edu.tw/OS/linux/chinese/xcin/ \
		ftp://linux.cis.nctu.edu.tw/packages/chinese/xcin/
d16 1
a16 1
MAINTAINER=     yssu@@CCCA.NCTU.edu.tw
d22 1
a22 3
CONFIGURE_ARGS	=-prefix="${X11BASE}" \
		-x-font-prefix="${X11BASE}/lib/X11/fonts"
MAN1=		xcin.1 crxvt.1 cin2tab.1
d24 1
a24 9
.if defined(USE_24_FONT)
CONFIGURE_ARGS+=-use-24-fonts
.else
pre-fetch:
	@@echo
	@@echo You can set USE_24_FONT=YES if you want to use 24 fonts
	@@echo as default when xcin is running.
	@@echo
.endif
@


1.7
log
@Rename all USE_X11 to USE_X_PREFIX.  Requires 1.279 (3.0-current) or
1.227.2.41 (2.2-stable) of bsd.port.mk for this to be interpreted
correctly.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.6 1998/03/09 07:07:17 vanilla Exp $
d18 1
a18 1
RUN_DEPENDS=	${X11BASE}/lib/X11/fonts/chinese/kc15f.pcf.gz:${PORTSDIR}/chinese/kcfonts
@


1.6
log
@I put a copy on my page, and remove BROKEN tag.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.5 1998/03/03 07:49:50 asami Exp $
d20 1
a20 1
USE_X11=	yes
@


1.5
log
@Mark this port broken, can't fetch.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.4 1998/02/13 17:26:10 vanilla Exp $
d12 2
a13 1
MASTER_SITES=   ftp://ftp.ncu.edu.tw/OS/linux/chinese/xcin/ \
a18 2

BROKEN=		fetch
@


1.4
log
@Upgrade to 2.3.02.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.3 1997/12/19 19:29:30 vanilla Exp $
d18 2
@


1.3
log
@Make it compatible with zh-kcfonts, and enable crxvt.
@
text
@d2 1
a2 1
# Version required:	xcin-2.3.01
d6 1
a6 1
# $Id: Makefile,v 1.2 1997/12/17 04:32:09 vanilla Exp $
d9 2
a10 2
DISTNAME=       xcin-2.3.01
PKGNAME=        zh-xcin-2.3.01
@


1.2
log
@fix some rules problems.
Reviewed by:	asami
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1997/12/15 17:57:48 vanilla Exp $
d17 1
a17 1
RUN_DEPENDS=	${X11BASE}/lib/X11/fonts/chinese/kc15.pcf.gz:${PORTSDIR}/chinese/kcfonts
d23 1
a23 1
MAN1=		xcin.1 cin2tab.1
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id$
d21 1
a21 1
CONFIGURE_ARGS+=-prefix="${X11BASE}" \
d25 3
a27 1
.if !defined(USE_24_FONT)
a32 3
.else
pre-configure:
CONFIGURE_ARGS+=-use-24-fonts
@


1.1.1.1
log
@xcin is a chinese input program.
PR:		ports/5164
Submitted by:	Yen-Shuo SU <yssu@@CCCA.Nctu.edu.tw>
@
text
@@
