head	1.13;
access;
symbols
	RELEASE_8_3_0:1.11
	RELEASE_9_0_0:1.11
	RELEASE_7_4_0:1.9
	RELEASE_8_2_0:1.9
	RELEASE_6_EOL:1.9
	RELEASE_8_1_0:1.9
	RELEASE_7_3_0:1.8
	RELEASE_8_0_0:1.7
	RELEASE_7_2_0:1.7
	RELEASE_7_1_0:1.7
	RELEASE_6_4_0:1.7
	RELEASE_5_EOL:1.6
	RELEASE_7_0_0:1.4
	RELEASE_6_3_0:1.4
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1;
locks; strict;
comment	@# @;


1.13
date	2012.11.17.05.54.55;	author svnexp;	state Exp;
branches;
next	1.12;

1.12
date	2012.06.29.12.42.01;	author bapt;	state Exp;
branches;
next	1.11;

1.11
date	2011.10.06.23.20.24;	author delphij;	state Exp;
branches;
next	1.10;

1.10
date	2011.08.02.17.03.51;	author bapt;	state Exp;
branches;
next	1.9;

1.9
date	2010.03.28.06.31.49;	author dinoex;	state Exp;
branches;
next	1.8;

1.8
date	2010.02.05.11.34.44;	author dinoex;	state Exp;
branches;
next	1.7;

1.7
date	2008.06.06.13.14.34;	author edwin;	state Exp;
branches;
next	1.6;

1.6
date	2008.04.19.17.46.58;	author miwi;	state Exp;
branches;
next	1.5;

1.5
date	2008.03.02.08.25.04;	author linimon;	state Exp;
branches;
next	1.4;

1.4
date	2007.07.05.07.21.20;	author beech;	state Exp;
branches;
next	1.3;

1.3
date	2007.06.01.09.31.29;	author clsung;	state Exp;
branches;
next	1.2;

1.2
date	2007.05.19.20.00.39;	author flz;	state Exp;
branches;
next	1.1;

1.1
date	2006.06.03.17.16.48;	author clive;	state Exp;
branches;
next	;


desc
@@


1.13
log
@Switch exporter over
@
text
@# New ports collection makefile for:	zh-auto-cn-l10n
# Date created:		12 May 2006
# Whom:			Yinghong Liu <relaxbsd@@gmail.com>
#
# $FreeBSD: head/chinese/auto-cn-l10n/Makefile 300895 2012-07-14 12:56:14Z beat $

PORTNAME=	auto-cn-l10n
PORTVERSION=	1.1
PORTREVISION=	3
CATEGORIES=	chinese
#MASTER_SITES=	ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/
MASTER_SITES=	${MASTER_SITE_LOCAL:S/%SUBDIR%/delphij/}
DISTNAME=	zh-${PORTNAME}-${PORTVERSION}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	The automatic localization for Simplified Chinese zh_CN.eucCN locale

NO_BUILD=	yes
PKGMESSAGE=	${WRKDIR}/pkg-message
REINPLACE_ARGS=	-i ""

OPTIONS_DEFINE=	WQY FIREFLYTTF FCITX SCIM MINICHINPUT RELAXCONF
OPTIONS_DEFAULT=	WQY SCIM RELAXCONF
WQY_DESC=		WenQuanYi Bitmap Song Font
FIREFLYTTF_DESC=	Firefly TrueType Font
FCITX_DESC=		GBK Chinese XIM server
SCIM_DESC=		Smart Common Input Method platform
MINICHINPUT_DESC=	A tiny version of Chinput
RELAXCONF_DESC=		A set of utilities for FreeBSD LiveCD

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MWQY}
RUN_DEPENDS+=	${LOCALBASE}/lib/X11/fonts/wqy/wenquanyi_10pt.pcf:${PORTSDIR}/x11-fonts/wqy
.endif

.if ${PORT_OPTIONS:MFIREFLYTTF}
RUN_DEPENDS+=	${LOCALBASE}/share/fonts/TrueType/fireflysung.ttf:${PORTSDIR}/chinese/fireflyttf
.endif

.if ${PORT_OPTIONS:MFCITX}
RUN_DEPENDS+=	fcitx:${PORTSDIR}/chinese/fcitx
.endif

.if ${PORT_OPTIONS:MSCIM}
RUN_DEPENDS+=	${LOCALBASE}/share/scim/tables/Wubi.bin:${PORTSDIR}/chinese/scim-tables
RUN_DEPENDS+=	${LOCALBASE}/lib/scim-1.0/1.4.0/IMEngine/pinyin.so:${PORTSDIR}/chinese/scim-pinyin
.endif

