aboutsummaryrefslogtreecommitdiff
path: root/www/tdiary
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2010-09-12 02:40:33 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2010-09-12 02:40:33 +0000
commitafcd968a54e4a584920be6ea5ce3a10caacb7b2d (patch)
tree894780961be13ae5a2a050d321151d73a6ded382 /www/tdiary
parentf0d95df366ef846061b03db1cfa139119a0d23a2 (diff)
downloadports-afcd968a54e4a584920be6ea5ce3a10caacb7b2d.tar.gz
ports-afcd968a54e4a584920be6ea5ce3a10caacb7b2d.zip
Notes
Diffstat (limited to 'www/tdiary')
-rw-r--r--www/tdiary/Makefile21
-rw-r--r--www/tdiary/distinfo6
-rw-r--r--www/tdiary/files/tdiaryinst.rb.in3
-rw-r--r--www/tdiary/pkg-descr2
-rw-r--r--www/tdiary/pkg-plist42
5 files changed, 56 insertions, 18 deletions
diff --git a/www/tdiary/Makefile b/www/tdiary/Makefile
index bdf8d73814fb..713acd2ac2dc 100644
--- a/www/tdiary/Makefile
+++ b/www/tdiary/Makefile
@@ -6,22 +6,24 @@
#
PORTNAME= tdiary
-PORTVERSION= 2.2.3
+PORTVERSION= 3.0.0
CATEGORIES?= www ruby
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/ \
- http://www.tdiary.org/download/
+MASTER_SITES= http://www.tdiary.org/download/ \
+ ${MASTER_SITE_LOCAL:S|%SUBDIR%|tota/tdiary|}
DISTNAME= ${PORTNAME}-full-${PORTVERSION}
MAINTAINER= tota@FreeBSD.org
COMMENT= A Web-based diary system (like weblog) written in Ruby
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKDIR}/doc/COPYING
+
NO_BUILD= yes
USE_RUBY= yes
-RUBY_VER= 1.8
RUBY_REQUIRE= Ruby >= 182
-PORTSCOUT= limitw:1,even
-RUBY_SHEBANG_FILES= index.rb \
+RUBY_SHEBANG_FILES= index.fcgi \
+ index.rb \
update.rb \
misc/convert2.rb \
misc/plugin/amazon/amazonimg.rb \
@@ -53,11 +55,16 @@ TDIARY_LANG= en
.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
.if !defined(RUBY_PROVIDED)
-IGNORE= requires Ruby 1.8.2 or later
+IGNORE= requires Ruby 1.9.1 or later
+.endif
.endif
.if ${RUBY_VER} == 1.8
+.if !defined(RUBY_PROVIDED)
+IGNORE= requires Ruby 1.8.2 or later
+.endif
.if !defined(WITHOUT_TDIARY_NORA)
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/web/escape_ext.so:${PORTSDIR}/www/ruby-nora
.endif
diff --git a/www/tdiary/distinfo b/www/tdiary/distinfo
index b07c53311d2e..d8d7cb697221 100644
--- a/www/tdiary/distinfo
+++ b/www/tdiary/distinfo
@@ -1,3 +1,3 @@
-MD5 (tdiary-full-2.2.3.tar.gz) = 9cd078c0edb11e78fe484a03818898c2
-SHA256 (tdiary-full-2.2.3.tar.gz) = 54f2945e4a7d21f6ae67a60d2e9872613ded3c3e1e3a6de27b71f588fe72cf0c
-SIZE (tdiary-full-2.2.3.tar.gz) = 3856915
+MD5 (tdiary-full-3.0.0.tar.gz) = 7676bd6dfc0ed66c884f600f00e5a856
+SHA256 (tdiary-full-3.0.0.tar.gz) = 8a4ed18b7886a74c002a9931aca5c207d4678c33d2b2861e8f069797c1a999a6
+SIZE (tdiary-full-3.0.0.tar.gz) = 4107668
diff --git a/www/tdiary/files/tdiaryinst.rb.in b/www/tdiary/files/tdiaryinst.rb.in
index 99263e288d98..ae4e4b9ab6d8 100644
--- a/www/tdiary/files/tdiaryinst.rb.in
+++ b/www/tdiary/files/tdiaryinst.rb.in
@@ -147,6 +147,7 @@ class TdiaryInstall
end
def linkBaseFile
+ FileUtils.ln_s("#{@tdiarymaster}/js", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.ln_s("#{@tdiarymaster}/theme", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.ln_s("#{@tdiarydocdir}", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/doc", @fileutilOptions)
tempfile = Tempfile.new("index.rb")
@@ -165,9 +166,11 @@ class TdiaryInstall
opts = @fileutilOptions.dup
opts.store(:preserve, true)
FileUtils.cp_r("#{@tdiarydocdir}", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/doc", opts)
+ FileUtils.cp_r("#{@tdiarymaster}/js", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", opts)
FileUtils.cp_r("#{@tdiarymaster}/misc", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", opts)
FileUtils.cp_r("#{@tdiarymaster}/plugin", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", opts)
FileUtils.cp_r("#{@tdiarymaster}/skel", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", opts)
+ FileUtils.cp_r("#{@tdiarymaster}/spec", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", opts)
FileUtils.cp_r("#{@tdiarymaster}/tdiary", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", opts)
FileUtils.cp_r("#{@tdiarymaster}/theme", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", opts)
FileUtils.cp("#{@tdiarymaster}/index.rb", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/index.rb", @fileutilOptions)
diff --git a/www/tdiary/pkg-descr b/www/tdiary/pkg-descr
index 1bc1a730cb8f..70e3096fd581 100644
--- a/www/tdiary/pkg-descr
+++ b/www/tdiary/pkg-descr
@@ -4,7 +4,7 @@ It is possible for diary readers to add comments to your diary.
- require Ruby 1.8.2 or later
- currently supported: Japanese, English, Traditional-Chinese
- tDiary is developed on http://sourceforge.net/projects/tdiary/ .
+ tDiary is developed on http://github.com/tdiary .
See URL for more information.
WWW: http://www.tdiary.org/
diff --git a/www/tdiary/pkg-plist b/www/tdiary/pkg-plist
index ea48a8394249..0e02d557dec9 100644
--- a/www/tdiary/pkg-plist
+++ b/www/tdiary/pkg-plist
@@ -1,6 +1,15 @@
%%WWWDIR%%/dot.htaccess
+%%WWWDIR%%/index.fcgi
%%WWWDIR%%/index.rb
+%%WWWDIR%%/js/00default.js
%%WWWDIR%%/misc/convert2.rb
+%%WWWDIR%%/misc/filter/antispamservice.rb
+%%WWWDIR%%/misc/filter/limitdays.rb
+%%WWWDIR%%/misc/filter/linkcheck.rb
+%%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/i18n/HOWTO-write-tDiary-en.rd
%%WWWDIR%%/misc/i18n/README-en.rd
%%WWWDIR%%/misc/i18n/example1.html
@@ -8,10 +17,11 @@
%%WWWDIR%%/misc/i18n/result.html
%%WWWDIR%%/misc/i18n/tdiary.conf.sample-en
%%WWWDIR%%/misc/lib/README
+%%WWWDIR%%/misc/lib/compatible.rb
%%WWWDIR%%/misc/lib/hikidoc.rb
-%%WWWDIR%%/misc/plugin/ChangeLog
+%%WWWDIR%%/misc/migrate.rb
+%%WWWDIR%%/misc/plugin/ChangeLog.DO_NOT_UPDATE
%%WWWDIR%%/misc/plugin/a.rb
-%%WWWDIR%%/misc/plugin/akismet.rb
%%WWWDIR%%/misc/plugin/amazon.rb
%%WWWDIR%%/misc/plugin/amazon/README.en
%%WWWDIR%%/misc/plugin/amazon/README.ja
@@ -35,7 +45,6 @@
%%WWWDIR%%/misc/plugin/dropdown_calendar.rb
%%WWWDIR%%/misc/plugin/edit_today.rb
%%WWWDIR%%/misc/plugin/en/a.rb
-%%WWWDIR%%/misc/plugin/en/akismet.rb
%%WWWDIR%%/misc/plugin/en/amazon.rb
%%WWWDIR%%/misc/plugin/en/append-css.rb
%%WWWDIR%%/misc/plugin/en/bq.rb
@@ -74,7 +83,6 @@
%%WWWDIR%%/misc/plugin/highlight.rb
%%WWWDIR%%/misc/plugin/html_anchor.rb
%%WWWDIR%%/misc/plugin/image.rb
-%%WWWDIR%%/misc/plugin/ja/akismet.rb
%%WWWDIR%%/misc/plugin/ja/amazon.rb
%%WWWDIR%%/misc/plugin/ja/bq.rb
%%WWWDIR%%/misc/plugin/ja/calendar2.rb
@@ -114,6 +122,7 @@
%%WWWDIR%%/misc/plugin/pingback.rb
%%WWWDIR%%/misc/plugin/pingback/README
%%WWWDIR%%/misc/plugin/pingback/pb.rb
+%%WWWDIR%%/misc/plugin/pre_wrap.rb
%%WWWDIR%%/misc/plugin/random_google.rb
%%WWWDIR%%/misc/plugin/recent_comment.rb
%%WWWDIR%%/misc/plugin/recent_comment3.rb
@@ -145,7 +154,6 @@
%%WWWDIR%%/misc/plugin/xmlrpc/README
%%WWWDIR%%/misc/plugin/xmlrpc/xmlrpc.rb
%%WWWDIR%%/misc/plugin/zh/a.rb
-%%WWWDIR%%/misc/plugin/zh/akismet.rb
%%WWWDIR%%/misc/plugin/zh/amazon.rb
%%WWWDIR%%/misc/plugin/zh/append-css.rb
%%WWWDIR%%/misc/plugin/zh/bq.rb
@@ -195,18 +203,23 @@
%%WWWDIR%%/plugin/05referer.rb
%%WWWDIR%%/plugin/10spamfilter.rb
%%WWWDIR%%/plugin/50sp.rb
+%%WWWDIR%%/plugin/60sf.rb
+%%WWWDIR%%/plugin/90migrate.rb
%%WWWDIR%%/plugin/en/00default.rb
%%WWWDIR%%/plugin/en/05referer.rb
%%WWWDIR%%/plugin/en/10spamfilter.rb
%%WWWDIR%%/plugin/en/50sp.rb
+%%WWWDIR%%/plugin/en/60sf.rb
%%WWWDIR%%/plugin/ja/00default.rb
%%WWWDIR%%/plugin/ja/05referer.rb
%%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
@@ -235,19 +248,19 @@
%%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%%/spec/core/compatible_spec.rb
%%WWWDIR%%/tdiary.conf.beginner
%%WWWDIR%%/tdiary.conf.sample
%%WWWDIR%%/tdiary.rb
%%WWWDIR%%/tdiary/defaultio.rb
%%WWWDIR%%/tdiary/filter/default.rb
%%WWWDIR%%/tdiary/filter/spam.rb
-%%WWWDIR%%/tdiary/filter/spamakismet.rb
-%%WWWDIR%%/tdiary/filter/spamlinkcheck.rb
%%WWWDIR%%/tdiary/lang/en.rb
%%WWWDIR%%/tdiary/lang/ja.rb
%%WWWDIR%%/tdiary/lang/zh.rb
@@ -917,6 +930,10 @@
%%WWWDIR%%/theme/greentea3/README
%%WWWDIR%%/theme/greentea3/greentea3.css
%%WWWDIR%%/theme/greentea3/greentea3_back.jpg
+%%WWWDIR%%/theme/gustav/gustav.css
+%%WWWDIR%%/theme/gustav/gustav_back.jpg
+%%WWWDIR%%/theme/gustav/gustav_back_iphone.jpg
+%%WWWDIR%%/theme/gustav/gustav_update.jpg
%%WWWDIR%%/theme/halloween/README
%%WWWDIR%%/theme/halloween/admin.png
%%WWWDIR%%/theme/halloween/footer.png
@@ -1032,6 +1049,7 @@
%%WWWDIR%%/theme/himawari/himawari_anchor.gif
%%WWWDIR%%/theme/himawari/himawari_bg.jpg
%%WWWDIR%%/theme/himawari/himawari_canchor.gif
+%%WWWDIR%%/theme/hsbt/hsbt.css
%%WWWDIR%%/theme/husen/README
%%WWWDIR%%/theme/husen/husen.css
%%WWWDIR%%/theme/husen/husen_back.gif
@@ -2032,6 +2050,7 @@
@dirrm %%WWWDIR%%/theme/iris
@dirrm %%WWWDIR%%/theme/hydrangea
@dirrm %%WWWDIR%%/theme/husen
+@dirrm %%WWWDIR%%/theme/hsbt
@dirrm %%WWWDIR%%/theme/himawari
@dirrm %%WWWDIR%%/theme/hellali
@dirrm %%WWWDIR%%/theme/hazakura
@@ -2062,6 +2081,7 @@
@dirrm %%WWWDIR%%/theme/haru
@dirrm %%WWWDIR%%/theme/happa
@dirrm %%WWWDIR%%/theme/halloween
+@dirrm %%WWWDIR%%/theme/gustav
@dirrm %%WWWDIR%%/theme/greentea3
@dirrm %%WWWDIR%%/theme/green_leaves
@dirrm %%WWWDIR%%/theme/green-tea
@@ -2185,6 +2205,8 @@
@dirrm %%WWWDIR%%/tdiary/lang
@dirrm %%WWWDIR%%/tdiary/filter
@dirrm %%WWWDIR%%/tdiary
+@dirrm %%WWWDIR%%/spec/core
+@dirrm %%WWWDIR%%/spec
@dirrm %%WWWDIR%%/skel
@dirrm %%WWWDIR%%/plugin/zh
@dirrm %%WWWDIR%%/plugin/ja
@@ -2206,5 +2228,11 @@
@dirrm %%WWWDIR%%/misc/plugin
@dirrm %%WWWDIR%%/misc/lib
@dirrm %%WWWDIR%%/misc/i18n
+@dirrm %%WWWDIR%%/misc/filter/plugin/zh
+@dirrm %%WWWDIR%%/misc/filter/plugin/ja
+@dirrm %%WWWDIR%%/misc/filter/plugin/en
+@dirrm %%WWWDIR%%/misc/filter/plugin
+@dirrm %%WWWDIR%%/misc/filter
@dirrm %%WWWDIR%%/misc
+@dirrm %%WWWDIR%%/js
@dirrm %%WWWDIR%%