diff options
author | rillig <rillig@pkgsrc.org> | 2007-03-08 19:26:41 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-03-08 19:26:41 +0000 |
commit | 40c18f088118a556734eb1c79297264226c449d6 (patch) | |
tree | 3a28b8017cf8bfdc4316928342397b23d36f9901 /archivers/ruby-zip | |
parent | 33043e8906ade7c413b9b8eed2210b76079b5d92 (diff) | |
download | pkgsrc-40c18f088118a556734eb1c79297264226c449d6.tar.gz |
Made the package definition simpler and fixed pkglint -Wall warnings.
Diffstat (limited to 'archivers/ruby-zip')
-rw-r--r-- | archivers/ruby-zip/Makefile | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/archivers/ruby-zip/Makefile b/archivers/ruby-zip/Makefile index babca66c2a2..386ee6e809f 100644 --- a/archivers/ruby-zip/Makefile +++ b/archivers/ruby-zip/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/01/28 15:18:48 taca Exp $ +# $NetBSD: Makefile,v 1.3 2007/03/08 19:26:41 rillig Exp $ DISTNAME= rubyzip-0.9.1 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby//} @@ -13,19 +13,12 @@ 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 + cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog NEWS README ${RUBY_DOCDIR}/rubyzip + cd ${WRKSRC}/samples && ${INSTALL_DATA} *.rb ${RUBY_EXAMPLESDIR}/rubyzip .include "../../lang/ruby/modules.mk" .include "../../mk/bsd.pkg.mk" |