summaryrefslogtreecommitdiff
path: root/devel/ruby-tzfile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-06-08 11:42:01 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-06-08 11:42:01 +0000
commit7d52ee413700b8cdb75f39e2ae59deced3b2f1eb (patch)
tree37dcb5a6b0295e22a0bf654ac71d3c49d17b715a /devel/ruby-tzfile
parentUpdate to 0.3.52. (diff)
Add ruby-tzfile, a TZFile handling library for Ruby.
Diffstat (limited to 'devel/ruby-tzfile')
-rw-r--r--devel/ruby-tzfile/Makefile40
-rw-r--r--devel/ruby-tzfile/distinfo1
-rw-r--r--devel/ruby-tzfile/pkg-comment1
-rw-r--r--devel/ruby-tzfile/pkg-descr4
-rw-r--r--devel/ruby-tzfile/pkg-plist3
5 files changed, 49 insertions, 0 deletions
diff --git a/devel/ruby-tzfile/Makefile b/devel/ruby-tzfile/Makefile
new file mode 100644
index 000000000000..b02b8f631792
--- /dev/null
+++ b/devel/ruby-tzfile/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: Ruby/TZFile
+# Date created: 8 June 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tzfile
+PORTVERSION= 0.1
+CATEGORIES= devel ruby
+MASTER_SITES= http://cvs.m17n.org/cgi-bin/viewcvs/${PORTNAME}/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= TZFile-${PORTVERSION}${EXTRACT_SUFX}\?tarball=1\&only_with_tag=${PORTNAME}-${PORTVERSION:S/./_/g}\&cvsroot=ruby\&
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+.if !defined(NOPORTDOCS)
+USE_RUBY_RD= yes
+.endif
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+post-fetch:
+ ${MV} ${_DISTDIR}/${DISTFILES} ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
+
+do-build:
+.if !defined(NOPORTDOCS)
+ cd ${WRKSRC} && ${RUBY_RD} tzfile.rb > tzfile.html
+.endif
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/tzfile.rb ${RUBY_SITELIBDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/tzfile.html ${RUBY_DOCDIR}/${PORTNAME}/
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/ruby-tzfile/distinfo b/devel/ruby-tzfile/distinfo
new file mode 100644
index 000000000000..88b6ba5ac34e
--- /dev/null
+++ b/devel/ruby-tzfile/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/TZFile-0.1.tar.gz?tarball=1&only_with_tag=tzfile-0_1&cvsroot=ruby&.tar.gz) = ced5a3788f3b5d8d996b6390a3273e76
diff --git a/devel/ruby-tzfile/pkg-comment b/devel/ruby-tzfile/pkg-comment
new file mode 100644
index 000000000000..773199c4166c
--- /dev/null
+++ b/devel/ruby-tzfile/pkg-comment
@@ -0,0 +1 @@
+TZFile handling library for Ruby
diff --git a/devel/ruby-tzfile/pkg-descr b/devel/ruby-tzfile/pkg-descr
new file mode 100644
index 000000000000..d94f4f7da572
--- /dev/null
+++ b/devel/ruby-tzfile/pkg-descr
@@ -0,0 +1,4 @@
+Ruby/TZFile is a TZFile handling library for Ruby.
+
+It generates classes like Time class for timezones other than
+localtime nor UTC.
diff --git a/devel/ruby-tzfile/pkg-plist b/devel/ruby-tzfile/pkg-plist
new file mode 100644
index 000000000000..d5b663e90609
--- /dev/null
+++ b/devel/ruby-tzfile/pkg-plist
@@ -0,0 +1,3 @@
+%%RUBY_SITELIBDIR%%/tzfile.rb
+%%PORTDOCS%%%%RUBY_DOCDIR%%/tzfile/tzfile.html
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/tzfile