diff options
author | Daichi GOTO <daichi@FreeBSD.org> | 2003-06-17 13:20:23 +0000 |
---|---|---|
committer | Daichi GOTO <daichi@FreeBSD.org> | 2003-06-17 13:20:23 +0000 |
commit | 4f033b7402a46577b8aa5079ce4170259c429fe8 (patch) | |
tree | aa006bfa52b820501cafc72e70347c55277a820b /www/tdiary/Makefile | |
parent | 434b74fea37d6a19874c06769280aa160302e916 (diff) | |
download | ports-4f033b7402a46577b8aa5079ce4170259c429fe8.tar.gz ports-4f033b7402a46577b8aa5079ce4170259c429fe8.zip |
Notes
Diffstat (limited to 'www/tdiary/Makefile')
-rw-r--r-- | www/tdiary/Makefile | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/www/tdiary/Makefile b/www/tdiary/Makefile index c6a3f752fa59..ade269e999f2 100644 --- a/www/tdiary/Makefile +++ b/www/tdiary/Makefile @@ -7,10 +7,13 @@ PORTNAME= tdiary PORTVERSION= 1.5.4 -CATEGORIES= japanese ruby -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +PORTREVISION= 1 +CATEGORIES= japanese ruby www +MASTER_SITES= \ + ${MASTER_SITE_SOURCEFORGE} \ + http://www.tdiary.org/download/ MASTER_SITE_SUBDIR= sourceforge/${PORTNAME} -DISTNAME= ${PORTNAME}-full-${PORTVERSION:R}.${PORTVERSION:E} +DISTNAME= ${PORTNAME}-full-${PORTVERSION} MAINTAINER= jfkimura@yahoo.co.jp COMMENT= A Web-based diary system (like weblog) written in Ruby @@ -27,7 +30,7 @@ USE_RUBY= yes TDIARYDIR= ${PREFIX}/share/examples/${PORTNAME} -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}.${PORTVERSION:E} +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} pre-everything:: @${ECHO_MSG} @@ -43,9 +46,9 @@ pre-everything:: do-install: @if [ -d ${TDIARYDIR} ]; then ${RM} -rf ${TDIARYDIR}; fi ${MKDIR} ${TDIARYDIR} - ${SED} -e 's,@@@@PREFIX@@@@,${PREFIX},g' \ - ${FILESDIR}/tdiary-FreeBSD.sh.in > ${TDIARYDIR}/tdiary-FreeBSD.sh - ${CHMOD} ugo=rx ${TDIARYDIR}/tdiary-FreeBSD.sh + @${SED} -e 's,@@@@PREFIX@@@@,${PREFIX},g' \ + ${FILESDIR}/tdiary-FreeBSD.sh.in > ${TDIARYDIR}/tdiary-FreeBSD.sh + @${CHMOD} ugo=rx ${TDIARYDIR}/tdiary-FreeBSD.sh ${CP} -pR ${WRKSRC}/ ${TDIARYDIR} .if defined(WITH_TDIARY_UCONV) ${INSTALL_DATA} ${WRKSRC}/misc/plugin/output_rdf.rb ${TDIARYDIR}/plugin @@ -56,14 +59,14 @@ do-install: @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${TDIARYDIR} post-install: - @cd ${WRKSRC} && ${FIND} . -type f -o -type l | ${SED} 's,^\.,share/examples/${PORTNAME},' | sort >> ${TMPPLIST} + @cd ${WRKSRC} && ${FIND} . -type f -o -type l | ${SED} -e 's,^\.,share/examples/${PORTNAME},' >> ${TMPPLIST} .if defined(WITH_TDIARY_UCONV) - @cd ${WRKSRC} && ${ECHO} 'share/examples/${PORTNAME}/plugin/output_rdf.rb' >> ${TMPPLIST} + @${ECHO} 'share/examples/${PORTNAME}/plugin/output_rdf.rb' >> ${TMPPLIST} .endif .if defined(WITH_TDIARY_NORA) - @cd ${WRKSRC} && ${ECHO} 'share/examples/${PORTNAME}/plugin/disp_referrer.rb' >> ${TMPPLIST} + @${ECHO} 'share/examples/${PORTNAME}/plugin/disp_referrer.rb' >> ${TMPPLIST} .endif - @cd ${WRKSRC} && ${FIND} . -type d -depth | ${SED} 's,^\.,@dirrm share/examples/${PORTNAME},' >> ${TMPPLIST} - @${CAT} ${PKGMESSAGE} + @cd ${WRKSRC} && ${FIND} . -type d -depth | ${SED} -e 's,^\.,@dirrm share/examples/${PORTNAME},' >> ${TMPPLIST} + @${SED} -e "s,@@@@PREFIX@@@@,${PREFIX},g" ${PKGMESSAGE} .include <bsd.port.mk> |