summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
Diffstat (limited to 'chinese')
-rw-r--r--chinese/MT/Makefile58
-rw-r--r--chinese/MT/distinfo5
-rw-r--r--chinese/MT/pkg-install11
-rw-r--r--chinese/MT/pkg-message5
-rw-r--r--chinese/MT/pkg-plist333
5 files changed, 373 insertions, 39 deletions
diff --git a/chinese/MT/Makefile b/chinese/MT/Makefile
index e64340306a5c..34278dc45f27 100644
--- a/chinese/MT/Makefile
+++ b/chinese/MT/Makefile
@@ -6,39 +6,53 @@
#
PORTNAME= MT
-PORTVERSION= 2.64
+PORTVERSION= 2.661
CATEGORIES= chinese
-MASTER_SITES= http://www.movabletype.org/downloads/
-DISTNAME= mt-zh-tw
+MASTER_SITES= http://mtbook.net/download/
+DISTFILES= MT-${PORTVERSION}-full-lib.new.tar.gz mt.diff mt.no-htmlarea.diff
+EXTRACT_ONLY= MT-${PORTVERSION}-full-lib.new.tar.gz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= leeym@FreeBSD.org
COMMENT= Web-based personal publishing system like weblogs
RUN_DEPENDS= ${LOCALBASE}/${CGIDIR}/mt.cgi:${PORTSDIR}/www/MT
NO_BUILD= yes
-
+NO_WRKSUBDIR= yes
DATADIR= www/data/mt
CGIDIR= www/cgi-bin/mt
PLIST_SUB+= DATADIR=${DATADIR} CGIDIR=${CGIDIR}
+PATCH_MT_ARGS= -d ${PREFIX}/${CGIDIR} --forward --quiet -E -p1
USE_REINPLACE= yes
-
-.include <bsd.port.pre.mk>
+PKGDEINSTALL= ${PKGINSTALL}
+
+.if defined(WITH_HTMLAREA)
+MT_DIFF= mt.diff
+.else
+MT_DIFF= mt.no-htmlarea.diff
+.endif
+
+post-extract:
+ @${MKDIR} ${WRKDIR}/${DATADIR} ${WRKDIR}/${CGIDIR}
+ @${MV} ${WRKDIR}/MT-${PORTVERSION}-full-lib/lib ${WRKDIR}/${CGIDIR}
+ @${MV} ${WRKDIR}/MT-${PORTVERSION}-full-lib/extlib ${WRKDIR}/${CGIDIR}
+ @${MV} ${WRKDIR}/MT-${PORTVERSION}-full-lib/*cgi ${WRKDIR}/${CGIDIR}
+ @${MV} ${WRKDIR}/MT-${PORTVERSION}-full-lib/* ${WRKDIR}/${DATADIR}
+ @${RMDIR} ${WRKDIR}/MT-${PORTVERSION}-full-lib
do-install:
- ${REINPLACE_CMD} -e 's/# PublishCharset Shift_JIS/PublishCharset UTF-8/g' \
+ @${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>
+ @cd ${WRKDIR} && ${CP} -R www ${PREFIX}
+ @${ECHO} "===> Patching www/MT for ${PKGNAME}"
+ @${CAT} ${DISTDIR}/${MT_DIFF} | \
+ ${SED} -e 's#$$MT_DIR, .schemas.#"${PREFIX}/${DATADIR}/schemas"#' > \
+ ${PREFIX}/${DATADIR}/mt.diff
+ @${FIND} ${PREFIX}/${CGIDIR} \( -name "*.orig" -o -name "*.bak" -o -name "*.rej" \) -delete
+ @${CHOWN} -R www:www ${PREFIX}/${CGIDIR} ${PREFIX}/${DATADIR}
+
+post-install:
+ @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/chinese/MT/distinfo b/chinese/MT/distinfo
index 9a2376a98811..096e9787f520 100644
--- a/chinese/MT/distinfo
+++ b/chinese/MT/distinfo
@@ -1,2 +1,3 @@
-MD5 (mt-zh-tw.tar.gz) = 1a10bd204b3de6ccccd5bb8488c216f3
-SIZE (mt-zh-tw.tar.gz) = 38485
+MD5 (MT-2.661-full-lib.new.tar.gz) = dd4ce49c3aeb72e6d9c98a41fa668036
+MD5 (mt.diff) = af5e5c3ce407f26e0c46d515c09f87b7
+MD5 (mt.no-htmlarea.diff) = b94ab12d7c601e6089b8b440b86a1f53
diff --git a/chinese/MT/pkg-install b/chinese/MT/pkg-install
new file mode 100644
index 000000000000..cc1233295f2b
--- /dev/null
+++ b/chinese/MT/pkg-install
@@ -0,0 +1,11 @@
+#!/bin/sh
+DIFF=${PKG_PREFIX}/www/data/mt/mt.diff
+CGIDIR=${PKG_PREFIX}/www/cgi-bin/mt
+
+if [ "$2" = "POST-INSTALL" ]; then
+ cat ${DIFF} | patch -d ${CGIDIR} --forward --quiet -E -p1
+ find ${CGIDIR} -name "*.orig" -delete
+elif [ "$2" = "DEINSTALL" ]; then
+ cat ${DIFF} | patch -d ${CGIDIR} --reverse --quiet -E -p1
+ find ${CGIDIR} -name "*.orig" -delete
+fi
diff --git a/chinese/MT/pkg-message b/chinese/MT/pkg-message
new file mode 100644
index 000000000000..75ade98574b5
--- /dev/null
+++ b/chinese/MT/pkg-message
@@ -0,0 +1,5 @@
+.
+WARNING:
+This port (chinese/MT) patched some files of www/MT.
+Before you upgrade www/MT, please deinstall chinese/MT first.
+.
diff --git a/chinese/MT/pkg-plist b/chinese/MT/pkg-plist
index 80a66a72052a..54f635b21eae 100644
--- a/chinese/MT/pkg-plist
+++ b/chinese/MT/pkg-plist
@@ -1,22 +1,325 @@
-%%DATADIR%%/images/lang-zh-tw/topnav-logout.gif
-%%DATADIR%%/images/lang-zh-tw/nav-search.gif
+%%CGIDIR%%/mt-blacklist.cgi
+%%CGIDIR%%/lib/MT/L10N/zh_cn.pm
+%%CGIDIR%%/lib/MT/L10N/zh_tw.pm
+%%CGIDIR%%/lib/XML/RSS/LP.pm
+%%CGIDIR%%/extlib/YAML/Error.pm
+%%CGIDIR%%/extlib/YAML/Family.pm
+%%CGIDIR%%/extlib/YAML/Node.pm
+%%CGIDIR%%/extlib/YAML/Transfer.pm
+%%CGIDIR%%/extlib/Yaml.pm
+%%CGIDIR%%/extlib/jayallen/Blacklist.pm
+%%CGIDIR%%/extlib/jayallen/Blacklist_Config/blacklist.yaml
+%%CGIDIR%%/extlib/jayallen/Blacklist_Config/config.yaml
+%%CGIDIR%%/extlib/jayallen/MTBlPing.pm
+%%CGIDIR%%/extlib/jayallen/MTBlPost.pm
+%%DATADIR%%/dialog.js
+%%DATADIR%%/docs/en-us/755.gif
+%%DATADIR%%/docs/en-us/777.gif
+%%DATADIR%%/docs/en-us/box.gif
+%%DATADIR%%/docs/en-us/doc-styles.css
+%%DATADIR%%/docs/en-us/index.html
+%%DATADIR%%/docs/en-us/mt26.html
+%%DATADIR%%/docs/en-us/mtchanges.html
+%%DATADIR%%/docs/en-us/mtimport.html
+%%DATADIR%%/docs/en-us/mtinstall.html
+%%DATADIR%%/docs/en-us/mtmanual.html
+%%DATADIR%%/docs/en-us/mtmanual_about.html
+%%DATADIR%%/docs/en-us/mtmanual_alternate.html
+%%DATADIR%%/docs/en-us/mtmanual_archiving.html
+%%DATADIR%%/docs/en-us/mtmanual_authors.html
+%%DATADIR%%/docs/en-us/mtmanual_categories.html
+%%DATADIR%%/docs/en-us/mtmanual_comments.html
+%%DATADIR%%/docs/en-us/mtmanual_configuration.html
+%%DATADIR%%/docs/en-us/mtmanual_copyright.html
+%%DATADIR%%/docs/en-us/mtmanual_entries.html
+%%DATADIR%%/docs/en-us/mtmanual_importing.html
+%%DATADIR%%/docs/en-us/mtmanual_installation.html
+%%DATADIR%%/docs/en-us/mtmanual_mail.html
+%%DATADIR%%/docs/en-us/mtmanual_multilanguage.html
+%%DATADIR%%/docs/en-us/mtmanual_notifications.html
+%%DATADIR%%/docs/en-us/mtmanual_programmatic.html
+%%DATADIR%%/docs/en-us/mtmanual_public.html
+%%DATADIR%%/docs/en-us/mtmanual_rebuilding.html
+%%DATADIR%%/docs/en-us/mtmanual_sanitize.html
+%%DATADIR%%/docs/en-us/mtmanual_search.html
+%%DATADIR%%/docs/en-us/mtmanual_tags.html
+%%DATADIR%%/docs/en-us/mtmanual_templates.html
+%%DATADIR%%/docs/en-us/mtmanual_trackback.html
+%%DATADIR%%/docs/en-us/mtmanual_troubleshooting.html
+%%DATADIR%%/docs/en-us/mtmanual_uploading.html
+%%DATADIR%%/docs/en-us/mtmanual_weblog_config.html
+%%DATADIR%%/docs/en-us/mtmanual_weblogs.html
+%%DATADIR%%/docs/en-us/mttags.html
+%%DATADIR%%/docs/en-us/mtupgrade.html
+%%DATADIR%%/docs/index.html.var
+%%DATADIR%%/docs/zh-cn/755.gif
+%%DATADIR%%/docs/zh-cn/777.gif
+%%DATADIR%%/docs/zh-cn/box.gif
+%%DATADIR%%/docs/zh-cn/doc-styles.css
+%%DATADIR%%/docs/zh-cn/index.html
+%%DATADIR%%/docs/zh-cn/mt26.html
+%%DATADIR%%/docs/zh-cn/mtchanges.html
+%%DATADIR%%/docs/zh-cn/mtimport.html
+%%DATADIR%%/docs/zh-cn/mtinstall.html
+%%DATADIR%%/docs/zh-cn/mtmanual.html
+%%DATADIR%%/docs/zh-cn/mtmanual_about.html
+%%DATADIR%%/docs/zh-cn/mtmanual_alternate.html
+%%DATADIR%%/docs/zh-cn/mtmanual_archiving.html
+%%DATADIR%%/docs/zh-cn/mtmanual_authors.html
+%%DATADIR%%/docs/zh-cn/mtmanual_categories.html
+%%DATADIR%%/docs/zh-cn/mtmanual_comments.html
+%%DATADIR%%/docs/zh-cn/mtmanual_configuration.html
+%%DATADIR%%/docs/zh-cn/mtmanual_copyright.html
+%%DATADIR%%/docs/zh-cn/mtmanual_entries.html
+%%DATADIR%%/docs/zh-cn/mtmanual_importing.html
+%%DATADIR%%/docs/zh-cn/mtmanual_installation.html
+%%DATADIR%%/docs/zh-cn/mtmanual_mail.html
+%%DATADIR%%/docs/zh-cn/mtmanual_multilanguage.html
+%%DATADIR%%/docs/zh-cn/mtmanual_notifications.html
+%%DATADIR%%/docs/zh-cn/mtmanual_programmatic.html
+%%DATADIR%%/docs/zh-cn/mtmanual_public.html
+%%DATADIR%%/docs/zh-cn/mtmanual_rebuilding.html
+%%DATADIR%%/docs/zh-cn/mtmanual_sanitize.html
+%%DATADIR%%/docs/zh-cn/mtmanual_search.html
+%%DATADIR%%/docs/zh-cn/mtmanual_tags.html
+%%DATADIR%%/docs/zh-cn/mtmanual_templates.html
+%%DATADIR%%/docs/zh-cn/mtmanual_trackback.html
+%%DATADIR%%/docs/zh-cn/mtmanual_troubleshooting.html
+%%DATADIR%%/docs/zh-cn/mtmanual_uploading.html
+%%DATADIR%%/docs/zh-cn/mtmanual_weblog_config.html
+%%DATADIR%%/docs/zh-cn/mtmanual_weblogs.html
+%%DATADIR%%/docs/zh-cn/mttags.html
+%%DATADIR%%/docs/zh-cn/mttour.html
+%%DATADIR%%/docs/zh-cn/mttour_about.html
+%%DATADIR%%/docs/zh-cn/mttour_archive.html
+%%DATADIR%%/docs/zh-cn/mttour_basic.html
+%%DATADIR%%/docs/zh-cn/mttour_communication.html
+%%DATADIR%%/docs/zh-cn/mttour_copyright.html
+%%DATADIR%%/docs/zh-cn/mttour_practice.html
+%%DATADIR%%/docs/zh-cn/mttour_template.html
+%%DATADIR%%/docs/zh-cn/mttour_term.html
+%%DATADIR%%/docs/zh-cn/mtupgrade.html
+%%DATADIR%%/docs/zh-cn/readme.txt
+%%DATADIR%%/docs/zh-tw/755.gif
+%%DATADIR%%/docs/zh-tw/777.gif
+%%DATADIR%%/docs/zh-tw/box.gif
+%%DATADIR%%/docs/zh-tw/doc-styles.css
+%%DATADIR%%/docs/zh-tw/index.html
+%%DATADIR%%/docs/zh-tw/mt26.html
+%%DATADIR%%/docs/zh-tw/mtchanges.html
+%%DATADIR%%/docs/zh-tw/mtimport.html
+%%DATADIR%%/docs/zh-tw/mtinstall.html
+%%DATADIR%%/docs/zh-tw/mtmanual.html
+%%DATADIR%%/docs/zh-tw/mtmanual_about.html
+%%DATADIR%%/docs/zh-tw/mtmanual_alternate.html
+%%DATADIR%%/docs/zh-tw/mtmanual_archiving.html
+%%DATADIR%%/docs/zh-tw/mtmanual_authors.html
+%%DATADIR%%/docs/zh-tw/mtmanual_categories.html
+%%DATADIR%%/docs/zh-tw/mtmanual_comments.html
+%%DATADIR%%/docs/zh-tw/mtmanual_configuration.html
+%%DATADIR%%/docs/zh-tw/mtmanual_copyright.html
+%%DATADIR%%/docs/zh-tw/mtmanual_entries.html
+%%DATADIR%%/docs/zh-tw/mtmanual_importing.html
+%%DATADIR%%/docs/zh-tw/mtmanual_installation.html
+%%DATADIR%%/docs/zh-tw/mtmanual_mail.html
+%%DATADIR%%/docs/zh-tw/mtmanual_multilanguage.html
+%%DATADIR%%/docs/zh-tw/mtmanual_notifications.html
+%%DATADIR%%/docs/zh-tw/mtmanual_programmatic.html
+%%DATADIR%%/docs/zh-tw/mtmanual_public.html
+%%DATADIR%%/docs/zh-tw/mtmanual_rebuilding.html
+%%DATADIR%%/docs/zh-tw/mtmanual_sanitize.html
+%%DATADIR%%/docs/zh-tw/mtmanual_search.html
+%%DATADIR%%/docs/zh-tw/mtmanual_tags.html
+%%DATADIR%%/docs/zh-tw/mtmanual_templates.html
+%%DATADIR%%/docs/zh-tw/mtmanual_trackback.html
+%%DATADIR%%/docs/zh-tw/mtmanual_troubleshooting.html
+%%DATADIR%%/docs/zh-tw/mtmanual_uploading.html
+%%DATADIR%%/docs/zh-tw/mtmanual_weblog_config.html
+%%DATADIR%%/docs/zh-tw/mtmanual_weblogs.html
+%%DATADIR%%/docs/zh-tw/mttags.html
+%%DATADIR%%/docs/zh-tw/mttour.html
+%%DATADIR%%/docs/zh-tw/mttour_about.html
+%%DATADIR%%/docs/zh-tw/mttour_archive.html
+%%DATADIR%%/docs/zh-tw/mttour_basic.html
+%%DATADIR%%/docs/zh-tw/mttour_communication.html
+%%DATADIR%%/docs/zh-tw/mttour_copyright.html
+%%DATADIR%%/docs/zh-tw/mttour_practice.html
+%%DATADIR%%/docs/zh-tw/mttour_template.html
+%%DATADIR%%/docs/zh-tw/mttour_term.html
+%%DATADIR%%/docs/zh-tw/mtupgrade.html
+%%DATADIR%%/docs/zh-tw/readme.txt
+%%DATADIR%%/htmlarea.css
+%%DATADIR%%/htmlarea.js
+%%DATADIR%%/images/ed_about.gif
+%%DATADIR%%/images/ed_align_center.gif
+%%DATADIR%%/images/ed_align_justify.gif
+%%DATADIR%%/images/ed_align_left.gif
+%%DATADIR%%/images/ed_align_right.gif
+%%DATADIR%%/images/ed_blank.gif
+%%DATADIR%%/images/ed_charmap.gif
+%%DATADIR%%/images/ed_color_bg.gif
+%%DATADIR%%/images/ed_color_fg.gif
+%%DATADIR%%/images/ed_copy.gif
+%%DATADIR%%/images/ed_custom.gif
+%%DATADIR%%/images/ed_cut.gif
+%%DATADIR%%/images/ed_delete.gif
+%%DATADIR%%/images/ed_format_bold.gif
+%%DATADIR%%/images/ed_format_italic.gif
+%%DATADIR%%/images/ed_format_strike.gif
+%%DATADIR%%/images/ed_format_sub.gif
+%%DATADIR%%/images/ed_format_sup.gif
+%%DATADIR%%/images/ed_format_underline.gif
+%%DATADIR%%/images/ed_help.gif
+%%DATADIR%%/images/ed_hr.gif
+%%DATADIR%%/images/ed_html.gif
+%%DATADIR%%/images/ed_image.gif
+%%DATADIR%%/images/ed_indent_less.gif
+%%DATADIR%%/images/ed_indent_more.gif
+%%DATADIR%%/images/ed_link.gif
+%%DATADIR%%/images/ed_list_bullet.gif
+%%DATADIR%%/images/ed_list_num.gif
+%%DATADIR%%/images/ed_paste.gif
+%%DATADIR%%/images/ed_redo.gif
+%%DATADIR%%/images/ed_show_border.gif
+%%DATADIR%%/images/ed_splitcel.gif
+%%DATADIR%%/images/ed_undo.gif
+%%DATADIR%%/images/fullscreen_maximize.gif
+%%DATADIR%%/images/fullscreen_minimize.gif
+%%DATADIR%%/images/insert_table.gif
+%%DATADIR%%/images/lang-zh-cn/assign_multiple.gif
+%%DATADIR%%/images/lang-zh-cn/nav-categories.gif
+%%DATADIR%%/images/lang-zh-cn/nav-config.gif
+%%DATADIR%%/images/lang-zh-cn/nav-entries.gif
+%%DATADIR%%/images/lang-zh-cn/nav-import.gif
+%%DATADIR%%/images/lang-zh-cn/nav-manage-label.gif
+%%DATADIR%%/images/lang-zh-cn/nav-new-entry.gif
+%%DATADIR%%/images/lang-zh-cn/nav-notifications.gif
+%%DATADIR%%/images/lang-zh-cn/nav-post-label.gif
+%%DATADIR%%/images/lang-zh-cn/nav-rebuild.gif
+%%DATADIR%%/images/lang-zh-cn/nav-search.gif
+%%DATADIR%%/images/lang-zh-cn/nav-templates.gif
+%%DATADIR%%/images/lang-zh-cn/nav-upload.gif
+%%DATADIR%%/images/lang-zh-cn/nav-utilities-label.gif
+%%DATADIR%%/images/lang-zh-cn/nav-view-site.gif
+%%DATADIR%%/images/lang-zh-cn/topnav-go-button.gif
+%%DATADIR%%/images/lang-zh-cn/topnav-help.gif
+%%DATADIR%%/images/lang-zh-cn/topnav-logout.gif
+%%DATADIR%%/images/lang-zh-cn/topnav-menu.gif
+%%DATADIR%%/images/lang-zh-cn/topnav-view-site.gif
+%%DATADIR%%/images/lang-zh-tw/assign_multiple.gif
+%%DATADIR%%/images/lang-zh-tw/nav-categories.gif
+%%DATADIR%%/images/lang-zh-tw/nav-config.gif
%%DATADIR%%/images/lang-zh-tw/nav-entries.gif
-%%DATADIR%%/images/lang-zh-tw/topnav-view-site.gif
+%%DATADIR%%/images/lang-zh-tw/nav-import.gif
+%%DATADIR%%/images/lang-zh-tw/nav-manage-label.gif
%%DATADIR%%/images/lang-zh-tw/nav-new-entry.gif
+%%DATADIR%%/images/lang-zh-tw/nav-notifications.gif
+%%DATADIR%%/images/lang-zh-tw/nav-post-label.gif
+%%DATADIR%%/images/lang-zh-tw/nav-rebuild.gif
+%%DATADIR%%/images/lang-zh-tw/nav-search.gif
+%%DATADIR%%/images/lang-zh-tw/nav-templates.gif
+%%DATADIR%%/images/lang-zh-tw/nav-upload.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
+%%DATADIR%%/images/lang-zh-tw/topnav-logout.gif
+%%DATADIR%%/images/lang-zh-tw/topnav-menu.gif
+%%DATADIR%%/images/lang-zh-tw/topnav-view-site.gif
+%%DATADIR%%/images/mtblacklist.gif
+%%DATADIR%%/lang/b5.js
+%%DATADIR%%/lang/da.js
+%%DATADIR%%/lang/de.js
+%%DATADIR%%/lang/en-us.js
+%%DATADIR%%/lang/en.js
+%%DATADIR%%/lang/es.js
+%%DATADIR%%/lang/fi.js
+%%DATADIR%%/lang/fr.js
+%%DATADIR%%/lang/gb.js
+%%DATADIR%%/lang/it.js
+%%DATADIR%%/lang/ja-euc.js
+%%DATADIR%%/lang/ja-jis.js
+%%DATADIR%%/lang/ja-sjis.js
+%%DATADIR%%/lang/ja-utf8.js
+%%DATADIR%%/lang/nb.js
+%%DATADIR%%/lang/nl.js
+%%DATADIR%%/lang/pl.js
+%%DATADIR%%/lang/pt_br.js
+%%DATADIR%%/lang/ro.js
+%%DATADIR%%/lang/ru.js
+%%DATADIR%%/lang/se.js
+%%DATADIR%%/lang/vn.js
+%%DATADIR%%/lang/zh-cn.js
+%%DATADIR%%/lang/zh-tw.js
+%%DATADIR%%/license.txt
+%%DATADIR%%/mt.diff
+%%DATADIR%%/plugins/Blacklist.pl
+%%DATADIR%%/plugins/MT-Blacklist.README
+%%DATADIR%%/plugins/SpellChecker/img/spell-check.gif
+%%DATADIR%%/plugins/SpellChecker/lang/en-us.js
+%%DATADIR%%/plugins/SpellChecker/lang/en.js
+%%DATADIR%%/plugins/SpellChecker/lang/ro.js
+%%DATADIR%%/plugins/SpellChecker/lang/zh-cn.js
+%%DATADIR%%/plugins/SpellChecker/lang/zh-tw.js
+%%DATADIR%%/plugins/SpellChecker/readme-tech.html
+%%DATADIR%%/plugins/SpellChecker/spell-check-logic.cgi
+%%DATADIR%%/plugins/SpellChecker/spell-check-style.css
+%%DATADIR%%/plugins/SpellChecker/spell-check-ui.html
+%%DATADIR%%/plugins/SpellChecker/spell-check-ui.js
+%%DATADIR%%/plugins/SpellChecker/spell-checker.js
+%%DATADIR%%/plugins/TableOperations/img/cell-delete.gif
+%%DATADIR%%/plugins/TableOperations/img/cell-insert-after.gif
+%%DATADIR%%/plugins/TableOperations/img/cell-insert-before.gif
+%%DATADIR%%/plugins/TableOperations/img/cell-merge.gif
+%%DATADIR%%/plugins/TableOperations/img/cell-prop.gif
+%%DATADIR%%/plugins/TableOperations/img/cell-split.gif
+%%DATADIR%%/plugins/TableOperations/img/col-delete.gif
+%%DATADIR%%/plugins/TableOperations/img/col-insert-after.gif
+%%DATADIR%%/plugins/TableOperations/img/col-insert-before.gif
+%%DATADIR%%/plugins/TableOperations/img/col-split.gif
+%%DATADIR%%/plugins/TableOperations/img/row-delete.gif
+%%DATADIR%%/plugins/TableOperations/img/row-insert-above.gif
+%%DATADIR%%/plugins/TableOperations/img/row-insert-under.gif
+%%DATADIR%%/plugins/TableOperations/img/row-prop.gif
+%%DATADIR%%/plugins/TableOperations/img/row-split.gif
+%%DATADIR%%/plugins/TableOperations/img/table-prop.gif
+%%DATADIR%%/plugins/TableOperations/lang/en-us.js
+%%DATADIR%%/plugins/TableOperations/lang/en.js
+%%DATADIR%%/plugins/TableOperations/lang/fi.js
+%%DATADIR%%/plugins/TableOperations/lang/ro.js
+%%DATADIR%%/plugins/TableOperations/lang/zh-cn.js
+%%DATADIR%%/plugins/TableOperations/lang/zh-tw.js
+%%DATADIR%%/plugins/TableOperations/table-operations.js
+%%DATADIR%%/popupdiv.js
+%%DATADIR%%/popups/about.html
+%%DATADIR%%/popups/blank.html
+%%DATADIR%%/popups/custom2.html
+%%DATADIR%%/popups/editor_help.html
+%%DATADIR%%/popups/fullscreen.html
+%%DATADIR%%/popups/insert_image.html
+%%DATADIR%%/popups/insert_table.html
+%%DATADIR%%/popups/old-fullscreen.html
+%%DATADIR%%/popups/old_insert_image.html
+%%DATADIR%%/popups/popup.js
+%%DATADIR%%/popups/select_color.html
+%%DATADIR%%/popupwin.js
+%%DATADIR%%/reference.html
+@dirrm %%DATADIR%%/popups
+@dirrm %%DATADIR%%/plugins/TableOperations/lang
+@dirrm %%DATADIR%%/plugins/TableOperations/img
+@dirrm %%DATADIR%%/plugins/TableOperations
+@dirrm %%DATADIR%%/plugins/SpellChecker/lang
+@dirrm %%DATADIR%%/plugins/SpellChecker/img
+@dirrm %%DATADIR%%/plugins/SpellChecker
+@dirrm %%DATADIR%%/plugins
+@dirrm %%DATADIR%%/lang
@dirrm %%DATADIR%%/images/lang-zh-tw
+@dirrm %%DATADIR%%/images/lang-zh-cn
+@dirrm %%DATADIR%%/docs/zh-tw
+@dirrm %%DATADIR%%/docs/zh-cn
+@dirrm %%DATADIR%%/docs/en-us
+@dirrm %%CGIDIR%%/lib/XML/RSS
+@dirrm %%CGIDIR%%/lib/XML
+@dirrm %%CGIDIR%%/extlib/jayallen/Blacklist_Config
+@dirrm %%CGIDIR%%/extlib/jayallen
+@dirrm %%CGIDIR%%/extlib/YAML