head	1.29;
access;
symbols
	RELEASE_8_1_0:1.28
	RELEASE_7_3_0:1.27
	RELEASE_8_0_0:1.27
	RELEASE_7_2_0:1.25
	RELEASE_7_1_0:1.24
	RELEASE_6_4_0:1.24
	RELEASE_5_EOL:1.24
	RELEASE_7_0_0:1.23
	RELEASE_6_3_0:1.23
	PRE_XORG_7:1.23
	RELEASE_4_EOL:1.23
	RELEASE_6_2_0:1.21
	RELEASE_6_1_0:1.18
	RELEASE_5_5_0:1.18
	RELEASE_6_0_0:1.16
	old_RELEASE_5_4_0:1.13
	old_RELEASE_4_11_0:1.13
	old_RELEASE_5_3_0:1.13
	old_RELEASE_4_10_0:1.11
	old_RELEASE_5_2_1:1.8
	old_RELEASE_5_2_0:1.8
	old_RELEASE_4_9_0:1.5;
locks; strict;
comment	@# @;


1.29
date	2010.09.12.03.08.44;	author tota;	state dead;
branches;
next	1.28;

1.28
date	2010.03.25.13.32.33;	author tota;	state Exp;
branches;
next	1.27;

1.27
date	2009.09.12.03.13.29;	author tota;	state Exp;
branches;
next	1.26;

1.26
date	2009.06.13.15.18.38;	author erwin;	state dead;
branches;
next	1.25;

1.25
date	2008.12.19.20.28.38;	author pav;	state Exp;
branches;
next	1.24;

1.24
date	2007.12.18.16.05.48;	author pav;	state Exp;
branches;
next	1.23;

1.23
date	2006.12.14.11.04.36;	author miwi;	state Exp;
branches;
next	1.22;

1.22
date	2006.12.02.16.43.50;	author miwi;	state Exp;
branches;
next	1.21;

1.21
date	2006.09.19.15.18.06;	author garga;	state Exp;
branches;
next	1.20;

1.20
date	2006.05.03.13.34.15;	author vs;	state Exp;
branches;
next	1.19;

1.19
date	2006.05.02.11.26.31;	author vs;	state Exp;
branches;
next	1.18;

1.18
date	2005.09.28.17.46.48;	author novel;	state Exp;
branches;
next	1.17;

1.17
date	2005.09.15.20.48.00;	author pav;	state Exp;
branches;
next	1.16;

1.16
date	2005.07.21.09.39.46;	author pav;	state Exp;
branches;
next	1.15;

1.15
date	2005.06.11.11.23.37;	author pav;	state Exp;
branches;
next	1.14;

1.14
date	2005.04.13.07.43.36;	author vs;	state Exp;
branches;
next	1.13;

1.13
date	2004.06.27.14.24.48;	author pav;	state Exp;
branches;
next	1.12;

1.12
date	2004.05.06.13.13.10;	author pav;	state Exp;
branches;
next	1.11;

1.11
date	2004.03.01.17.01.10;	author pav;	state Exp;
branches;
next	1.10;

1.10
date	2003.12.13.13.09.36;	author kuriyama;	state Exp;
branches;
next	1.9;

1.9
date	2003.12.09.02.48.11;	author linimon;	state Exp;
branches;
next	1.8;

1.8
date	2003.11.15.09.19.23;	author knu;	state Exp;
branches;
next	1.7;

1.7
date	2003.11.09.12.59.57;	author jeh;	state Exp;
branches;
next	1.6;

1.6
date	2003.11.02.04.02.07;	author marcus;	state Exp;
branches;
next	1.5;

1.5
date	2003.08.10.01.45.07;	author leeym;	state Exp;
branches;
next	1.4;

1.4
date	2003.07.29.05.53.24;	author daichi;	state Exp;
branches;
next	1.3;

1.3
date	2003.07.21.04.04.01;	author yoichi;	state Exp;
branches;
next	1.2;

