summaryrefslogtreecommitdiffstats
path: root/devel/ruby-date2
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-04-12 19:03:18 +0000
committerknu <knu@FreeBSD.org>2002-04-12 19:03:18 +0000
commit21d7979973475a545f14306d7cfb09b4615a1b58 (patch)
tree1baa87604ea1159bb8b42652dd6224cf1f2fa865 /devel/ruby-date2
parent9ba9a72c328a46d6a094d27875411de5cad63bd8 (diff)
downloadFreeBSD-ports-21d7979973475a545f14306d7cfb09b4615a1b58.zip
FreeBSD-ports-21d7979973475a545f14306d7cfb09b4615a1b58.tar.gz
Update (again) 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 e028306..6b2130d 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 a241c0a..8cc16df 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 41366fd..f7a5eab 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
OpenPOWER on IntegriCloud