summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2008-06-19 14:52:11 +0000
committertaca <taca@pkgsrc.org>2008-06-19 14:52:11 +0000
commitf7ceb84d39bf814e002ddbd748735a674a8226f7 (patch)
tree4b28005d08beb6b5ad37c6b183213ac936064a00 /net
parentacb340db2a749650db0c4c188eeef6663a88c117 (diff)
downloadpkgsrc-f7ceb84d39bf814e002ddbd748735a674a8226f7.tar.gz
- Switch to use vendor_dir with Ruby 1.8.7.
Bump PKGREVISION.
Diffstat (limited to 'net')
-rw-r--r--net/ruby-icmp/Makefile8
-rw-r--r--net/ruby-icmp/PLIST10
2 files changed, 9 insertions, 9 deletions
diff --git a/net/ruby-icmp/Makefile b/net/ruby-icmp/Makefile
index 1a0fb9f2325..932c79a5f85 100644
--- a/net/ruby-icmp/Makefile
+++ b/net/ruby-icmp/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2006/02/03 04:43:47 taca Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/19 14:53:07 taca Exp $
DISTNAME= icmp-0.2.2
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= net ruby
MASTER_SITES= http://www.notwork.org/~gotoyuzo/ruby/src/
@@ -14,11 +14,11 @@ USE_RUBY_INSTALL= yes
NO_BUILD= yes
REPLACE_RUBY= sample/ping.rb sample/traceroute.rb
EXAMPLES= sample/ping.rb sample/traceroute.rb
+INSTALLATION_DIRS= ${RUBY_EG}/icmp
post-install:
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/icmp
.for f in ${EXAMPLES}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/icmp
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_EG}/icmp
.endfor
.include "../../lang/ruby/modules.mk"
diff --git a/net/ruby-icmp/PLIST b/net/ruby-icmp/PLIST
index 3f55f512823..96dc457cd54 100644
--- a/net/ruby-icmp/PLIST
+++ b/net/ruby-icmp/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 2004/11/28 04:13:56 taca Exp $
-${RUBY_SITELIBDIR}/icmp.rb
-${RUBY_EXAMPLESDIR}/icmp/ping.rb
-${RUBY_EXAMPLESDIR}/icmp/traceroute.rb
-@dirrm ${RUBY_EXAMPLESDIR}/icmp
+@comment $NetBSD: PLIST,v 1.4 2008/06/19 14:53:07 taca Exp $
+${RUBY_VENDORLIB}/icmp.rb
+${RUBY_EG}/icmp/ping.rb
+${RUBY_EG}/icmp/traceroute.rb
+@dirrm ${RUBY_EG}/icmp