summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2007-01-28 15:18:48 +0000
committertaca <taca@pkgsrc.org>2007-01-28 15:18:48 +0000
commit6da3cd9ae179089dc186c6abdfc983fe7f7cd0a0 (patch)
treeaeb5fe42c6676f0c84911038df4e43516c2cc048 /archivers
parent4ae634beb01465de237eb3c3daccea2e3700ecb9 (diff)
downloadpkgsrc-6da3cd9ae179089dc186c6abdfc983fe7f7cd0a0.tar.gz
Update ruby-zip package to 0.9.1.
Also install some documents and examples. = Version 0.9.1 Added symlink support and support for unix file permissions. Reduced memory usage during decompression. New methods ZipFile::[follow_symlinks, restore_times, restore_permissions, restore_ownership]. New methods ZipEntry::unix_perms, ZipInputStream::eof?. Added documentation and test for new ZipFile::extract. Added some of the API suggestions from sf.net #1281314. Applied patch for sf.net bug #1446926. Applied patch for sf.net bug #1459902. Rework ZipEntry and delegate classes.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/ruby-zip/Makefile18
-rw-r--r--archivers/ruby-zip/PLIST13
-rw-r--r--archivers/ruby-zip/distinfo8
3 files changed, 32 insertions, 7 deletions
diff --git a/archivers/ruby-zip/Makefile b/archivers/ruby-zip/Makefile
index 27fd8dedad1..babca66c2a2 100644
--- a/archivers/ruby-zip/Makefile
+++ b/archivers/ruby-zip/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/03/30 03:16:48 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2007/01/28 15:18:48 taca Exp $
-DISTNAME= rubyzip-0.5.12
+DISTNAME= rubyzip-0.9.1
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby//}
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rubyzip/}
@@ -12,6 +12,20 @@ COMMENT= Ruby module for reading and writing zip files
NO_BUILD= yes
USE_RUBY_INSTALL= yes
+REPLACE_RUBY_DIRS= ${WRKSRC}/samples
+DOCS= ChangeLog NEWS README
+EXAMPLES= example.rb example_filesystem.rb gtkRubyzip.rb \
+ qtzip.rb write_simple.rb zipfind.rb
+
+post-install:
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/rubyzip
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/rubyzip
+.for f in ${DOCS}
+ cd ${WRKSRC}; ${INSTALL_DATA} ${f} ${RUBY_DOCDIR}/rubyzip
+.endfor
+.for f in ${EXAMPLES}
+ cd ${WRKSRC}/samples; ${INSTALL_DATA} ${f} ${RUBY_EXAMPLESDIR}/rubyzip
+.endfor
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/ruby-zip/PLIST b/archivers/ruby-zip/PLIST
index e191e5515bd..7e06e538b20 100644
--- a/archivers/ruby-zip/PLIST
+++ b/archivers/ruby-zip/PLIST
@@ -1,8 +1,19 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2006/03/30 03:16:48 minskim Exp $
+@comment $NetBSD: PLIST,v 1.2 2007/01/28 15:18:48 taca Exp $
${RUBY_SITELIBDIR}/zip/ioextras.rb
${RUBY_SITELIBDIR}/zip/stdrubyext.rb
${RUBY_SITELIBDIR}/zip/tempfile_bugfixed.rb
${RUBY_SITELIBDIR}/zip/zip.rb
${RUBY_SITELIBDIR}/zip/zipfilesystem.rb
${RUBY_SITELIBDIR}/zip/ziprequire.rb
+${RUBY_DOCDIR}/rubyzip/ChangeLog
+${RUBY_DOCDIR}/rubyzip/NEWS
+${RUBY_DOCDIR}/rubyzip/README
+${RUBY_EXAMPLESDIR}/rubyzip/example.rb
+${RUBY_EXAMPLESDIR}/rubyzip/example_filesystem.rb
+${RUBY_EXAMPLESDIR}/rubyzip/gtkRubyzip.rb
+${RUBY_EXAMPLESDIR}/rubyzip/qtzip.rb
+${RUBY_EXAMPLESDIR}/rubyzip/write_simple.rb
+${RUBY_EXAMPLESDIR}/rubyzip/zipfind.rb
+@dirrm ${RUBY_EXAMPLESDIR}/rubyzip
+@dirrm ${RUBY_DOCDIR}/rubyzip
@dirrm ${RUBY_SITELIBDIR}/zip
diff --git a/archivers/ruby-zip/distinfo b/archivers/ruby-zip/distinfo
index 8cb9e351986..89a3996f4f2 100644
--- a/archivers/ruby-zip/distinfo
+++ b/archivers/ruby-zip/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/03/30 03:16:48 minskim Exp $
+$NetBSD: distinfo,v 1.2 2007/01/28 15:18:48 taca Exp $
-SHA1 (rubyzip-0.5.12.tgz) = 8ce562f01f13bab90e6f1b0514691984c59b6593
-RMD160 (rubyzip-0.5.12.tgz) = 13c6bf5d9639aff40de52bb8fbbfae0b529168cd
-Size (rubyzip-0.5.12.tgz) = 61651 bytes
+SHA1 (rubyzip-0.9.1.tgz) = 68923db78186c4ae8a58b4048025694e3190beda
+RMD160 (rubyzip-0.9.1.tgz) = 9db3feba4d231e416ff5cec0a5a17e121fdac1b6
+Size (rubyzip-0.9.1.tgz) = 62254 bytes