summaryrefslogtreecommitdiff
path: root/time/ruby-tzinfo/Makefile
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-10-12 20:51:14 +0000
committerminskim <minskim@pkgsrc.org>2006-10-12 20:51:14 +0000
commit2fe74a9794c39ea310732aa38dc79b919bbae2bf (patch)
tree1058217d8ead9f46dcc30e5bc127d79af89428f1 /time/ruby-tzinfo/Makefile
parente8038e38d51a1e48245351f3d1ba0dfe06ee0b8e (diff)
downloadpkgsrc-2fe74a9794c39ea310732aa38dc79b919bbae2bf.tar.gz
Import ruby-tzinfo-0.3.2.
TZInfo is a Ruby library that uses the standard tz (Olson) database to provide daylight savings aware transformations between times in different time zones. The tz database is compiled into Ruby modules which are packaged in the release. No external zoneinfo files are required at runtime.
Diffstat (limited to 'time/ruby-tzinfo/Makefile')
-rw-r--r--time/ruby-tzinfo/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/time/ruby-tzinfo/Makefile b/time/ruby-tzinfo/Makefile
new file mode 100644
index 00000000000..ab17e8d01c0
--- /dev/null
+++ b/time/ruby-tzinfo/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/10/12 20:51:14 minskim Exp $
+
+DISTNAME= tzinfo-0.3.2
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+CATEGORIES= time ruby
+MASTER_SITES= http://rubyforge.org/frs/download.php/13799/
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= http://tzinfo.rubyforge.org/
+COMMENT= Daylight-savings aware timezone library
+
+NO_BUILD= yes
+NO_CONFIGURE= yes
+
+.include "../../lang/ruby/modules.mk"
+
+do-install:
+ cd ${WRKSRC}/lib && ${PAX} -rwppm * ${RUBY_SITELIBDIR}
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/tzinfo
+.for f in CHANGES LICENSE README
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/tzinfo
+.endfor
+
+.include "../../mk/bsd.pkg.mk"