diff options
author | knu <knu@FreeBSD.org> | 2001-06-08 19:42:01 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-06-08 19:42:01 +0800 |
commit | d43593d34897e9db08d33d280e75a97e7f54e9f5 (patch) | |
tree | bc161aa3569652ffee66fb9ae9db002f3a7370d7 /devel | |
parent | 1d753228dc686d8cec8c7077be4ddd4d530650fa (diff) | |
download | freebsd-ports-gnome-d43593d34897e9db08d33d280e75a97e7f54e9f5.tar.gz freebsd-ports-gnome-d43593d34897e9db08d33d280e75a97e7f54e9f5.tar.zst freebsd-ports-gnome-d43593d34897e9db08d33d280e75a97e7f54e9f5.zip |
Add ruby-tzfile, a TZFile handling library for Ruby.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/ruby-tzfile/Makefile | 40 | ||||
-rw-r--r-- | devel/ruby-tzfile/distinfo | 1 | ||||
-rw-r--r-- | devel/ruby-tzfile/pkg-comment | 1 | ||||
-rw-r--r-- | devel/ruby-tzfile/pkg-descr | 4 | ||||
-rw-r--r-- | devel/ruby-tzfile/pkg-plist | 3 |
6 files changed, 50 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index b6e505e7e2cd..6dc1bbaaeec4 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -443,6 +443,7 @@ SUBDIR += ruby-strscan SUBDIR += ruby-sysvipc SUBDIR += ruby-textbuf + SUBDIR += ruby-tzfile SUBDIR += ruby-unit SUBDIR += rvm SUBDIR += scandoc 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 |