summaryrefslogtreecommitdiff
path: root/misc/ruby-progressbar
diff options
context:
space:
mode:
authortaca <taca>2008-06-19 14:52:11 +0000
committertaca <taca>2008-06-19 14:52:11 +0000
commit6a5b30426d686a79adf7ee6dd2594cc2b6accab2 (patch)
tree4b28005d08beb6b5ad37c6b183213ac936064a00 /misc/ruby-progressbar
parent1be33230f272582cf56dd87fc0d86a9cecf68ff0 (diff)
downloadpkgsrc-6a5b30426d686a79adf7ee6dd2594cc2b6accab2.tar.gz
- Switch to use vendor_dir with Ruby 1.8.7.
Bump PKGREVISION.
Diffstat (limited to 'misc/ruby-progressbar')
-rw-r--r--misc/ruby-progressbar/Makefile11
-rw-r--r--misc/ruby-progressbar/PLIST10
2 files changed, 12 insertions, 9 deletions
diff --git a/misc/ruby-progressbar/Makefile b/misc/ruby-progressbar/Makefile
index 75cf44c2963..191da778fc8 100644
--- a/misc/ruby-progressbar/Makefile
+++ b/misc/ruby-progressbar/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/03/01 07:17:23 obache Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/19 14:52:11 taca Exp $
#
DISTNAME= ruby-progressbar-0.9
PKGNAME= ${DISTNAME:S/ruby-/${RUBY_PKGPREFIX}-/}
+PKGREVISION= 1
CATEGORIES= misc ruby
MASTER_SITES= http://0xcc.net/ruby-progressbar/
@@ -16,15 +17,17 @@ USE_LANGUAGES= # none
NO_BUILD= yes
-INSTALLATION_DIRS= ${RUBY_DOCDIR}/progressbar ${RUBY_SITELIBDIR}
+INSTALLATION_DIRS= ${RUBY_DOC}/progressbar ${RUBY_VENDORLIB}
do-test:
${RUN} cd ${WRKSRC}; ${RUBY} test.rb
do-install:
- ${INSTALL_DATA} ${WRKSRC}/progressbar.rb ${DESTDIR}${RUBY_SITELIBDIR}
+ ${INSTALL_DATA} ${WRKSRC}/progressbar.rb \
+ ${DESTDIR}${PREFIX}/${RUBY_VENDORLIB}
.for d in progressbar.en.rd progressbar.ja.rd
- ${INSTALL_DATA} ${WRKSRC}/${d} ${DESTDIR}${RUBY_DOCDIR}/progressbar
+ ${INSTALL_DATA} ${WRKSRC}/${d} \
+ ${DESTDIR}${PREFIX}/${RUBY_DOC}/progressbar
.endfor
.include "../../lang/ruby/modules.mk"
diff --git a/misc/ruby-progressbar/PLIST b/misc/ruby-progressbar/PLIST
index ba075d35688..d04cd94f445 100644
--- a/misc/ruby-progressbar/PLIST
+++ b/misc/ruby-progressbar/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2008/03/01 07:17:23 obache Exp $
-${RUBY_SITELIBDIR}/progressbar.rb
-${RUBY_DOCDIR}/progressbar/progressbar.en.rd
-${RUBY_DOCDIR}/progressbar/progressbar.ja.rd
-@dirrm ${RUBY_DOCDIR}/progressbar
+@comment $NetBSD: PLIST,v 1.2 2008/06/19 14:52:11 taca Exp $
+${RUBY_VENDORLIB}/progressbar.rb
+${RUBY_DOC}/progressbar/progressbar.en.rd
+${RUBY_DOC}/progressbar/progressbar.ja.rd
+@dirrm ${RUBY_DOC}/progressbar