diff options
author | TAKATSU Tomonari <tota@FreeBSD.org> | 2011-10-29 16:09:56 +0000 |
---|---|---|
committer | TAKATSU Tomonari <tota@FreeBSD.org> | 2011-10-29 16:09:56 +0000 |
commit | 6bc0261885d3d192643f6756fdc6adf404878967 (patch) | |
tree | bd8913ffe80d4507088a17ac476cd215d6b1bbcc /www/tdiary | |
parent | b0a0c71c46309364aa28ba80e8efb635c0773284 (diff) | |
download | ports-6bc0261885d3d192643f6756fdc6adf404878967.tar.gz ports-6bc0261885d3d192643f6756fdc6adf404878967.zip |
Notes
Diffstat (limited to 'www/tdiary')
-rw-r--r-- | www/tdiary/Makefile | 12 | ||||
-rw-r--r-- | www/tdiary/distinfo | 4 | ||||
-rw-r--r-- | www/tdiary/files/tdiaryinst.rb.in | 4 | ||||
-rw-r--r-- | www/tdiary/pkg-plist | 143 |
4 files changed, 108 insertions, 55 deletions
diff --git a/www/tdiary/Makefile b/www/tdiary/Makefile index e76a5a5e4ac3..38bb4b0997ef 100644 --- a/www/tdiary/Makefile +++ b/www/tdiary/Makefile @@ -6,7 +6,7 @@ # PORTNAME= tdiary -PORTVERSION= 3.1.0 +PORTVERSION= 3.1.1 CATEGORIES?= www ruby MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/ \ http://www.tdiary.org/download/ @@ -20,7 +20,7 @@ LICENSE_FILE= ${WRKDIR}/doc/COPYING RUN_DEPENDS= hikidoc:${PORTSDIR}/textproc/ruby-hikidoc \ rubygem-imagesize>=0.1.1:${PORTSDIR}/graphics/rubygem-imagesize \ - rd2:${PORTSDIR}/textproc/ruby-rdtool + rubygem-json_pure>=1.6.1:${PORTSDIR}/devel/rubygem-json_pure NO_BUILD= yes USE_RUBY= yes @@ -28,6 +28,7 @@ RUBY_REQUIRE= Ruby >= 185 RUBY_SHEBANG_FILES= index.fcgi \ index.rb \ + update.fcgi \ update.rb \ misc/convert2.rb \ misc/migrate.rb \ @@ -50,7 +51,7 @@ WWWDIR= ${PREFIX}/www/${UNIQUENAME} TDIARY_SCRIPT= ${UNIQUENAME}-inst.rb -#TDIARY_LANG ja:Japanese en:English zh:Traditional-Chinese +#TDIARY_LANG ja:Japanese en:English .if !defined(TDIARY_LANG) || ( defined(TDIARY_LANG) && ${TDIARY_LANG} != ja ) TDIARY_LANG= en .endif @@ -87,11 +88,14 @@ post-extract: @${RM} -r ${WRKSRC}/spec @${RM} -r ${WRKSRC}/vendor/hikidoc-0.0.6 @${RM} -r ${WRKSRC}/vendor/imagesize-0.1.1/* - @${RM} -r ${WRKSRC}/vendor/rdtool-0.6.22 + @${RM} -r ${WRKSRC}/vendor/json_pure-1.6.1 @${MV} ${WRKSRC}/ChangeLog ${WRKSRC}/doc @${MV} ${WRKSRC}/README.md ${WRKSRC}/doc @cd ${WRKSRC} && ${MV} doc ${WRKDIR} +post-patch: + ${RUBY} -i -pe "sub %r|((\s*)require 'json')|, %Q|\\\2require 'rubygems'\n\\\1|" ${WRKSRC}/tdiary.rb + pre-install: @${SED} -e 's,#!/usr/bin/env ruby,#!${RUBY},' \ ${WRKDIR}/tdiaryinst.rb > ${WRKDIR}/${TDIARY_SCRIPT} diff --git a/www/tdiary/distinfo b/www/tdiary/distinfo index b859f7b63c28..2d3c986591c7 100644 --- a/www/tdiary/distinfo +++ b/www/tdiary/distinfo @@ -1,2 +1,2 @@ -SHA256 (tdiary-full-3.1.0.tar.gz) = 3d16e319d53b0fe0f672e1ba00efcdd73dd08bb49cfa333243a0655bab29ea8e -SIZE (tdiary-full-3.1.0.tar.gz) = 4429369 +SHA256 (tdiary-full-3.1.1.tar.gz) = 9131e77177323e459ebf149f1bcf4e4f75f2a452b201eeb192b81d28b4b9c11e +SIZE (tdiary-full-3.1.1.tar.gz) = 5051943 diff --git a/www/tdiary/files/tdiaryinst.rb.in b/www/tdiary/files/tdiaryinst.rb.in index 09306c305d5a..1ccf39576b22 100644 --- a/www/tdiary/files/tdiaryinst.rb.in +++ b/www/tdiary/files/tdiaryinst.rb.in @@ -29,7 +29,7 @@ def usage STDERR.print " --mail=<author_mail> Specify author mail address\n" STDERR.print " --tdiarymaster=<dir> Specify tDiary master directory default: %%WWWDIR%%\n" STDERR.print " --tdiarydocdir=<docdir> Specify tDiary document directory default: %%DOCSDIR%%\n" - STDERR.print " --lang=<language> Specify your language ('en' or 'ja' or 'zh') default: %%TDIARY_LANG%%\n" + STDERR.print " --lang=<language> Specify your language ('en' or 'ja') default: %%TDIARY_LANG%%\n" STDERR.print " --suexec Use suExec for CGI execution\n" STDERR.print " --symlink Use symbolic link for tDiary master files\n" STDERR.print " --quiet Do not display any information\n" @@ -101,8 +101,6 @@ class TdiaryInstall @lang = 'en' when 'ja' @lang = 'ja' - when 'zh' - @lang = 'zh' else raise "Unknown Language : #{value}" end diff --git a/www/tdiary/pkg-plist b/www/tdiary/pkg-plist index 5b36e07d9c65..ffdb0bb3df23 100644 --- a/www/tdiary/pkg-plist +++ b/www/tdiary/pkg-plist @@ -14,9 +14,9 @@ %%WWWDIR%%/misc/filter/plugin/antispamservice.rb %%WWWDIR%%/misc/filter/plugin/en/antispamservice.rb %%WWWDIR%%/misc/filter/plugin/ja/antispamservice.rb -%%WWWDIR%%/misc/filter/plugin/zh/antispamservice.rb %%WWWDIR%%/misc/lib/README %%WWWDIR%%/misc/lib/compatible.rb +%%WWWDIR%%/misc/lib/fcgi_patch.rb %%WWWDIR%%/misc/migrate.rb %%WWWDIR%%/misc/plugin/ChangeLog.DO_NOT_UPDATE %%WWWDIR%%/misc/plugin/a.rb @@ -139,35 +139,6 @@ %%WWWDIR%%/misc/plugin/xmlrpc.rb %%WWWDIR%%/misc/plugin/xmlrpc/README %%WWWDIR%%/misc/plugin/xmlrpc/xmlrpc.rb -%%WWWDIR%%/misc/plugin/zh/a.rb -%%WWWDIR%%/misc/plugin/zh/amazon.rb -%%WWWDIR%%/misc/plugin/zh/append-css.rb -%%WWWDIR%%/misc/plugin/zh/bq.rb -%%WWWDIR%%/misc/plugin/zh/calendar2.rb -%%WWWDIR%%/misc/plugin/zh/category.rb -%%WWWDIR%%/misc/plugin/zh/daily_theme.rb -%%WWWDIR%%/misc/plugin/zh/disp_referrer.rb -%%WWWDIR%%/misc/plugin/zh/dropdown_calendar.rb -%%WWWDIR%%/misc/plugin/zh/edit_today.rb -%%WWWDIR%%/misc/plugin/zh/hide-mail-field.rb -%%WWWDIR%%/misc/plugin/zh/highlight.rb -%%WWWDIR%%/misc/plugin/zh/image.rb -%%WWWDIR%%/misc/plugin/zh/kw.rb -%%WWWDIR%%/misc/plugin/zh/makerss.rb -%%WWWDIR%%/misc/plugin/zh/pb-show.rb -%%WWWDIR%%/misc/plugin/zh/ping.rb -%%WWWDIR%%/misc/plugin/zh/recent_comment.rb -%%WWWDIR%%/misc/plugin/zh/recent_comment3.rb -%%WWWDIR%%/misc/plugin/zh/recent_rss.rb -%%WWWDIR%%/misc/plugin/zh/recent_trackback3.rb -%%WWWDIR%%/misc/plugin/zh/referer_scheme.rb -%%WWWDIR%%/misc/plugin/zh/search_control.rb -%%WWWDIR%%/misc/plugin/zh/search_form.rb -%%WWWDIR%%/misc/plugin/zh/speed_comment.rb -%%WWWDIR%%/misc/plugin/zh/tb-show.rb -%%WWWDIR%%/misc/plugin/zh/todo.rb -%%WWWDIR%%/misc/plugin/zh/weather.rb -%%WWWDIR%%/misc/plugin/zh/xmlrpc.rb %%WWWDIR%%/misc/standalone_cgi/bin/server %%WWWDIR%%/misc/standalone_cgi/lib/server.rb %%WWWDIR%%/misc/style/emptdiary/README.rd @@ -200,11 +171,6 @@ %%WWWDIR%%/plugin/ja/10spamfilter.rb %%WWWDIR%%/plugin/ja/50sp.rb %%WWWDIR%%/plugin/ja/60sf.rb -%%WWWDIR%%/plugin/zh/00default.rb -%%WWWDIR%%/plugin/zh/05referer.rb -%%WWWDIR%%/plugin/zh/10spamfilter.rb -%%WWWDIR%%/plugin/zh/50sp.rb -%%WWWDIR%%/plugin/zh/60sf.rb %%WWWDIR%%/skel/category.rhtml %%WWWDIR%%/skel/conf.rhtml %%WWWDIR%%/skel/day.rhtml @@ -222,26 +188,23 @@ %%WWWDIR%%/skel/i.show.rhtml %%WWWDIR%%/skel/i.update.rhtml %%WWWDIR%%/skel/i.update.rhtml.en -%%WWWDIR%%/skel/i.update.rhtml.zh %%WWWDIR%%/skel/latest.rhtml %%WWWDIR%%/skel/mail.rtxt %%WWWDIR%%/skel/mail.rtxt.en -%%WWWDIR%%/skel/mail.rtxt.zh %%WWWDIR%%/skel/month.rhtml %%WWWDIR%%/skel/plugin_error.rhtml %%WWWDIR%%/skel/preview.rhtml %%WWWDIR%%/skel/preview.rhtml.en -%%WWWDIR%%/skel/preview.rhtml.zh %%WWWDIR%%/skel/referer.rhtml %%WWWDIR%%/skel/search.rhtml %%WWWDIR%%/skel/show.rhtml %%WWWDIR%%/skel/tdiary.rconf %%WWWDIR%%/skel/update.rhtml %%WWWDIR%%/skel/update.rhtml.en -%%WWWDIR%%/skel/update.rhtml.zh %%WWWDIR%%/tdiary.conf.beginner %%WWWDIR%%/tdiary.conf.sample %%WWWDIR%%/tdiary.rb +%%WWWDIR%%/tdiary/application.rb %%WWWDIR%%/tdiary/comment.rb %%WWWDIR%%/tdiary/comment_manager.rb %%WWWDIR%%/tdiary/compatible.rb @@ -260,11 +223,10 @@ %%WWWDIR%%/tdiary/io/pstore.rb %%WWWDIR%%/tdiary/lang/en.rb %%WWWDIR%%/tdiary/lang/ja.rb -%%WWWDIR%%/tdiary/lang/zh.rb %%WWWDIR%%/tdiary/plugin.rb %%WWWDIR%%/tdiary/referer_manager.rb -%%WWWDIR%%/tdiary/tdiary_application.rb -%%WWWDIR%%/tdiary/tdiary_response.rb +%%WWWDIR%%/tdiary/request.rb +%%WWWDIR%%/tdiary/response.rb %%WWWDIR%%/tdiary/tdiary_style.rb %%WWWDIR%%/tdiary/wiki_style.rb %%WWWDIR%%/theme/3minutes/3minutes.css @@ -1721,7 +1683,7 @@ %%WWWDIR%%/theme/teacup/teacup_anchor.png %%WWWDIR%%/theme/teacup/teacup_anchor2.png %%WWWDIR%%/theme/teacup/teacup_h1.png -%%WWWDIR%%/theme/themebench.rhtml +%%WWWDIR%%/theme/themebench.html %%WWWDIR%%/theme/thin/README %%WWWDIR%%/theme/thin/thin.css %%WWWDIR%%/theme/thin/thin_canchor.png @@ -1863,8 +1825,100 @@ %%WWWDIR%%/theme/zef/side.png %%WWWDIR%%/theme/zef/st_eye.png %%WWWDIR%%/theme/zef/zef.css +%%WWWDIR%%/update.fcgi %%WWWDIR%%/update.rb %%WWWDIR%%/vendor/imagesize-0.1.1/lib +%%WWWDIR%%/vendor/rdtool-0.6.29/COPYING.txt +%%WWWDIR%%/vendor/rdtool-0.6.29/Gemfile +%%WWWDIR%%/vendor/rdtool-0.6.29/HISTORY +%%WWWDIR%%/vendor/rdtool-0.6.29/LICENSE.txt +%%WWWDIR%%/vendor/rdtool-0.6.29/MANIFEST +%%WWWDIR%%/vendor/rdtool-0.6.29/README.rd +%%WWWDIR%%/vendor/rdtool-0.6.29/README.rd.ja +%%WWWDIR%%/vendor/rdtool-0.6.29/Rakefile +%%WWWDIR%%/vendor/rdtool-0.6.29/TODO +%%WWWDIR%%/vendor/rdtool-0.6.29/VERSION +%%WWWDIR%%/vendor/rdtool-0.6.29/bin/rd2 +%%WWWDIR%%/vendor/rdtool-0.6.29/bin/rdswap.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/doc/rd-draft.rd +%%WWWDIR%%/vendor/rdtool-0.6.29/doc/rd-draft.rd.ja +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/block-element.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/complex-list-item.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/desclist.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/document-struct.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/dot.rd2rc +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/element.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/filter.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/inline-element.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/labeled-element.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/list.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/loose-struct.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/methodlist.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/output-format-visitor.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/package.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/parser-util.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/post-install +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/rbl-file.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/rbl-suite.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/rd-struct.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/rd2html-lib.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/rd2html-opt.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/rd2man-lib.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/rd2rdo-lib.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/rd2rmi-lib.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/rdblockparser.ry +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/rdblockparser.tab.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/rdfmt.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/rdinlineparser.ry +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/rdinlineparser.tab.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/rdvisitor.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/reference-resolver.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/search-file.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/tree.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/version.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd/visitor.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/makerdtool.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/rdtool.gemspec +%%WWWDIR%%/vendor/rdtool-0.6.29/setup.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/dummy-observer.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/dummy.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/temp-dir.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-block-parser.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-desclist-item.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-document-element.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-document-struct.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-element.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-headline.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-inline-parser.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-list-item.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-list.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-methodlist-item.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-nonterminal-element.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-nonterminal-inline.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-output-format-visitor.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-parser-util.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-rbl-file.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-rbl-suite.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-rd2html-lib.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-rdtree.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-rdvisitor.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-reference-resolver.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-reference.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-search-file.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-terminal-inline.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-textblock.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-tree.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-version.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/test/test-visitor.rb +%%WWWDIR%%/vendor/rdtool-0.6.29/utils/rd-mode.el +@dirrm %%WWWDIR%%/vendor/rdtool-0.6.29/utils +@dirrm %%WWWDIR%%/vendor/rdtool-0.6.29/test +@dirrm %%WWWDIR%%/vendor/rdtool-0.6.29/lib/rd +@dirrm %%WWWDIR%%/vendor/rdtool-0.6.29/lib +@dirrm %%WWWDIR%%/vendor/rdtool-0.6.29/doc +@dirrm %%WWWDIR%%/vendor/rdtool-0.6.29/bin +@dirrm %%WWWDIR%%/vendor/rdtool-0.6.29 @dirrm %%WWWDIR%%/vendor/imagesize-0.1.1 @dirrm %%WWWDIR%%/vendor @dirrm %%WWWDIR%%/theme/zef @@ -2214,7 +2268,6 @@ @dirrm %%WWWDIR%%/tdiary/dispatcher @dirrm %%WWWDIR%%/tdiary @dirrm %%WWWDIR%%/skel -@dirrm %%WWWDIR%%/plugin/zh @dirrm %%WWWDIR%%/plugin/ja @dirrm %%WWWDIR%%/plugin/en @dirrm %%WWWDIR%%/plugin @@ -2227,14 +2280,12 @@ @dirrm %%WWWDIR%%/misc/standalone_cgi/lib @dirrm %%WWWDIR%%/misc/standalone_cgi/bin @dirrm %%WWWDIR%%/misc/standalone_cgi -@dirrm %%WWWDIR%%/misc/plugin/zh @dirrm %%WWWDIR%%/misc/plugin/xmlrpc @dirrm %%WWWDIR%%/misc/plugin/ja @dirrm %%WWWDIR%%/misc/plugin/en @dirrm %%WWWDIR%%/misc/plugin/amazon @dirrm %%WWWDIR%%/misc/plugin @dirrm %%WWWDIR%%/misc/lib -@dirrm %%WWWDIR%%/misc/filter/plugin/zh @dirrm %%WWWDIR%%/misc/filter/plugin/ja @dirrm %%WWWDIR%%/misc/filter/plugin/en @dirrm %%WWWDIR%%/misc/filter/plugin |