summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-03-30 16:47:32 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-03-30 16:47:32 +0000
commitf26a988cf33dc44c3d10ce84c08391dafebc94d2 (patch)
treeb55d02b5a09744e32442d93926e619bbcb0547c5
parentRemoved reference to non-existent ${FILESDIR}/MANIFEST.MF. (diff)
Update to 1.10.3r.
Notes
Notes: svn path=/head/; revision=56963
-rw-r--r--devel/ruby-calendar/Makefile25
-rw-r--r--devel/ruby-calendar/distinfo2
-rw-r--r--devel/ruby-calendar/pkg-plist2
3 files changed, 12 insertions, 17 deletions
diff --git a/devel/ruby-calendar/Makefile b/devel/ruby-calendar/Makefile
index f18bf0c2f15f..000c4ee51941 100644
--- a/devel/ruby-calendar/Makefile
+++ b/devel/ruby-calendar/Makefile
@@ -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
diff --git a/devel/ruby-calendar/distinfo b/devel/ruby-calendar/distinfo
index 04c48bc10738..abb13e6c5b8a 100644
--- a/devel/ruby-calendar/distinfo
+++ b/devel/ruby-calendar/distinfo
@@ -1 +1 @@
-MD5 (ruby/calendar-1.10.2r.tar.gz) = 158d332e23a95efdd8cb57d79bd15317
+MD5 (ruby/calendar-1.10.3r.tar.gz) = d8aae7625b4566829e117e3456ea452e
diff --git a/devel/ruby-calendar/pkg-plist b/devel/ruby-calendar/pkg-plist
index 5284383a9167..0e6c60265031 100644
--- a/devel/ruby-calendar/pkg-plist
+++ b/devel/ruby-calendar/pkg-plist
@@ -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