1.2
date	2003.06.17.13.20.23;	author daichi;	state Exp;
branches;
next	1.1;

1.1
date	2003.06.01.13.59.06;	author yoichi;	state Exp;
branches;
next	;


desc
@@


1.29
log
@- Remove japanese/tdiary-devel, doesn't make sense to keep -devel port
- Remove www/tdiary-devel, doesn't make sense to keep -devel port
@
text
@# New ports collection makefile for:    tdiary-devel
# Date created:                 9 June 2005
# Whom:                         Fumihiko Kimura <jfkimura@@yahoo.co.jp>
#
# $FreeBSD: ports/www/tdiary-devel/Makefile,v 1.28 2010/03/25 13:32:33 tota Exp $
#

PORTNAME=	tdiary
PORTVERSION=	2.3.3
CATEGORIES?=	www ruby
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/ \
		http://www.tdiary.org/download/
PKGNAMESUFFIX=	-devel
DISTNAME=	${PORTNAME}-full-${PORTVERSION}

MAINTAINER=	tota@@FreeBSD.org
COMMENT=	A Web-based diary system (like weblog) written in Ruby

.if defined(WITH_FCGI)
RUN_DEPENDS=	${RUBY_SITELIBDIR}/fcgi.rb:${PORTSDIR}/www/ruby-fcgi
.endif

NO_BUILD=	yes
USE_RUBY=	yes
RUBY_REQUIRE=	Ruby >= 182
PORTSCOUT=	limitw:1,odd

RUBY_SHEBANG_FILES=	index.fcgi \
			index.rb \
			update.rb \
			misc/convert2.rb \
			misc/migrate.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 \
			theme/themebench.rhtml

PORTDOCS=	ChangeLog COPYING HOWTO-make-io.rd HOWTO-make-plugin.html \
		HOWTO-make-theme.html HOWTO-use-plugin.html \
		HOWTO-write-tDiary.en.html HOWTO-write-tDiary.html INSTALL.html \
		README.en.html README.html UPGRADE doc.css

SUB_FILES=	pkg-message tdiaryinst.rb
SUB_LIST+=	TDIARY_LANG=${TDIARY_LANG} \
		TDIARY_SCRIPT=${TDIARY_SCRIPT}
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
DOCSDIR=	${PREFIX}/share/doc/${UNIQUENAME}${PKGNAMESUFFIX}
WWWDIR=		${PREFIX}/www/${UNIQUENAME}${PKGNAMESUFFIX}

TDIARY_SCRIPT=	${UNIQUENAME}${PKGNAMESUFFIX}-inst.rb

#TDIARY_LANG	ja:Japanese en:English zh:Traditional-Chinese
.if !defined(TDIARY_LANG) || ( defined(TDIARY_LANG) && ${TDIARY_LANG} != ja )
TDIARY_LANG=	en
.endif

.include <bsd.port.pre.mk>

.if ${RUBY_VER} == 1.9
.if !defined(RUBY_PROVIDED)
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
.endif

post-extract:
	@@cd ${WRKSRC} && ${RM} -f README && ${MV} ChangeLog doc
	@@cd ${WRKSRC} && ${MV} doc ${WRKDIR}

pre-install:
	@@${SED} -e 's,#!/usr/bin/env ruby,#!${RUBY},' \
		${WRKDIR}/tdiaryinst.rb > ${WRKDIR}/${TDIARY_SCRIPT}

do-install:
	@@${INSTALL_SCRIPT} ${WRKDIR}/${TDIARY_SCRIPT} ${PREFIX}/bin
	@@-${MKDIR} ${WWWDIR}
	@@${CP} -pR ${WRKSRC}/ ${WWWDIR}
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}

post-install:
	@@${ECHO_CMD} '@@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' >> ${TMPPLIST}
	@@${ECHO_CMD} bin/${TDIARY_SCRIPT} >> ${TMPPLIST}
