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

(-)/usr/ports/www/tdiary-stable/Makefile (-27 / +6 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	tdiary
8
PORTNAME=	tdiary
9
PORTVERSION=	1.5.5
9
PORTVERSION=	1.5.6
10
PORTREVISION=	1
10
#PORTREVISION=	0
11
CATEGORIES?=	www ruby
11
CATEGORIES?=	www ruby
12
MASTER_SITES=	\
12
MASTER_SITES=	\
13
		${MASTER_SITE_SOURCEFORGE} \
13
		${MASTER_SITE_SOURCEFORGE} \
Lines 24-31 Link Here
24
USE_RUBY_FEATURES=	fileutils
24
USE_RUBY_FEATURES=	fileutils
25
.endif
25
.endif
26
26
27
RUBY_SHEBANG_FILES=	index.rb update.rb misc/convert2.rb misc/posttdiary.rb misc/plugin/squeeze.rb misc/plugin/weather.rb \
27
RUBY_SHEBANG_FILES=	index.rb update.rb misc/convert2.rb misc/posttdiary.rb misc/plugin/squeeze.rb \
28
misc/plugin/windex.rb misc/plugin/a/a_conf.rb misc/plugin/todo/todo.rb misc/plugin/trackback/tb.rb
28
misc/plugin/windex.rb misc/plugin/a/a_conf.rb misc/plugin/trackback/tb.rb
29
29
30
TDIARYDIR=	${EXAMPLESDIR}
30
TDIARYDIR=	${EXAMPLESDIR}
31
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
31
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
Lines 41-55 Link Here
41
.endif
41
.endif
42
42
43
pre-everything::
43
pre-everything::
44
.if ! ${TDIARY_LANG} == "tdiary.conf-en"
45
	@${ECHO_MSG}
44
	@${ECHO_MSG}
46
	@${ECHO_MSG} "============================================================================="
45
	@${ECHO_MSG} "============================================================================="
47
	@${ECHO_MSG} "You may use the following options:"
46
	@${ECHO_MSG} "When you chose plugin, it becomes necessary.  Use the following options:"
48
	@${ECHO_MSG} "  WITH_TDIARY_UCONV=yes	(RDF file creates  with UTF-8 : output_rdf.rb)"
47
	@${ECHO_MSG} "  WITH_TDIARY_UCONV=yes	(RDF file creates  with UTF-8 : output_rdf.rb)"
49
	@${ECHO_MSG} "  WITH_TDIARY_NORA=yes	(with Referer header support  : disp_referrer.rb)"
48
	@${ECHO_MSG} "  WITH_TDIARY_NORA=yes	(Referer header support       : disp_referrer.rb)"
50
	@${ECHO_MSG} "============================================================================="
49
	@${ECHO_MSG} "============================================================================="
51
	@${ECHO_MSG}
50
	@${ECHO_MSG}
52
.endif
53
51
54
do-install:
52
do-install:
55
	@-${MKDIR} ${TDIARYDIR}
53
	@-${MKDIR} ${TDIARYDIR}
Lines 61-90 Link Here
61
		${FILESDIR}/tdiary-FreeBSD.sh.in > ${TDIARYDIR}/tdiary-FreeBSD.sh
59
		${FILESDIR}/tdiary-FreeBSD.sh.in > ${TDIARYDIR}/tdiary-FreeBSD.sh
62
	@${CHMOD} ugo=rx ${TDIARYDIR}/tdiary-FreeBSD.sh
60
	@${CHMOD} ugo=rx ${TDIARYDIR}/tdiary-FreeBSD.sh
63
	@${CP} -pR ${WRKSRC}/ ${TDIARYDIR}
61
	@${CP} -pR ${WRKSRC}/ ${TDIARYDIR}
64
.if defined(WITH_TDIARY_UCONV)
65
	@${ECHO_MSG} "===>  Option : WITH_TDIARY_UCONV .. Done."
66
	@${INSTALL_DATA} ${WRKSRC}/misc/plugin/output_rdf.rb ${TDIARYDIR}/plugin
67
	@${TOUCH} ${TDIARYDIR}/t.rdf
68
	@${CHMOD} 706 ${TDIARYDIR}/t.rdf
69
	@${ECHO_CMD} '${TDIARYDIR:S|${LOCALBASE}/||}/plugin/output_rdf.rb' >> ${TMPPLIST}
70
	@${ECHO_CMD} '${TDIARYDIR:S|${LOCALBASE}/||}/t.rdf' >> ${TMPPLIST}
71
.endif
72
.if defined(WITH_TDIARY_NORA)
73
	@${ECHO_MSG} "===>  Option : WITH_TDIARY_NORA  .. Done."
74
	@${INSTALL_DATA} ${WRKSRC}/misc/plugin/disp_referrer.rb ${TDIARYDIR}/plugin
75
	@${ECHO_CMD} '${TDIARYDIR:S|${LOCALBASE}/||}/plugin/disp_referrer.rb' >> ${TMPPLIST}
76
.endif
77
	@${INSTALL_DATA} ${WRKSRC}/misc/plugin/comment_mail-sendmail.rb ${TDIARYDIR}/plugin
78
	@${ECHO_CMD} '${TDIARYDIR:S|${LOCALBASE}/||}/plugin/comment_mail-sendmail.rb' >> ${TMPPLIST}
79
.if ${TDIARY_LANG} == tdiary.conf-en
62
.if ${TDIARY_LANG} == tdiary.conf-en
80
	@${ECHO_MSG} "===>  TDIARY : English Language messages support"
63
	@${ECHO_MSG} "===>  TDIARY : English Language messages support"
81
	@${INSTALL_DATA} ${WRKSRC}/misc/i18n/00lang.en.rb ${TDIARYDIR}/plugin
82
	@${ECHO_CMD} '${TDIARYDIR:S|${LOCALBASE}/||}/plugin/00lang.en.rb' >> ${TMPPLIST}
83
	@${RUBY} -i -pe 'sub(/%Y-%m-%d/, "%Y-%m-%d [%a]")' ${TDIARYDIR}/misc/i18n/tdiary.conf.sample-en
64
	@${RUBY} -i -pe 'sub(/%Y-%m-%d/, "%Y-%m-%d [%a]")' ${TDIARYDIR}/misc/i18n/tdiary.conf.sample-en
84
.else
65
.else
85
	@${ECHO_MSG} "===>  TDIARY : Japanese Language messages support"
66
	@${ECHO_MSG} "===>  TDIARY : Japanese Language messages support"
86
	@${INSTALL_DATA} ${WRKSRC}/misc/plugin/jdate.rb ${TDIARYDIR}/plugin
87
	@${ECHO_CMD} '${TDIARYDIR:S|${LOCALBASE}/||}/plugin/jdate.rb' >> ${TMPPLIST}
88
	@${RUBY} -i -pe 'sub(/%Y-%m-%d/, "%Y-%m-%d [%J]")' ${TDIARYDIR}/tdiary.conf.sample
67
	@${RUBY} -i -pe 'sub(/%Y-%m-%d/, "%Y-%m-%d [%J]")' ${TDIARYDIR}/tdiary.conf.sample
89
.endif
68
.endif
90
	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${TDIARYDIR}
69
	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${TDIARYDIR}
(-)/usr/ports/www/tdiary-stable/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (tdiary-full-1.5.5.tar.gz) = f035b1f9a4938ebab06518670704613b
1
MD5 (tdiary-full-1.5.6.tar.gz) = 559fd40263ae7fc76a1792fc71757c8f
(-)/usr/ports/www/tdiary-stable/pkg-message (-3 / +9 lines)
Lines 3-15 Link Here
3
There is a script to install tDiary in a user directory.
3
There is a script to install tDiary in a user directory.
4
This script should be run manually.
4
This script should be run manually.
5
5
6
  # ruby %%EXAMPLESDIR%%/tdiaryinst.rb --user=hoge
6
[Ruby 1.6.x]
7
8
  # ruby %%EXAMPLESDIR%%/tdiaryinst.rb --user=User
7
   or
9
   or
8
  % ruby %%EXAMPLESDIR%%/tdiaryinst.rb
10
  % ruby %%EXAMPLESDIR%%/tdiaryinst.rb
9
11
10
same as script :
12
[Ruby 1.8.x]
11
    %%EXAMPLESDIR%%/tdiary-FreeBSD.sh
13
14
  # %%EXAMPLESDIR%%/tdiary-FreeBSD.sh User
15
   or
16
  % %%EXAMPLESDIR%%/tdiary-FreeBSD.sh install
12
17
18
---
13
There is a document by English in the following directories.
19
There is a document by English in the following directories.
14
  See ...
20
  See ...
15
  %%EXAMPLESDIR%%/misc/i18n/
21
  %%EXAMPLESDIR%%/misc/i18n/

Return to bug 59281