summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-04-12 19:03:18 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-04-12 19:03:18 +0000
commitea69623e75cc8030a4ef739306663c322657740f (patch)
tree38f6705d02aebe8cf57cec4086c1ec9977c42329 /devel
parentDepend on ruby-devel-logger instead of obsolete ruby-application.rb. (diff)
Update (again) to version 3.
Notes
Notes: svn path=/head/; revision=57631
Diffstat (limited to 'devel')
-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, 9 insertions, 20 deletions
diff --git a/devel/ruby-date2/Makefile b/devel/ruby-date2/Makefile
index e02830646f07..6b2130d61514 100644
--- a/devel/ruby-date2/Makefile
+++ b/devel/ruby-date2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= date2
-PORTVERSION= 2.5.1
+PORTVERSION= 3
CATEGORIES= devel ruby
MASTER_SITES= http://www.funaba.org/archive/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -15,22 +15,15 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
-
-NO_BUILD= yes
-
-MODULES= date2.rb date3.rb holiday.rb odate.rb \
- parsedate2.rb parsedate2.ry parsedate3.rb \
- qholiday.rb strftime.rb strptime.rb
+USE_RUBY_SETUP= yes
+RUBY_SETUP= install.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
-do-install:
-.for f in ${MODULES}
- ${INSTALL_DATA} ${WRKSRC}/lib/${f} ${RUBY_SITELIBDIR}
-.endfor
+post-install:
.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 a241c0a37005..8cc16dfabe6f 100644
--- a/devel/ruby-date2/distinfo
+++ b/devel/ruby-date2/distinfo
@@ -1 +1 @@
-MD5 (ruby/date2-2.5.1.tar.gz) = d49867472bb0d11096a72ab1e8f50045
+MD5 (ruby/date2-3.tar.gz) = 7b90ac0a83a66608c19cbf5c01c8e54e
diff --git a/devel/ruby-date2/pkg-plist b/devel/ruby-date2/pkg-plist
index 41366fdfba2e..f7a5eab3d335 100644
--- a/devel/ruby-date2/pkg-plist
+++ b/devel/ruby-date2/pkg-plist
@@ -1,13 +1,9 @@
%%RUBY_SITELIBDIR%%/date2.rb
-%%RUBY_SITELIBDIR%%/date3.rb
-%%RUBY_SITELIBDIR%%/holiday.rb
-%%RUBY_SITELIBDIR%%/odate.rb
%%RUBY_SITELIBDIR%%/parsedate2.rb
-%%RUBY_SITELIBDIR%%/parsedate2.ry
-%%RUBY_SITELIBDIR%%/parsedate3.rb
-%%RUBY_SITELIBDIR%%/qholiday.rb
-%%RUBY_SITELIBDIR%%/strftime.rb
-%%RUBY_SITELIBDIR%%/strptime.rb
+%%RUBY_SITELIBDIR%%/date2/format.rb
+%%RUBY_SITELIBDIR%%/date2/holiday.rb
+%%RUBY_SITELIBDIR%%/date2/qholiday.rb
+@dirrm %%RUBY_SITELIBDIR%%/date2
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/date2/cal.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/date2/daylight.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/date2/goodfriday.rb