.if !defined(NOPORTDOCS)
	@@${INSTALL} -d ${DOCSDIR}
	@@cd ${WRKDIR}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.28
log
@- Fix MASTER_SITES to make fetchable from SF.net

Approved by:	maho (mentor)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.27
log
@- Drag from attic
- Update to 2.3.3
- Fix install paths as they should have been
- Remove CONFLICTS
- Change MAINTAINER address from tota@@rtfm.jp to tota@@FreeBSD.org
- Remove the MOVED entry

Approved by:	maho (mentor)
@
text
@d11 2
a12 2
MASTER_SITES=	http://www.tdiary.org/download/ \
		SF
@


1.26
log
@Remove www/tdiary-devel: has been forbidden for more than 17 months
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/tdiary-devel/Makefile,v 1.25 2008/12/19 20:28:38 pav Exp $
d9 1
a9 2
PORTVERSION=	2.1.4
PORTREVISION=	2
d11 2
a12 3
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
		http://www.tdiary.org/download/
MASTER_SITE_SUBDIR=	${PORTNAME}
d16 1
a16 4
PATCH_SITES=	http://www.tdiary.org/download/
PATCHFILES=	tdiary.20061126.patch tdiary.20061210.patch

MAINTAINER=	tota@@rtfm.jp
d19 3
a21 3
FORBIDDEN=	contains a vulnerability: http://www.tdiary.org/20071215.html written in Japanese
DEPRECATED=	has been forbidden for more than 6 months
EXPIRATION_DATE=2009-01-19
a23 4
CONFLICTS?=	tdiary-[0-9]* \
		ja-tdiary-[0-9]* \
		ja-tdiary-devel-[0-9]*
PKGMESSAGE=	${WRKDIR}/pkg-message
d25 2
a26 2
RUBY_VER=	1.8
#TDIARY_LANG	ja:Japanese en:English zh:Traditional-Chinese
d28 5
a32 1
RUBY_SHEBANG_FILES=	index.rb update.rb misc/convert2.rb misc/plugin/squeeze.rb \
d34 19
a52 2
			misc/plugin/trackback/tb.rb misc/style/etdiary/etdiary_test.rb \
			misc/plugin/pingback/pb.rb misc/plugin/xmlrpc/xmlrpc.rb
d54 1
a54 3
PLIST_FILES=	${TDIARYDIR:S|${LOCALBASE}/||}/tdiaryinst.rb
TDIARYDIR=	${EXAMPLESDIR}${PKGNAMESUFFIX}
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
d56 2
a57 1
.if !defined(TDIARY_LANG) || ${TDIARY_LANG} != ja
d60 12
a71 2
.if defined(WITH_TDIARY_UCONV)
RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/uconv.so:${PORTSDIR}/japanese/ruby-uconv
d73 1
a73 1
.if defined(WITH_TDIARY_NORA)
d76 1
a76 1
.include <bsd.port.pre.mk>
d78 3
a80 3
.if ${RUBY_VERSION_CODE} < 182
IGNORE=		only works with Ruby 1.8.2 or later
.endif
d82 3
a84 2
post-patch:
	@@${FIND} ${WRKSRC} -name "*.orig" -type f -exec ${RM} -f {} \;
d87 4
a90 9
	@@-${MKDIR} ${TDIARYDIR}
	@@${SED} -e 's,#!/usr/bin/env ruby,#!${RUBY},' \
		-e 's,@@@@@@@@PREFIX@@@@@@@@,${PREFIX},g' \
		-e 's,@@@@@@@@TDIARY@@@@@@@@,${PORTNAME}${PKGNAMESUFFIX},g' \
		-e 's,@@@@@@@@LANG@@@@@@@@,${TDIARY_LANG},g' \
		${FILESDIR}/tdiaryinst.rb.in > ${TDIARYDIR}/tdiaryinst.rb
	@@${CP} -pR ${WRKSRC}/ ${TDIARYDIR}
	@@${RUBY} -i -pe 'sub(/%Y-%m-%d/, "%Y-%m-%d [%a]")' ${TDIARYDIR}/misc/i18n/tdiary.conf.sample-en
	@@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${TDIARYDIR}
