1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Update to 1.10.3r.

This commit is contained in:
Akinori MUSHA 2002-03-30 16:47:32 +00:00
parent 5542a04479
commit f26a988cf3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56963
3 changed files with 12 additions and 17 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= calendar
PORTVERSION= 1.10.2r
PORTVERSION= 1.10.3r
CATEGORIES= devel ruby
MASTER_SITES= http://www.funaba.org/archive/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@ -15,30 +15,25 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
USE_RUBY_SETUP= yes
RUBY_SETUP= install.rb
MAKE_ARGS= RUBY="${RUBY}"
INSTALL_TARGET= site-install
DOCS_EN= README.en sdn/README.sdncal20
DOCS_EN= README.en ext/sdn/README.sdncal20
DOCS_JA= README
EXAMPLES_EN= calendar/cal.rb
post-extract:
${MKDIR} ${WRKSRC}/calendar/lib
${MV} ${WRKSRC}/calendar/calclass.rb ${WRKSRC}/calendar/lib/
EXAMPLES_EN= ext/calendar/cal*.rb
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/calendar
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
.for f in ${EXAMPLES_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/calendar/
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/
.endfor
${MKDIR} ${RUBY_DOCDIR}/calendar/ja
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/calendar/
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
.endfor
.for f in ${DOCS_JA}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/calendar/ja/
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
.endfor
.endif

View File

@ -1 +1 @@
MD5 (ruby/calendar-1.10.2r.tar.gz) = 158d332e23a95efdd8cb57d79bd15317
MD5 (ruby/calendar-1.10.3r.tar.gz) = d8aae7625b4566829e117e3456ea452e

View File

@ -1,8 +1,8 @@
%%RUBY_SITEARCHLIBDIR%%/calendar.so
%%RUBY_SITEARCHLIBDIR%%/getdate.so
%%RUBY_SITEARCHLIBDIR%%/sdn.so
%%RUBY_SITELIBDIR%%/calclass.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/calendar/cal.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/calendar/calclass.rb
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/calendar
%%PORTDOCS%%%%RUBY_DOCDIR%%/calendar/README.en
%%PORTDOCS%%%%RUBY_DOCDIR%%/calendar/README.sdncal20