summaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-08-22 23:03:37 +0000
committerknu <knu@FreeBSD.org>2003-08-22 23:03:37 +0000
commit3c8b35c29c053bb9fad518c75fce2fe941603fb6 (patch)
tree8f2a4331cb3ca9cf86afeb62f4e817614a200d9b /archivers
parent6dd7b1d898223fcf4c3c4d7b9ce6f5ff0b838cb7 (diff)
downloadFreeBSD-ports-3c8b35c29c053bb9fad518c75fce2fe941603fb6.zip
FreeBSD-ports-3c8b35c29c053bb9fad518c75fce2fe941603fb6.tar.gz
Update to 0.5.0.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/ruby-zip/Makefile8
-rw-r--r--archivers/ruby-zip/distinfo2
-rw-r--r--archivers/ruby-zip/files/patch-zip.rb20
-rw-r--r--archivers/ruby-zip/pkg-plist10
4 files changed, 13 insertions, 27 deletions
diff --git a/archivers/ruby-zip/Makefile b/archivers/ruby-zip/Makefile
index 1c7fa76..6e1b4bc 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 7cc6aa6..9f0ffd8 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 ec80c31..0000000
--- 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 6ba5a6e..07894df 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
OpenPOWER on IntegriCloud