summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-04-02 04:34:37 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-04-02 04:34:37 +0000
commitc5bbadb8dee341efc0bdd269123936d408b0d7f1 (patch)
treed2d205c339872559acb8481fbd8984c65f846fbd
parentFix libintl/libiconv dependencies. (diff)
Temporarily back out the 2.5 -> 3 update, since ruby-soap still wants
a module that was included in 2.5. While I'm here, update to 2.5.1. Reported by: bento
Notes
Notes: svn path=/head/; revision=57177
-rw-r--r--devel/ruby-date2/Makefile15
-rw-r--r--devel/ruby-date2/distinfo2
-rw-r--r--devel/ruby-date2/pkg-plist12
3 files changed, 20 insertions, 9 deletions
diff --git a/devel/ruby-date2/Makefile b/devel/ruby-date2/Makefile
index 6b2130d61514..e02830646f07 100644
--- a/devel/ruby-date2/Makefile
+++ b/devel/ruby-date2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= date2
-PORTVERSION= 3
+PORTVERSION= 2.5.1
CATEGORIES= devel ruby
MASTER_SITES= http://www.funaba.org/archive/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -15,15 +15,22 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
-USE_RUBY_SETUP= yes
-RUBY_SETUP= install.rb
+
+NO_BUILD= yes
+
+MODULES= date2.rb date3.rb holiday.rb odate.rb \
+ parsedate2.rb parsedate2.ry parsedate3.rb \
+ qholiday.rb strftime.rb strptime.rb
DOCS_EN= MANUAL.en MANUAL.en.rd MANUAL.en.html README.en
DOCS_JA= MANUAL MANUAL.rd MANUAL.html README
EXAMPLES_EN= cal.rb daylight.rb goodfriday.rb
EXAMPLES_JA= ncal.rb
-post-install:
+do-install:
+.for f in ${MODULES}
+ ${INSTALL_DATA} ${WRKSRC}/lib/${f} ${RUBY_SITELIBDIR}
+.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/date2/ja
.for f in ${EXAMPLES_EN}
diff --git a/devel/ruby-date2/distinfo b/devel/ruby-date2/distinfo
index 8cc16dfabe6f..a241c0a37005 100644
--- a/devel/ruby-date2/distinfo
+++ b/devel/ruby-date2/distinfo
@@ -1 +1 @@
-MD5 (ruby/date2-3.tar.gz) = 7b90ac0a83a66608c19cbf5c01c8e54e
+MD5 (ruby/date2-2.5.1.tar.gz) = d49867472bb0d11096a72ab1e8f50045
diff --git a/devel/ruby-date2/pkg-plist b/devel/ruby-date2/pkg-plist
index f7a5eab3d335..41366fdfba2e 100644
--- a/devel/ruby-date2/pkg-plist
+++ b/devel/ruby-date2/pkg-plist
@@ -1,9 +1,13 @@
%%RUBY_SITELIBDIR%%/date2.rb
+%%RUBY_SITELIBDIR%%/date3.rb
+%%RUBY_SITELIBDIR%%/holiday.rb
+%%RUBY_SITELIBDIR%%/odate.rb
%%RUBY_SITELIBDIR%%/parsedate2.rb
-%%RUBY_SITELIBDIR%%/date2/format.rb
-%%RUBY_SITELIBDIR%%/date2/holiday.rb
-%%RUBY_SITELIBDIR%%/date2/qholiday.rb
-@dirrm %%RUBY_SITELIBDIR%%/date2
+%%RUBY_SITELIBDIR%%/parsedate2.ry
+%%RUBY_SITELIBDIR%%/parsedate3.rb
+%%RUBY_SITELIBDIR%%/qholiday.rb
+%%RUBY_SITELIBDIR%%/strftime.rb
+%%RUBY_SITELIBDIR%%/strptime.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/date2/cal.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/date2/daylight.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/date2/goodfriday.rb