diff options
Diffstat (limited to 'chinese/auto-tw-l10n/Makefile')
-rw-r--r-- | chinese/auto-tw-l10n/Makefile | 27 |
1 files changed, 6 insertions, 21 deletions
diff --git a/chinese/auto-tw-l10n/Makefile b/chinese/auto-tw-l10n/Makefile index 513aa96ceac1..97755159604f 100644 --- a/chinese/auto-tw-l10n/Makefile +++ b/chinese/auto-tw-l10n/Makefile @@ -5,14 +5,12 @@ # $FreeBSD$ PORTNAME= auto-tw-l10n -PORTVERSION= 1.10 -PORTREVISION= 3 +PORTVERSION= 1.11 CATEGORIES= chinese -MASTER_SITES= LOCAL/chinsan -DISTNAME= zh-${PORTNAME}-${PORTVERSION} +MASTER_SITES= LOCAL/sunpoet MAINTAINER= ports@FreeBSD.org -COMMENT= The automatic localization for Traditional Chinese zh_TW.Big5 locale +COMMENT= The automatic localization for Traditional Chinese zh_TW.UTF-8 locale RUN_DEPENDS= ${FASTEST_CVSUP}:${PORTSDIR}/sysutils/fastest_cvsup @@ -23,32 +21,19 @@ 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} -OPTIONS= KDE3 "Enable KDE support" Off FASTEST_CVSUP?= ${LOCALBASE}/bin/fastest_cvsup ZONE?= tw -.include <bsd.port.pre.mk> - -post-patch: -.if defined(WITH_KDE3) - @${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 - @${FIND} ${WRKSRC} -name "*.orig" -delete - pre-install: @${SH} ${PKGINSTALL} @${FIND} ${WRKSRC} -name "*.in" -delete do-install: - ${MKDIR} ${PREFIX}/share/skel/zh_TW.Big5 - ${CP} ${WRKSRC}/* ${PREFIX}/share/skel/zh_TW.Big5 + ${MKDIR} ${PREFIX}/share/skel/zh_TW.UTF-8/ + ${CP} ${WRKSRC}/* ${PREFIX}/share/skel/zh_TW.UTF-8/ post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |