diff options
author | knu <knu@FreeBSD.org> | 2003-08-23 07:03:37 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2003-08-23 07:03:37 +0800 |
commit | 3c8b35c29c053bb9fad518c75fce2fe941603fb6 (patch) | |
tree | 8f2a4331cb3ca9cf86afeb62f4e817614a200d9b /archivers/ruby-zip | |
parent | 6dd7b1d898223fcf4c3c4d7b9ce6f5ff0b838cb7 (diff) | |
download | freebsd-ports-gnome-3c8b35c29c053bb9fad518c75fce2fe941603fb6.tar.gz freebsd-ports-gnome-3c8b35c29c053bb9fad518c75fce2fe941603fb6.tar.zst freebsd-ports-gnome-3c8b35c29c053bb9fad518c75fce2fe941603fb6.zip |
Update to 0.5.0.
Diffstat (limited to 'archivers/ruby-zip')
-rw-r--r-- | archivers/ruby-zip/Makefile | 8 | ||||
-rw-r--r-- | archivers/ruby-zip/distinfo | 2 | ||||
-rw-r--r-- | archivers/ruby-zip/files/patch-zip.rb | 20 | ||||
-rw-r--r-- | archivers/ruby-zip/pkg-plist | 10 |
4 files changed, 13 insertions, 27 deletions
diff --git a/archivers/ruby-zip/Makefile b/archivers/ruby-zip/Makefile index 1c7fa76ab4a5..6e1b4bcad26a 100644 --- a/archivers/ruby-zip/Makefile +++ b/archivers/ruby-zip/Makefile @@ -6,8 +6,7 @@ # PORTNAME= zip -PORTVERSION= 0.4.2 -PORTREVISION= 1 +PORTVERSION= 0.5.0 CATEGORIES= archivers ruby MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ruby${PORTNAME} @@ -25,10 +24,11 @@ WRKSRC= ${WRKDIR}/ruby${PORTNAME} NO_BUILD= yes DOCS= ChangeLog NEWS README TODO -EXAMPLES= example.rb NEWS # NEWS is used as test data +EXAMPLES= samples/* do-install: - ${INSTALL_DATA} ${WRKSRC}/zip.rb ${RUBY_SITELIBDIR}/ + ${MKDIR} ${RUBY_SITELIBDIR}/zip + ${INSTALL_DATA} ${WRKSRC}/zip/*.rb ${RUBY_SITELIBDIR}/zip/ .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODEXAMPLESDIR} .for f in ${EXAMPLES} diff --git a/archivers/ruby-zip/distinfo b/archivers/ruby-zip/distinfo index 7cc6aa64599c..9f0ffd8b0f6c 100644 --- a/archivers/ruby-zip/distinfo +++ b/archivers/ruby-zip/distinfo @@ -1 +1 @@ -MD5 (ruby/rubyzip-0.4.2.tar.gz) = 02e9eba1ce9d01c9974838571d9ea1e6 +MD5 (ruby/rubyzip-0.5.0.tar.gz) = b313213caa2a52ac46d64ebe7518594b diff --git a/archivers/ruby-zip/files/patch-zip.rb b/archivers/ruby-zip/files/patch-zip.rb deleted file mode 100644 index ec80c3177898..000000000000 --- a/archivers/ruby-zip/files/patch-zip.rb +++ /dev/null @@ -1,20 +0,0 @@ ---- zip.rb.orig Sat Mar 30 02:15:47 2002 -+++ zip.rb Fri Mar 28 05:03:01 2003 -@@ -173,7 +173,7 @@ - class Inflater < Decompressor - def initialize(inputStream) - super -- @zlibInflater = Zlib::Inflate.new(-Zlib::Inflate::MAX_WBITS) -+ @zlibInflater = Zlib::Inflate.new(-Zlib::MAX_WBITS) - @outputBuffer="" - @hasReturnedEmptyString = false - end -@@ -621,7 +621,7 @@ - class Deflater < Compressor - def initialize(outputStream, level = Zlib::DEFAULT_COMPRESSION) - @outputStream = outputStream -- @zlibDeflater = Zlib::Deflate.new(level, -Zlib::Deflate::MAX_WBITS) -+ @zlibDeflater = Zlib::Deflate.new(level, -Zlib::MAX_WBITS) - @size = 0 - @crc = Zlib::crc32 - end diff --git a/archivers/ruby-zip/pkg-plist b/archivers/ruby-zip/pkg-plist index 6ba5a6e42ef5..07894dfa47c7 100644 --- a/archivers/ruby-zip/pkg-plist +++ b/archivers/ruby-zip/pkg-plist @@ -1,6 +1,12 @@ -%%RUBY_SITELIBDIR%%/zip.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/NEWS +%%RUBY_SITELIBDIR%%/zip/stdrubyext.rb +%%RUBY_SITELIBDIR%%/zip/zip.rb +%%RUBY_SITELIBDIR%%/zip/zipfilesystem.rb +%%RUBY_SITELIBDIR%%/zip/ziprequire.rb +@dirrm %%RUBY_SITELIBDIR%%/zip %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/example.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/example_filesystem.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtkRubyzip.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/zipfind.rb %%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog %%PORTDOCS%%%%RUBY_MODDOCDIR%%/NEWS |