summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-03-30 16:39:00 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-03-30 16:39:00 +0000
commit6fba9f62095e901524b58cc40e7f357094088610 (patch)
treec5891711596eb2e2ba4e4b2f6cb6d476ff51cda5 /devel
parentLot of changes: Using USE_JAVA infrastructure. Upgraded port (diff)
Update to version 3.
Notes
Notes: svn path=/head/; revision=56960
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 6c8f01e1a97b..6b2130d61514 100644
--- a/devel/ruby-date2/Makefile
+++ b/devel/ruby-date2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= date2
-PORTVERSION= 2.5
+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 345fcc9e08a5..8cc16dfabe6f 100644
--- a/devel/ruby-date2/distinfo
+++ b/devel/ruby-date2/distinfo
@@ -1 +1 @@
-MD5 (ruby/date2-2.5.tar.gz) = e45414f6af7d1f2e803c9b5279fa7256
+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