d93 6
a98 3
	@@cd ${WRKSRC} && ${FIND} . -type f -o -type l | ${SED} -e 's,^\.,${TDIARYDIR:S|${LOCALBASE}/||},' >> ${TMPPLIST}
	@@cd ${WRKSRC} && ${FIND} . -type d -depth  | ${SED} -e 's,^\.,@@dirrm ${TDIARYDIR:S|${LOCALBASE}/||},' >> ${TMPPLIST}
	@@${SED}	-e 's|%%EXAMPLESDIR%%|${TDIARYDIR}|' < ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
@


1.25
log
@- This port has been FORBIDDEN for more than 6 months.  Set to expire in one
  month, unless fixed.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.24
log
@- Mark FORBIDDEN: contains a security vulnerability

PR:		ports/118775
Submitted by:	TAKATSU Tomonari <tota@@rtfm.jp> (maintainer)
@
text
@d25 2
@


1.23
log
@- Update to 2.1.4.20061126

PR:		ports/106687
Submitted by:	TAKATSU Tomonari <tota@@rtfm.jp> (maintainer)
Security:	http://www.vuxml.org/freebsd/fefd93d8-8af5-11db-9d01-0016179b2dd5.html
@
text
@d24 2
@


1.22
log
@- Update to 2.1.4

PR:		ports/106209
Submitted by:	TAKATSU Tomonari <tota@@rtfm.jp> (maintainer)
Security:	http://www.vuxml.org/freebsd/666b8c9e-8212-11db-851e-0016179b2dd5.html
@
text
@d10 1
a10 1
PORTREVISION=	1
d19 1
a19 1
PATCHFILES=	tdiary.20061126.patch
@


1.21
log
@Pass maintainership to TAKATSU Tomonari <tota@@rtfm.jp>

PR:		ports/103372
Submitted by:	Fumihiko Kimura <jfkimura@@yahoo.co.jp> (ex-maintainer)
@
text
@d10 1
d18 3
d25 3
a27 1
CONFLICTS?=	ja-tdiary-devel-[0-9]*
d42 1
a42 1
.if  !defined(TDIARY_LANG)
d54 1
a54 1
IGNORE=		needs ruby 1.8.2 or higher, install lang/ruby18 and try again
d57 3
d62 2
a63 1
	@@${SED} -e 's,@@@@@@@@PREFIX@@@@@@@@,${PREFIX},g' \
@


1.20
log
@Add CONFLICTS which got lost on the previous update.

PR:		ports/96666
Submitted by:	maintainer
@
text
@d17 1
a17 1
MAINTAINER=	jfkimura@@yahoo.co.jp
@


1.19
log
@Update to 2.1.4

PR:		ports/96034
Submitted by:	maintainer
@
text
@d21 1
@


1.18
log
@Update to 2.1.3.

