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

(-)/usr/ports/www/tdiary/Makefile (-11 / +10 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	tdiary
8
PORTNAME=	tdiary
9
PORTVERSION=	2.0.2
9
PORTVERSION=	2.0.3
10
PORTREVISION=	1
11
CATEGORIES?=	www ruby
10
CATEGORIES?=	www ruby
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
13
		http://www.tdiary.org/download/
12
		http://www.tdiary.org/download/
Lines 18-28 Link Here
18
COMMENT=	A Web-based diary system (like weblog) written in Ruby
17
COMMENT=	A Web-based diary system (like weblog) written in Ruby
19
18
20
NO_BUILD=	yes
19
NO_BUILD=	yes
21
CONFLICTS?=	ja-tdiary-[0-9]*
20
CONFLICTS?=	tdiary-devel-[0-9]* \
21
		ja-tdiary-[0-9]* \
22
		ja-tdiary-devel-[0-9]*
22
PKGMESSAGE=	${WRKDIR}/pkg-message
23
PKGMESSAGE=	${WRKDIR}/pkg-message
23
USE_RUBY=	yes
24
USE_RUBY=	yes
24
25
25
.if  !defined(WITHOUT_RUBY_FEATURES)
26
.if !defined(WITHOUT_RUBY_FEATURES)
26
USE_RUBY_FEATURES=	fileutils
27
USE_RUBY_FEATURES=	fileutils
27
.endif
28
.endif
28
29
Lines 36-47 Link Here
36
37
37
#TDIARY_LANG	ja:Japanese en:English zh:Traditional-Chinese
38
#TDIARY_LANG	ja:Japanese en:English zh:Traditional-Chinese
38
39
39
.if  !defined(TDIARY_LANG)
40
.if !defined(TDIARY_LANG) || ( defined(TDIARY_LANG) && ${TDIARY_LANG} != ja )
40
TDIARY_LANG=	en
41
TDIARY_LANG=	en
41
.else
42
.if ${TDIARY_LANG} == "tdiary.conf-ja"
43
TDIARY_LANG=	ja
44
.endif
45
.endif
42
.endif
46
.if defined(WITH_TDIARY_UCONV)
43
.if defined(WITH_TDIARY_UCONV)
47
RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/uconv.so:${PORTSDIR}/japanese/ruby-uconv
44
RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/uconv.so:${PORTSDIR}/japanese/ruby-uconv
Lines 49-63 Link Here
49
.if defined(WITH_TDIARY_NORA)
46
.if defined(WITH_TDIARY_NORA)
50
RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/web/escape_ext.so:${PORTSDIR}/www/ruby-nora
47
RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/web/escape_ext.so:${PORTSDIR}/www/ruby-nora
51
.endif
48
.endif
49
52
.include <bsd.port.pre.mk>
50
.include <bsd.port.pre.mk>
53
51
54
.if ${RUBY_VERSION_CODE} < 167
52
.if ${RUBY_VERSION_CODE} < 167
55
IGNORE=		Needs ruby 1.6.7 or higher, check ruby's version and try again
53
IGNORE=		only works with Ruby 1.6.7 or later
56
.endif
54
.endif
57
55
58
do-install:
56
do-install:
59
	@-${MKDIR} ${TDIARYDIR}
57
	@-${MKDIR} ${TDIARYDIR}
60
	@${SED} -e 's,@@@@PREFIX@@@@,${PREFIX},g' \
58
	@${SED} -e 's,#!/usr/bin/env ruby,#!${RUBY},' \
59
		-e 's,@@@@PREFIX@@@@,${PREFIX},g' \
61
		-e 's,@@@@LANG@@@@,${TDIARY_LANG},g' \
60
		-e 's,@@@@LANG@@@@,${TDIARY_LANG},g' \
62
		${FILESDIR}/tdiaryinst.rb.in > ${TDIARYDIR}/tdiaryinst.rb
61
		${FILESDIR}/tdiaryinst.rb.in > ${TDIARYDIR}/tdiaryinst.rb
63
	@${CP} -pR ${WRKSRC}/ ${TDIARYDIR}
62
	@${CP} -pR ${WRKSRC}/ ${TDIARYDIR}
(-)/usr/ports/www/tdiary/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (tdiary-full-2.0.2.tar.gz) = 1c4d1dd765d10b4d074b3bc50d2e65ff
1
MD5 (tdiary-full-2.0.3.tar.gz) = 291119b2ccac6c9ede339c0a03d4d13c
2
SHA256 (tdiary-full-2.0.2.tar.gz) = d0e0d29b24be6e8e0c334969ff50fffaabedc0391cc9096de6f2b0bc597e9a7f
2
SHA256 (tdiary-full-2.0.3.tar.gz) = 7f98121758f00706db641a6782d06e7bd438f627b7c4947926567854d417e91b
3
SIZE (tdiary-full-2.0.2.tar.gz) = 2121313
3
SIZE (tdiary-full-2.0.3.tar.gz) = 2128791
(-)/usr/ports/www/tdiary/files/pkg-message.in (-5 / +3 lines)
Lines 11-21 Link Here
11
	   --help   Display Help information
11
	   --help   Display Help information
12
12
13
---
13
---
14
There is a document by English in the following directories.
14
There are documents in the following directories.
15
  See ...
15
  See ...
16
  %%EXAMPLESDIR%%/doc/
16
  %%EXAMPLESDIR%%/misc/i18n/
17
  %%EXAMPLESDIR%%/misc/i18n/
17
   and
18
  Explanation by English of a tDiary system can refer to the following page :
19
20
  http://tdiary-users.sourceforge.jp/cgi-bin/wiki.cgi?FrontPage_en
21
=============================================================================
18
=============================================================================
19

Return to bug 106208