diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2003-08-22 23:03:37 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2003-08-22 23:03:37 +0000 |
commit | a0c8b8f46b7a4623c02febc5345c140ece76fd77 (patch) | |
tree | a4b9af175e23223d54c13527e6b6fb4b9a8901b4 /archivers/ruby-zip | |
parent | 704920bee904e1473ebbff644361446b940ad518 (diff) | |
download | ports-a0c8b8f46b7a4623c02febc5345c140ece76fd77.tar.gz ports-a0c8b8f46b7a4623c02febc5345c140ece76fd77.zip |
Notes
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 |