aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-date2
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-03-31 00:39:00 +0800
committerknu <knu@FreeBSD.org>2002-03-31 00:39:00 +0800
commit4edc3081877cc6fe3159b3c6862515450e270cd4 (patch)
treeca6f6f9185d0c3cf27426b7ca3d3c9a8a258abb5 /devel/ruby-date2
parent385fdae0395f19ca6d45f8c847972c80d4caa3a8 (diff)
downloadfreebsd-ports-gnome-4edc3081877cc6fe3159b3c6862515450e270cd4.tar.gz
freebsd-ports-gnome-4edc3081877cc6fe3159b3c6862515450e270cd4.tar.zst
freebsd-ports-gnome-4edc3081877cc6fe3159b3c6862515450e270cd4.zip
Update to version 3.
Diffstat (limited to 'devel/ruby-date2')
-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