From 5d8884909960b9823dd8b16be4137a6b42ed7a17 Mon Sep 17 00:00:00 2001 From: daichi Date: Tue, 29 Jul 2003 05:53:24 +0000 Subject: update www/tdiary: - Change of an installation script - add RUBY_SHEBANG_FILES to Makefile PR: 55000 Submitted by: Fumihiko Kimura (maintainer) --- www/tdiary/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'www/tdiary/Makefile') diff --git a/www/tdiary/Makefile b/www/tdiary/Makefile index c960f4cedec8..4a933ae10043 100644 --- a/www/tdiary/Makefile +++ b/www/tdiary/Makefile @@ -7,7 +7,7 @@ PORTNAME= tdiary PORTVERSION= 1.5.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www ruby MASTER_SITES= \ ${MASTER_SITE_SOURCEFORGE} \ @@ -27,6 +27,8 @@ RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/web/escape_ext.so:${PORTSDIR}/www/ruby-nora NO_BUILD= yes USE_RUBY= yes +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 TDIARYDIR= ${PREFIX}/share/examples/${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} @@ -47,8 +49,11 @@ pre-everything:: @${ECHO_MSG} do-install: - @if [ -d ${TDIARYDIR} ]; then ${RM} -rf ${TDIARYDIR}; fi - ${MKDIR} ${TDIARYDIR} +# @if [ -d ${TDIARYDIR} ]; then ${RM} -rf ${TDIARYDIR}; fi + -${MKDIR} ${TDIARYDIR} + @${SED} -e 's,@@@@PREFIX@@@@,${PREFIX},g' \ + -e 's,@@@@LANG@@@@,${TDIARY_LANG},g' \ + ${FILESDIR}/tdiaryinst.rb.in > ${TDIARYDIR}/tdiaryinst.rb @${SED} -e 's,@@@@PREFIX@@@@,${PREFIX},g' \ -e 's,@@@@LANG@@@@,${TDIARY_LANG},g' \ ${FILESDIR}/tdiary-FreeBSD.sh.in > ${TDIARYDIR}/tdiary-FreeBSD.sh -- cgit