summaryrefslogtreecommitdiff
path: root/archivers/ruby-zip/Makefile
diff options
context:
space:
mode:
authortaca <taca>2007-01-28 15:18:48 +0000
committertaca <taca>2007-01-28 15:18:48 +0000
commit15a67d9d1b91239cfb381cbc7c8d9f766df805b9 (patch)
treeaeb5fe42c6676f0c84911038df4e43516c2cc048 /archivers/ruby-zip/Makefile
parentfa4aa55e530f2f233036e698fd2bd3a0a79672e5 (diff)
downloadpkgsrc-15a67d9d1b91239cfb381cbc7c8d9f766df805b9.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/ruby-zip/Makefile')
-rw-r--r--archivers/ruby-zip/Makefile18
1 files changed, 16 insertions, 2 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"