2000-11-08 08:07:06 +01:00
|
|
|
# New ports collection makefile for: zh-auto-tw-l10n
|
|
|
|
# Date created: 7 Oct 2000
|
|
|
|
# Whom: "Michael C . Wu" <keichii@iteration.net>
|
|
|
|
#
|
2000-11-08 02:07:04 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2000-11-08 08:07:06 +01:00
|
|
|
PORTNAME= auto-tw-l10n
|
2007-10-23 16:11:08 +02:00
|
|
|
PORTVERSION= 1.10
|
2008-01-07 16:36:34 +01:00
|
|
|
PORTREVISION= 1
|
2000-11-08 02:07:04 +01:00
|
|
|
CATEGORIES= chinese
|
- Remove chinsan2.twbbs.org, distfiles moved to LOCAL
PR: 108392, 108393, 108394, 108395, 108396, 108397, 108398, 108399, 108400, 108401
Submitted by: chinsan (maintainer)
2007-01-29 16:55:10 +01:00
|
|
|
MASTER_SITES= LOCAL/chinsan
|
2005-10-07 23:01:39 +02:00
|
|
|
DISTNAME= zh-${PORTNAME}-${PORTVERSION}
|
2000-11-08 02:07:04 +01:00
|
|
|
|
2006-10-03 17:34:44 +02:00
|
|
|
MAINTAINER= chinsan@FreeBSD.org
|
2003-02-21 12:08:38 +01:00
|
|
|
COMMENT= The automatic localization for Traditional Chinese zh_TW.Big5 locale
|
2000-11-08 02:07:04 +01:00
|
|
|
|
2005-10-07 23:01:39 +02:00
|
|
|
RUN_DEPENDS= ${FASTEST_CVSUP}:${PORTSDIR}/sysutils/fastest_cvsup
|
|
|
|
|
2000-12-24 21:42:24 +01:00
|
|
|
NO_BUILD= yes
|
2000-11-08 02:07:04 +01:00
|
|
|
|
2005-10-07 23:01:39 +02:00
|
|
|
PKGINSTALL= ${WRKDIR}/pkg-install
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
SUB_FILES= pkg-install pkg-message
|
|
|
|
SUB_LIST= PREFIX=${PREFIX} ZONE=${ZONE} SOURCE_DIR=${WRKSRC} \
|
|
|
|
WRKDIR=${WRKDIR} FASTEST_CVSUP=${FASTEST_CVSUP}
|
2008-01-07 16:36:34 +01:00
|
|
|
OPTIONS= KDE "Enable KDE support" Off
|
2005-10-07 23:01:39 +02:00
|
|
|
|
|
|
|
FASTEST_CVSUP?= ${LOCALBASE}/bin/fastest_cvsup
|
|
|
|
ZONE?= tw
|
|
|
|
|
2008-01-07 16:36:34 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
.if defined(WITH_KDE)
|
|
|
|
@${REINPLACE_CMD} -e '5 s/en_US.ISO8859-1/zh_TW.Big5/g' \
|
|
|
|
${WRKSRC}/dot.cshrc
|
|
|
|
@${REINPLACE_CMD} -e '1 s/en_US.ISO8859-1/zh_TW.Big5/g' \
|
|
|
|
${WRKSRC}/dot.bashrc
|
|
|
|
@${FIND} ${WRKSRC} -name "*.bak" -delete
|
|
|
|
.endif
|
|
|
|
|
2005-10-07 23:01:39 +02:00
|
|
|
pre-install:
|
|
|
|
@${SH} ${PKGINSTALL}
|
|
|
|
@${FIND} ${WRKSRC} -name "*.in" -delete
|
|
|
|
|
2000-11-09 07:09:55 +01:00
|
|
|
do-install:
|
2007-08-04 13:41:30 +02:00
|
|
|
${MKDIR} ${PREFIX}/share/skel/zh_TW.Big5
|
|
|
|
${CP} ${WRKSRC}/* ${PREFIX}/share/skel/zh_TW.Big5
|
2005-10-07 23:01:39 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
2000-11-08 02:07:04 +01:00
|
|
|
|
2008-01-07 16:36:34 +01:00
|
|
|
.include <bsd.port.post.mk>
|