diff options
Diffstat (limited to 'chinese/auto-tw-l10n/Makefile')
-rw-r--r-- | chinese/auto-tw-l10n/Makefile | 44 |
1 files changed, 27 insertions, 17 deletions
diff --git a/chinese/auto-tw-l10n/Makefile b/chinese/auto-tw-l10n/Makefile index 2256827c0f50..06a2630f7b59 100644 --- a/chinese/auto-tw-l10n/Makefile +++ b/chinese/auto-tw-l10n/Makefile @@ -5,31 +5,41 @@ # $FreeBSD$ PORTNAME= auto-tw-l10n -PORTVERSION= 1.5 +PORTVERSION= 1.6 CATEGORIES= chinese -MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/statue/auto-tw-l10n/ -DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} +MASTER_SITES= http://bbs.ilc.edu.tw/~chinsan/ \ + ftp://freebsd.sinica.edu.tw/pub/statue/auto-tw-l10n/ +DISTNAME= zh-${PORTNAME}-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= chinsan.tw@gmail.com COMMENT= The automatic localization for Traditional Chinese zh_TW.Big5 locale +RUN_DEPENDS= ${FASTEST_CVSUP}:${PORTSDIR}/sysutils/fastest_cvsup + +USE_REINPLACE= yes NO_BUILD= yes +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} + +FASTEST_CVSUP?= ${LOCALBASE}/bin/fastest_cvsup +ZONE?= tw + +pre-install: + @${SH} ${PKGINSTALL} + @${FIND} ${WRKSRC} -name "*.in" -delete + do-install: -#Temporary hack before adduser is modified -# For future adduser -# adduser -l10n -v $HOME + @# Temporary hack before adduser is modified + @# For future adduser + @# adduser -l10n -v $HOME ${MKDIR} ${PREFIX}/share/skel/zh_TW.Big5 ${CP} ${WRKSRC}/* ${PREFIX}/share/skel/zh_TW.Big5 - @${ECHO} "*************************************************************" - @${ECHO} "* English Instructions: *" - @${ECHO} "* Please tell your users to merge their old dotfiles with *" - @${ECHO} "* the new ones, in *" - @${ECHO} "* ${PREFIX}/share/skel/zh_TW.Big5/dot.* *" - @${ECHO} "*************************************************************" - @${ECHO} "* 中文繁體說明: *" - @${ECHO} "* 請告知您的使用者比對他們的舊設定跟新設定, 在 *" - @${ECHO} "* ${PREFIX}/share/skel/zh_TW.Big5/dot.* *" - @${ECHO} "*************************************************************" + +post-install: + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> |