.if ${PORT_OPTIONS:MMINICHINPUT}
RUN_DEPENDS+=	chinput:${PORTSDIR}/chinese/miniChinput
.endif

.if ${PORT_OPTIONS:MRELAXCONF}
RUN_DEPENDS+=	relaxconf:${PORTSDIR}/sysutils/relaxconf
.endif

post-patch:
	@@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g; \
		s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/dot.xselector ${WRKSRC}/dot.xinitrc

do-install:
	${MKDIR} ${PREFIX}/share/skel/zh_CN.eucCN
	${CP} ${WRKSRC}/* ${PREFIX}/share/skel/zh_CN.eucCN

post-install:
	@@${SED} "s|%%PREFIX%%|${PREFIX}|g" \
		${.CURDIR}/pkg-message > ${PKGMESSAGE}
	@@${CAT} ${PKGMESSAGE}

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


1.12
log
@Convert to new option framework
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.11
log
@Undeprecate by replacing local distribution site temporarily with freebsd.org's
public_distfiles.
@
text
@d22 8
a29 6
OPTIONS=	WQY		"WenQuanYi Bitmap Song Font"		on \
		FIREFLYTTF	"Firefly TrueType Font"			off \
		FCITX		"GBK Chinese XIM server"		off \
		SCIM 		"Smart Common Input Method platform"	on \
		MINICHINPUT 	"A tiny version of Chinput"		off \
		RELAXCONF	"A set of utilities for FreeBSD LiveCD"	on
d33 1
a33 1
.if !defined(WITHOUT_WQY)
d37 1
a37 1
.if defined(WITH_FIREFLYTTF)
d41 1
a41 1
.if defined(WITH_FCITX)
d45 1
a45 1
.if !defined(WITHOUT_SCIM)
d50 1
a50 1
.if defined(WITH_MINICHINPUT)
d54 1
a54 1
.if !defined(WITHOUT_RELAXCONF)
@


1.10
log
@Deprecate some ports where I can't find distfiles and upstream
@
text
@d11 2
a12 1
MASTER_SITES=	ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/
a17 3
DEPRECATED=	No more public distfiles
EXPIRATION_DATE=	2011-09-01

@


1.9
log
@- update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
@
text
@d17 3
@


1.8
log
@- update to jpeg-8
@
text
@d9 1
a9 1
PORTREVISION=	2
@


1.7
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d9 1
a9 1
PORTREVISION=	1
@


1.6
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
@d9 1
@


1.5
log
@Reset relaxbsd@@gmail.com due to maintainer-timeouts.

Hat:		portmgr
@
text
@d30 1
a30 1
RUN_DEPENDS+=	${X11BASE}/lib/X11/fonts/wqy/wenquanyi_10pt.pcf:${PORTSDIR}/x11-fonts/wqy
d55 1
a55 1
	@@${REINPLACE_CMD} -e "s|%%X11BASE%%|${X11BASE}|g; \
@


1.4
log
@- Change maintainer address
- Cleanup master_sites

Requested by:	Yinghong Liu <relaxbsd@@gmail.com> (maintainer)
Approved by:	sat (mentor)
@
text
@d13 1
a13 1
MAINTAINER=	relaxbsd@@gmail.com
@


1.3
log
@- Update to 1.1
* Change with gnome2's PREFIX.
* Add support wqy bitmap fonts.
* Change with scim's PREFIX.
* Replaces cdialog with /usr/bin/dialog.

PR:		ports/112437
Submitted by:	maintainer (liu_yinghong_AT_yahoo dot com dot cn)
@
text
@d3 1
a3 1
# Whom:			Liu.Yinghong <liu_yinghong@@yahoo.com.cn>
d13 1
a13 1
MAINTAINER=	liu_yinghong@@yahoo.com.cn
@


1.2
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d8 1
a8 2
PORTVERSION=	1.0
PORTREVISION=	1
d18 1
d20 4
a23 3
OPTIONS=	FIREFLYTTF	"Firefly TrueType Font"			on \
		FCITX		"GBK Chinese XIM server"		on \
		SCIM 		"Smart Common Input Method platform"	off \
d29 5
a33 1
.if !defined(WITHOUT_FIREFLYTTF)
d37 1
a37 1
.if !defined(WITHOUT_FCITX)
d41 3
a43 2
.if defined(WITH_SCIM)
RUN_DEPENDS+=	scim:${PORTSDIR}/textproc/scim
d54 4
@


1.1
log
@New port: chinese/auto-cn-l10n
The automatic localization for Simplified Chinese zh_CN.eucCN locale

PR:		ports/97307
Submitted by:	Liu.Yinghong <liu_yinghong -at- yahoo.com.cn>
@
text
@d9 1
@