PR:		86683
Submitted by:	Fumihiko Kimura (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.1.3
a20 1
CONFLICTS?=	ja-tdiary-devel-[0-9]*
d27 1
a27 1
			misc/plugin/amazon/amazonimg.rb misc/plugin/rast-register.rb \
d47 1
a47 1
IGNORE=		Needs ruby 1.8.2 or higher, install lang/ruby18 and try again
@


1.17
log
@- Fix a bug in the installer

PR:		ports/84867
Submitted by:	Fumihiko Kimura <jfkimura@@yahoo.co.jp> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	2.1.2
PORTREVISION=	1
d28 1
a28 1
			misc/plugin/windex.rb misc/plugin/rast-register.rb \
@


1.16
log
@- Update to 2.1.2

PR:		ports/83828
Submitted by:	Fumihiko Kimura <jfkimura@@yahoo.co.jp> (maintainer)
Security:	http://jvn.jp/jp/JVN%2360776919/index.html
@
text
@d10 1
@


1.15
log
@- After repocopy from www/tdiary, add tdiary-devel at 2.1.1

PR:		ports/82098
Submitted by:	Fumihiko Kimura <jfkimura@@yahoo.co.jp>
Repocopy by:	marcus
@
text
@d9 1
a9 1
PORTVERSION=	2.1.1
d25 1
d37 1
a37 1
TDIARY_LANG=	tdiary.conf-en
a57 2
.if ${TDIARY_LANG} == tdiary.conf-en
	@@${ECHO_MSG} "===>  TDIARY : English Language messages support"
a58 6
.else
	@@${ECHO_MSG} "===>  TDIARY : Japanese Language messages support"
	@@${RUBY} -i -pe 'sub(/%Y-%m-%d/, "%Y-%m-%d [%J]")' ${TDIARYDIR}/tdiary.conf.sample
	@@${ECHO_MSG}
	@@${ECHO_MSG} "===>  When you install in home directory, let's choose plugin of 'jdate.rb' to just display 'YOUBI'."
.endif
@


1.14
log
@Update 2.0.1:
- some bugs fixed
- add mobile phones of new Vodafone to mobile mode

PR:		ports/79419
Submitted by:	Fumihiko Kimura
@
text
@d1 2
a2 2
# New ports collection makefile for:    tdiary
# Date created:                 21 May 2003
d9 1
a9 1
PORTVERSION=	2.0.1
d11 1
a11 2
MASTER_SITES=	\
		${MASTER_SITE_SOURCEFORGE} \
d14 1
d20 5
a24 7
NO_BUILD=		yes
CONFLICTS?=		ja-tdiary-*
PKGMESSAGE=		${WRKDIR}/pkg-message
USE_RUBY=		yes
.if  !defined(WITHOUT_RUBY_FEATURES)
USE_RUBY_FEATURES=	fileutils
.endif
d27 3
a29 2
			misc/plugin/windex.rb \
			misc/plugin/trackback/tb.rb misc/style/etdiary/etdiary_test.rb
d31 2
a32 1
TDIARYDIR=	${EXAMPLESDIR}
d34 1
a37 1

d44 5
d53 1
d63 2
d71 1
a71 1
	@@${SED}	-e 's|%%EXAMPLESDIR%%|${EXAMPLESDIR}|' < ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
d74 1
a74 1
.include <bsd.port.mk>
@


1.13
log
@- Update to 2.0.0

PR:		ports/68406, ports/68410
Submitted by:	Fumihiko Kimura <jfkimura@@yahoo.co.jp> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.0.0
d29 1
a29 1
			misc/plugin/windex.rb misc/plugin/a/a_conf.rb \
@


1.12
log
@- Update to 1.5.7

PR:		ports/66321
Submitted by:	Fumihiko Kimura <jfkimura@@yahoo.co.jp> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.5.7
d21 1
a21 1
CONFLICTS?=		ja-tdiary-1.*
d29 2
a30 1
misc/plugin/windex.rb misc/plugin/a/a_conf.rb misc/plugin/trackback/tb.rb
a43 9

pre-everything::
	@@${ECHO_MSG}
	@@${ECHO_MSG} "============================================================================="
	@@${ECHO_MSG} "When you chose plugin, it becomes necessary.  Use the following options:"
	@@${ECHO_MSG} "  WITH_TDIARY_UCONV=yes	(RDF file creates  with UTF-8 : output_rdf.rb)"
	@@${ECHO_MSG} "  WITH_TDIARY_NORA=yes	(Referer header support       : disp_referrer.rb)"
	@@${ECHO_MSG} "============================================================================="
	@@${ECHO_MSG}
@


1.11
log
@- Make this work with ruby 1.8

PR:		ports/63458
Submitted by:	Fumihiko Kimura <jfkimura@@yahoo.co.jp> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	1.5.6
PORTREVISION=	2
d14 1
a14 1
MASTER_SITE_SUBDIR=	sourceforge/${PORTNAME}
d28 1
a28 1
RUBY_SHEBANG_FILES=	index.rb update.rb misc/convert2.rb misc/posttdiary.rb misc/plugin/squeeze.rb \
a57 4
	@@${SED} -e 's,@@@@@@@@PREFIX@@@@@@@@,${PREFIX},g' \
		-e 's,@@@@@@@@LANG@@@@@@@@,${TDIARY_LANG},g' \
		${FILESDIR}/tdiary-FreeBSD.sh.in > ${TDIARYDIR}/tdiary-FreeBSD.sh
	@@${CHMOD} ugo=rx ${TDIARYDIR}/tdiary-FreeBSD.sh
@


1.10
log
@* Fix pkg-message generation on read-only filesystem.
* Add CONFICT to www/tdiary and japanese/tdiary.

PR:		ports/60201
Submitted by:	Fumihiko Kimura <jfkimura@@yahoo.co.jp> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.9
log
@Fix a security related problem in tDiary 1.5.6, see
http://www.tdiary.org/20031119.html (Japanese-language) for details.
It only happened in the following case:

 * "@@secure = true" in setting file (tdiary.conf)
 * output_rdf.rb or tb-send.rb by plugin choice

PR:		ports/59451
Submitted by:	Fumihiko Kimura <jfkimura@@yahoo.co.jp> (maintainer)
@
text
@d22 2
@


1.8
log
@Update to 1.5.6.

PR:		ports/59281
Submitted by:	Fumihiko Kimura <jfkimura@@yahoo.co.jp> (MAINTAINER)
@
text
@d10 1
d74 2
a75 1
	@@${SED} -e "s,%%EXAMPLESDIR%%,${EXAMPLESDIR},g" ${PKGMESSAGE}
@


1.7
log
@- Problem Report ports/58268
- Other revisions

PR:		58549
Submitted By:	MAINTAINER
@
text
@d9 1
a9 2
PORTVERSION=	1.5.5
PORTREVISION=	1
d26 2
a27 2
RUBY_SHEBANG_FILES=	index.rb update.rb misc/convert2.rb misc/posttdiary.rb misc/plugin/squeeze.rb misc/plugin/weather.rb \
misc/plugin/windex.rb misc/plugin/a/a_conf.rb misc/plugin/todo/todo.rb misc/plugin/trackback/tb.rb
a42 1
.if ! ${TDIARY_LANG} == "tdiary.conf-en"
d45 1
a45 1
	@@${ECHO_MSG} "You may use the following options:"
d47 1
a47 1
	@@${ECHO_MSG} "  WITH_TDIARY_NORA=yes	(with Referer header support  : disp_referrer.rb)"
a49 1
.endif
a60 15
.if defined(WITH_TDIARY_UCONV)
	@@${ECHO_MSG} "===>  Option : WITH_TDIARY_UCONV .. Done."
	@@${INSTALL_DATA} ${WRKSRC}/misc/plugin/output_rdf.rb ${TDIARYDIR}/plugin
	@@${TOUCH} ${TDIARYDIR}/t.rdf
	@@${CHMOD} 706 ${TDIARYDIR}/t.rdf
	@@${ECHO_CMD} '${TDIARYDIR:S|${LOCALBASE}/||}/plugin/output_rdf.rb' >> ${TMPPLIST}
	@@${ECHO_CMD} '${TDIARYDIR:S|${LOCALBASE}/||}/t.rdf' >> ${TMPPLIST}
.endif
.if defined(WITH_TDIARY_NORA)
	@@${ECHO_MSG} "===>  Option : WITH_TDIARY_NORA  .. Done."
	@@${INSTALL_DATA} ${WRKSRC}/misc/plugin/disp_referrer.rb ${TDIARYDIR}/plugin
	@@${ECHO_CMD} '${TDIARYDIR:S|${LOCALBASE}/||}/plugin/disp_referrer.rb' >> ${TMPPLIST}
.endif
	@@${INSTALL_DATA} ${WRKSRC}/misc/plugin/comment_mail-sendmail.rb ${TDIARYDIR}/plugin
	@@${ECHO_CMD} '${TDIARYDIR:S|${LOCALBASE}/||}/plugin/comment_mail-sendmail.rb' >> ${TMPPLIST}
a62 2
	@@${INSTALL_DATA} ${WRKSRC}/misc/i18n/00lang.en.rb ${TDIARYDIR}/plugin
	@@${ECHO_CMD} '${TDIARYDIR:S|${LOCALBASE}/||}/plugin/00lang.en.rb' >> ${TMPPLIST}
a65 2
	@@${INSTALL_DATA} ${WRKSRC}/misc/plugin/jdate.rb ${TDIARYDIR}/plugin
	@@${ECHO_CMD} '${TDIARYDIR:S|${LOCALBASE}/||}/plugin/jdate.rb' >> ${TMPPLIST}
@


1.6
log
@Fix issues with CATEGORIES not listing the enclosing directory as the
primary category.

Submitted by:	Oliver Eikemeier <eikemeier@@fillmore-labs.com>
@
text
@d10 1
a10 1
#PORTREVISION=	0
d21 4
a24 5
.if defined(WITH_TDIARY_UCONV)
RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/uconv.so:${PORTSDIR}/japanese/ruby-uconv
.endif
.if defined(WITH_TDIARY_NORA)
RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/web/escape_ext.so:${PORTSDIR}/www/ruby-nora
a26 2
NO_BUILD=	yes
USE_RUBY=	yes
a31 1

d36 7
d44 1
d46 1
a46 1
	@@${ECHO_MSG} "============================================================="
d48 3
d52 1
a52 5
	@@${ECHO_MSG} "WITH_TDIARY_UCONV=yes	(with UTF-8 support : output_rdf.rb)"
	@@${ECHO_MSG} "WITH_TDIARY_NORA=yes	(with Referer header support : disp_referrer.rb)"
	@@${ECHO_MSG}
	@@${ECHO_MSG} "============================================================="
	@@${ECHO_MSG}
d55 1
a55 2
#	@@if [ -d ${TDIARYDIR} ]; then ${RM} -rf ${TDIARYDIR}; fi
	-${MKDIR} ${TDIARYDIR}
d63 1
a63 1
	${CP} -pR ${WRKSRC}/ ${TDIARYDIR}
d65 6
a70 1
	${INSTALL_DATA} ${WRKSRC}/misc/plugin/output_rdf.rb ${TDIARYDIR}/plugin
d73 3
a75 1
	${INSTALL_DATA} ${WRKSRC}/misc/plugin/disp_referrer.rb ${TDIARYDIR}/plugin
d77 2
a78 1
	${INSTALL_DATA} ${WRKSRC}/misc/plugin/comment_mail-sendmail.rb ${TDIARYDIR}/plugin
d80 9
a88 1
	${INSTALL_DATA} ${WRKSRC}/misc/i18n/00lang.en.rb ${TDIARYDIR}/plugin
d93 3
a95 13
	@@cd ${WRKSRC} && ${FIND} . -type f -o -type l | ${SED} -e 's,^\.,share/examples/${PORTNAME},' >> ${TMPPLIST}
.if defined(WITH_TDIARY_UCONV)
	@@${ECHO} 'share/examples/${PORTNAME}/plugin/output_rdf.rb' >> ${TMPPLIST}
.endif
.if defined(WITH_TDIARY_NORA)
	@@${ECHO} 'share/examples/${PORTNAME}/plugin/disp_referrer.rb' >> ${TMPPLIST}
.endif
	@@${ECHO} 'share/examples/${PORTNAME}/plugin/comment_mail-sendmail.rb' >> ${TMPPLIST}
.if ${TDIARY_LANG} == tdiary.conf-en
	@@${ECHO} 'share/examples/${PORTNAME}/plugin/00lang.en.rb' >> ${TMPPLIST}
.endif
	@@cd ${WRKSRC} && ${FIND} . -type d -depth  | ${SED} -e 's,^\.,@@dirrm share/examples/${PORTNAME},' >> ${TMPPLIST}
	@@${SED} -e "s,@@@@@@@@PREFIX@@@@@@@@,${PREFIX},g" ${PKGMESSAGE}
@


1.5
log
@Update www/tdiary (maintainer): 1.5.4 --> 1.5.5

PR:		55422
Submitted by:	Fumihiko Kimura <jfkimura@@yahoo.co.jp>
@
text
@d11 1
a11 1
CATEGORIES=	www ruby
@


1.4
log
@update www/tdiary:
  - Change of an installation script
  - add RUBY_SHEBANG_FILES to Makefile

PR:		55000
Submitted by:	Fumihiko Kimura <jfkimura@@yahoo.co.jp> (maintainer)
@
text
@d9 2
a10 2
PORTVERSION=	1.5.4
PORTREVISION=	3
d33 1
a33 1
TDIARYDIR=	${PREFIX}/share/examples/${PORTNAME}
d83 1
a83 1
.if ${TDIARY_LANG} == tdiary.conf-en	
@


1.3
log
@Copy japanese/tdiary to www/tdiary
www/tdiary installs setup script to set default language to English
japanese/tdiary installs one to set default language to Japanese

PR:		ports/54306
Submitted by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	2
d30 2
d52 5
a56 2
	@@if [ -d ${TDIARYDIR} ]; then ${RM} -rf ${TDIARYDIR}; fi
	${MKDIR} ${TDIARYDIR}
@


1.2
log
@Committed. Thanks!

Update ports: japanese/tdiary to 1.5.4_1
   1. add 'www' category
   2. Adjustment of Makefile and script

PR:		53394
Approved by:	Fumihiko Kimura <jfkimura@@yahoo.co.jp> (maintainer)
@
text
@d10 2
a11 2
PORTREVISION=	1
CATEGORIES=	japanese ruby www
d32 1
d34 3
a36 1
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
d53 1
d63 4
d76 4
@


1.1
log
@Add tdiary, a Web-based diary system (like weblog) written in Ruby

PR:		ports/52613
Submitted by:	Fumihiko Kimura
@
text
@d10 5
a14 2
CATEGORIES=	japanese ruby
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
d16 1
a16 1
DISTNAME=	${PORTNAME}-full-${PORTVERSION:R}.${PORTVERSION:E}
d33 1
a33 1
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:R}.${PORTVERSION:E}
d49 3
a51 3
	${SED} -e 's,@@@@@@@@PREFIX@@@@@@@@,${PREFIX},g' \
	${FILESDIR}/tdiary-FreeBSD.sh.in > ${TDIARYDIR}/tdiary-FreeBSD.sh
	${CHMOD} ugo=rx ${TDIARYDIR}/tdiary-FreeBSD.sh
d62 1
a62 1
	@@cd ${WRKSRC} && ${FIND} . -type f -o -type l | ${SED} 's,^\.,share/examples/${PORTNAME},' | sort >> ${TMPPLIST}
d64 1
a64 1
	@@cd ${WRKSRC} && ${ECHO} 'share/examples/${PORTNAME}/plugin/output_rdf.rb' >> ${TMPPLIST}
d67 1
a67 1
	@@cd ${WRKSRC} && ${ECHO} 'share/examples/${PORTNAME}/plugin/disp_referrer.rb' >> ${TMPPLIST}
d69 2
a70 2
	@@cd ${WRKSRC} && ${FIND} . -type d -depth | ${SED} 's,^\.,@@dirrm share/examples/${PORTNAME},' >> ${TMPPLIST}
	@@${CAT} ${PKGMESSAGE}
@

