- Update to 2.2.0
- Use SF macro PR: ports/118772 Submitted by: TAKATSU Tomonari <tota@rtfm.jp> (maintainer) Approved by: linimon (mentor)
This commit is contained in:
parent
025f5cfe04
commit
06bd05bf18
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=204881
@ -6,11 +6,10 @@
|
||||
#
|
||||
|
||||
PORTNAME= tdiary
|
||||
PORTVERSION= 2.0.4
|
||||
PORTVERSION= 2.2.0
|
||||
CATEGORIES?= www ruby
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
MASTER_SITES= SF \
|
||||
http://www.tdiary.org/download/
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
DISTNAME= ${PORTNAME}-full-${PORTVERSION}
|
||||
|
||||
MAINTAINER= tota@rtfm.jp
|
||||
@ -23,13 +22,11 @@ CONFLICTS?= tdiary-devel-[0-9]* \
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
USE_RUBY= yes
|
||||
|
||||
.if !defined(WITHOUT_RUBY_FEATURES)
|
||||
USE_RUBY_FEATURES= fileutils
|
||||
.endif
|
||||
|
||||
RUBY_SHEBANG_FILES= index.rb update.rb misc/convert2.rb misc/plugin/squeeze.rb \
|
||||
misc/plugin/windex.rb \
|
||||
misc/plugin/trackback/tb.rb misc/style/etdiary/etdiary_test.rb
|
||||
RUBY_SHEBANG_FILES= index.rb update.rb misc/convert2.rb \
|
||||
misc/plugin/amazon/amazonimg.rb misc/plugin/pingback/pb.rb \
|
||||
misc/plugin/squeeze.rb misc/plugin/trackback/tb.rb \
|
||||
misc/plugin/xmlrpc/xmlrpc.rb misc/style/etdiary/etdiary_test.rb \
|
||||
tdiary/wiki_style_test.rb
|
||||
|
||||
PLIST_FILES= ${TDIARYDIR:S|${LOCALBASE}/||}/tdiaryinst.rb
|
||||
TDIARYDIR= ${EXAMPLESDIR}
|
||||
@ -43,16 +40,10 @@ TDIARY_LANG= en
|
||||
.if defined(WITH_TDIARY_UCONV)
|
||||
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/uconv.so:${PORTSDIR}/japanese/ruby-uconv
|
||||
.endif
|
||||
.if defined(WITH_TDIARY_NORA)
|
||||
.if !defined(WITHOUT_TDIARY_NORA)
|
||||
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/web/escape_ext.so:${PORTSDIR}/www/ruby-nora
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${RUBY_VERSION_CODE} < 167
|
||||
IGNORE= only works with Ruby 1.6.7 or later
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@-${MKDIR} ${TDIARYDIR}
|
||||
@${SED} -e 's,#!/usr/bin/env ruby,#!${RUBY},' \
|
||||
@ -74,4 +65,4 @@ post-install:
|
||||
@${SED} -e 's|%%EXAMPLESDIR%%|${EXAMPLESDIR}|' < ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (tdiary-full-2.0.4.tar.gz) = 8c6a5768cdbcedaa5e643ef79d8713a7
|
||||
SHA256 (tdiary-full-2.0.4.tar.gz) = 850f7b78ff0bfd35f533226f69064cc189628dda96e823d924ec28f5931acfe6
|
||||
SIZE (tdiary-full-2.0.4.tar.gz) = 2128834
|
||||
MD5 (tdiary-full-2.2.0.tar.gz) = 3fffc82a8ff3972a3bb036ed74202220
|
||||
SHA256 (tdiary-full-2.2.0.tar.gz) = 7b9089a2a879df283f5958caa34e632434a06daa321ccfe3c498bf59241e7f9b
|
||||
SIZE (tdiary-full-2.2.0.tar.gz) = 3862083
|
||||
|
@ -218,7 +218,6 @@ class TdiaryInstall
|
||||
|
||||
def copyBaseFile
|
||||
FileUtils16.cp_r("#{@tdiarymaster}/doc", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", :preserve, *@fileutilOptions)
|
||||
FileUtils16.cp_r("#{@tdiarymaster}/erb", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", :preserve, *@fileutilOptions)
|
||||
FileUtils16.cp_r("#{@tdiarymaster}/misc", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", :preserve, *@fileutilOptions)
|
||||
FileUtils16.cp_r("#{@tdiarymaster}/plugin", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", :preserve, *@fileutilOptions)
|
||||
FileUtils16.cp_r("#{@tdiarymaster}/skel", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", :preserve, *@fileutilOptions)
|
||||
|
@ -1,7 +1,7 @@
|
||||
tDiary is a Web-based interface system that works as a personal diary.
|
||||
It is possible for diary readers to add comments to your diary.
|
||||
|
||||
- require Ruby 1.6.7 or later
|
||||
- require Ruby 1.8.0 or later
|
||||
- currently supported: Japanese, English, Traditional-Chinese
|
||||
|
||||
tDiary is developed on http://sourceforge.net/projects/tdiary/ .
|
||||
|
Loading…
Reference in New Issue
Block a user