diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-10-20 18:55:11 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-10-20 18:55:11 +0000 |
commit | f64b3bac6de00fd68d1ec1a2c2c264b6b729a722 (patch) | |
tree | 8c49c86610d5405833c9b6a9716bf5219ee5d95d /chinese/MT | |
parent | o) Update to the new version 1.32b (diff) |
It is a decentralized, web-based personal publishing system designed to ease
maintenance of regularly updated news or journal sites, like weblogs.
WWW: http://www.movabletype.org/l10n/traditional_chinese/
PR: 58056
Submitted by: Statue <statue@freebsd.sinica.edu.tw>
Notes
Notes:
svn path=/head/; revision=91750
Diffstat (limited to 'chinese/MT')
-rw-r--r-- | chinese/MT/Makefile | 44 | ||||
-rw-r--r-- | chinese/MT/distinfo | 1 | ||||
-rw-r--r-- | chinese/MT/pkg-descr | 4 | ||||
-rw-r--r-- | chinese/MT/pkg-plist | 22 |
4 files changed, 71 insertions, 0 deletions
diff --git a/chinese/MT/Makefile b/chinese/MT/Makefile new file mode 100644 index 000000000000..d08873ef771a --- /dev/null +++ b/chinese/MT/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: MT +# Date created: 7 Oct 2003 +# Whom: Shen Chuan-Hsing <statue@freebsd.sincia.edu.tw> +# +# $FreeBSD$ +# + +PORTNAME= MT +PORTVERSION= 2.64 +CATEGORIES= chinese +MASTER_SITES= http://www.movabletype.org/downloads/ +DISTNAME= mt-zh-tw + +MAINTAINER= statue@freebsd.sinica.edu.tw +COMMENT= Web-based personal publishing system like weblogs + +RUN_DEPENDS= ${LOCALBASE}/${CGIDIR}/mt.cgi:${PORTSDIR}/www/MT + +NO_BUILD= yes + +DATADIR= www/data/mt +CGIDIR= www/cgi-bin/mt +PLIST_SUB+= DATADIR=${DATADIR} CGIDIR=${CGIDIR} +USE_REINPLACE= yes + +.include <bsd.port.pre.mk> + +do-install: + ${REINPLACE_CMD} -e 's/# PublishCharset Shift_JIS/PublishCharset UTF-8/g' \ + ${PREFIX}/${CGIDIR}/mt.cfg + ${REINPLACE_CMD} -e 's,en-us,zh-tw,g' \ + ${PREFIX}/${CGIDIR}/lib/MT/App/Trackback.pm \ + ${PREFIX}/${CGIDIR}/lib/MT/App/CMS.pm \ + ${PREFIX}/${CGIDIR}/lib/MT/default-templates.pl \ + ${PREFIX}/${CGIDIR}/mt-load.cgi + ${RM} ${PREFIX}/${CGIDIR}/lib/MT/App/Trackback.pm.bak \ + ${PREFIX}/${CGIDIR}/lib/MT/App/CMS.pm.bak \ + ${PREFIX}/${CGIDIR}/lib/MT/default-templates.pl.bak \ + ${PREFIX}/${CGIDIR}/mt-load.cgi.bak \ + ${PREFIX}/${CGIDIR}/mt.cfg.bak + @${CP} ${WRKDIR}/mt-zh-tw/zh_tw.pm ${PREFIX}/${CGIDIR}/extlib/MT/L10N/ + @${CP} -R ${WRKDIR}/mt-zh-tw/lang-zh-tw/ ${PREFIX}/${DATADIR}/images/lang-zh-tw/ + +.include <bsd.port.post.mk> diff --git a/chinese/MT/distinfo b/chinese/MT/distinfo new file mode 100644 index 000000000000..cd4985240988 --- /dev/null +++ b/chinese/MT/distinfo @@ -0,0 +1 @@ +MD5 (mt-zh-tw.tar.gz) = 1a10bd204b3de6ccccd5bb8488c216f3 diff --git a/chinese/MT/pkg-descr b/chinese/MT/pkg-descr new file mode 100644 index 000000000000..f38fb1c45d73 --- /dev/null +++ b/chinese/MT/pkg-descr @@ -0,0 +1,4 @@ +It is a decentralized, web-based personal publishing system designed to ease +maintenance of regularly updated news or journal sites, like weblogs. + +WWW: http://www.movabletype.org/l10n/traditional_chinese/ diff --git a/chinese/MT/pkg-plist b/chinese/MT/pkg-plist new file mode 100644 index 000000000000..80a66a72052a --- /dev/null +++ b/chinese/MT/pkg-plist @@ -0,0 +1,22 @@ +%%DATADIR%%/images/lang-zh-tw/topnav-logout.gif +%%DATADIR%%/images/lang-zh-tw/nav-search.gif +%%DATADIR%%/images/lang-zh-tw/nav-entries.gif +%%DATADIR%%/images/lang-zh-tw/topnav-view-site.gif +%%DATADIR%%/images/lang-zh-tw/nav-new-entry.gif +%%DATADIR%%/images/lang-zh-tw/nav-utilities-label.gif +%%DATADIR%%/images/lang-zh-tw/nav-manage-label.gif +%%DATADIR%%/images/lang-zh-tw/nav-config.gif +%%DATADIR%%/images/lang-zh-tw/nav-view-site.gif +%%DATADIR%%/images/lang-zh-tw/topnav-menu.gif +%%DATADIR%%/images/lang-zh-tw/nav-upload.gif +%%DATADIR%%/images/lang-zh-tw/assign_multiple.gif +%%DATADIR%%/images/lang-zh-tw/nav-import.gif +%%DATADIR%%/images/lang-zh-tw/nav-rebuild.gif +%%DATADIR%%/images/lang-zh-tw/topnav-go-button.gif +%%DATADIR%%/images/lang-zh-tw/nav-post-label.gif +%%DATADIR%%/images/lang-zh-tw/nav-templates.gif +%%DATADIR%%/images/lang-zh-tw/topnav-help.gif +%%DATADIR%%/images/lang-zh-tw/nav-notifications.gif +%%DATADIR%%/images/lang-zh-tw/nav-categories.gif +%%CGIDIR%%/extlib/MT/L10N/zh_tw.pm +@dirrm %%DATADIR%%/images/lang-zh-tw |