View | Details | Raw Unified | Return to bug 118772
Collapse All | Expand All

(-)tdiary/Makefile (-16 / +8 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	tdiary
8
PORTNAME=	tdiary
9
PORTVERSION=	2.0.4
9
PORTVERSION=	2.2.0
10
CATEGORIES?=	www ruby
10
CATEGORIES?=	www ruby
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
12
		http://www.tdiary.org/download/
12
		http://www.tdiary.org/download/
Lines 23-35 Link Here
23
PKGMESSAGE=	${WRKDIR}/pkg-message
23
PKGMESSAGE=	${WRKDIR}/pkg-message
24
USE_RUBY=	yes
24
USE_RUBY=	yes
25
25
26
.if !defined(WITHOUT_RUBY_FEATURES)
26
RUBY_SHEBANG_FILES=	index.rb update.rb misc/convert2.rb \
27
USE_RUBY_FEATURES=	fileutils
27
			misc/plugin/amazon/amazonimg.rb misc/plugin/pingback/pb.rb \
28
.endif
28
			misc/plugin/squeeze.rb misc/plugin/trackback/tb.rb \
29
29
			misc/plugin/xmlrpc/xmlrpc.rb misc/style/etdiary/etdiary_test.rb \
30
RUBY_SHEBANG_FILES=	index.rb update.rb misc/convert2.rb misc/plugin/squeeze.rb \
30
			tdiary/wiki_style_test.rb
31
			misc/plugin/windex.rb \
32
			misc/plugin/trackback/tb.rb misc/style/etdiary/etdiary_test.rb
33
31
34
PLIST_FILES=	${TDIARYDIR:S|${LOCALBASE}/||}/tdiaryinst.rb
32
PLIST_FILES=	${TDIARYDIR:S|${LOCALBASE}/||}/tdiaryinst.rb
35
TDIARYDIR=	${EXAMPLESDIR}
33
TDIARYDIR=	${EXAMPLESDIR}
Lines 43-58 Link Here
43
.if defined(WITH_TDIARY_UCONV)
41
.if defined(WITH_TDIARY_UCONV)
44
RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/uconv.so:${PORTSDIR}/japanese/ruby-uconv
42
RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/uconv.so:${PORTSDIR}/japanese/ruby-uconv
45
.endif
43
.endif
46
.if defined(WITH_TDIARY_NORA)
44
.if !defined(WITHOUT_TDIARY_NORA)
47
RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/web/escape_ext.so:${PORTSDIR}/www/ruby-nora
45
RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/web/escape_ext.so:${PORTSDIR}/www/ruby-nora
48
.endif
46
.endif
49
47
50
.include <bsd.port.pre.mk>
51
52
.if ${RUBY_VERSION_CODE} < 167
53
IGNORE=		only works with Ruby 1.6.7 or later
54
.endif
55
56
do-install:
48
do-install:
57
	@-${MKDIR} ${TDIARYDIR}
49
	@-${MKDIR} ${TDIARYDIR}
58
	@${SED} -e 's,#!/usr/bin/env ruby,#!${RUBY},' \
50
	@${SED} -e 's,#!/usr/bin/env ruby,#!${RUBY},' \
Lines 74-77 Link Here
74
	@${SED}	-e 's|%%EXAMPLESDIR%%|${EXAMPLESDIR}|' < ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
66
	@${SED}	-e 's|%%EXAMPLESDIR%%|${EXAMPLESDIR}|' < ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
75
	@${CAT} ${PKGMESSAGE}
67
	@${CAT} ${PKGMESSAGE}
76
68
77
.include <bsd.port.post.mk>
69
.include <bsd.port.mk>
(-)tdiary/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (tdiary-full-2.0.4.tar.gz) = 8c6a5768cdbcedaa5e643ef79d8713a7
1
MD5 (tdiary-full-2.2.0.tar.gz) = 3fffc82a8ff3972a3bb036ed74202220
2
SHA256 (tdiary-full-2.0.4.tar.gz) = 850f7b78ff0bfd35f533226f69064cc189628dda96e823d924ec28f5931acfe6
2
SHA256 (tdiary-full-2.2.0.tar.gz) = 7b9089a2a879df283f5958caa34e632434a06daa321ccfe3c498bf59241e7f9b
3
SIZE (tdiary-full-2.0.4.tar.gz) = 2128834
3
SIZE (tdiary-full-2.2.0.tar.gz) = 3862083
(-)tdiary/files/tdiaryinst.rb.in (-1 lines)
Lines 218-224 Link Here
218
218
219
  def copyBaseFile
219
  def copyBaseFile
220
    FileUtils16.cp_r("#{@tdiarymaster}/doc", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", :preserve, *@fileutilOptions)
220
    FileUtils16.cp_r("#{@tdiarymaster}/doc", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", :preserve, *@fileutilOptions)
221
    FileUtils16.cp_r("#{@tdiarymaster}/erb", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", :preserve, *@fileutilOptions)
222
    FileUtils16.cp_r("#{@tdiarymaster}/misc", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", :preserve, *@fileutilOptions)
221
    FileUtils16.cp_r("#{@tdiarymaster}/misc", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", :preserve, *@fileutilOptions)
223
    FileUtils16.cp_r("#{@tdiarymaster}/plugin", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", :preserve, *@fileutilOptions)
222
    FileUtils16.cp_r("#{@tdiarymaster}/plugin", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", :preserve, *@fileutilOptions)
224
    FileUtils16.cp_r("#{@tdiarymaster}/skel", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", :preserve, *@fileutilOptions)
223
    FileUtils16.cp_r("#{@tdiarymaster}/skel", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", :preserve, *@fileutilOptions)
(-)tdiary/pkg-descr (-1 / +1 lines)
Lines 1-7 Link Here
1
tDiary is a Web-based interface system that works as a personal diary. 
1
tDiary is a Web-based interface system that works as a personal diary. 
2
It is possible for diary readers to add comments to your diary.
2
It is possible for diary readers to add comments to your diary.
3
3
4
     -  require Ruby 1.6.7 or later
4
     -  require Ruby 1.8.0 or later
5
     -  currently supported: Japanese, English, Traditional-Chinese
5
     -  currently supported: Japanese, English, Traditional-Chinese
6
 
6
 
7
    tDiary is developed on http://sourceforge.net/projects/tdiary/ .
7
    tDiary is developed on http://sourceforge.net/projects/tdiary/ .

Return to bug 118772