summaryrefslogtreecommitdiff
path: root/net/ruby-icmp
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2004-11-28 04:13:56 +0000
committertaca <taca@pkgsrc.org>2004-11-28 04:13:56 +0000
commitc0502dc56a4064c2a82ef1ac829308bf3a646771 (patch)
treedb46ce34f62573040353ba2b6933e7a99d4f6de3 /net/ruby-icmp
parentff7df625ddaa9b3ab194a5c59ff6a7ebd40f8737 (diff)
downloadpkgsrc-c0502dc56a4064c2a82ef1ac829308bf3a646771.tar.gz
Update ruby-icmp package to 0.2.2 migrating to use new framework
for Ruby packages. Changes are unknown but it is written as pure Ruby script, no C language extention and works with Ruby 1.8 and lator.
Diffstat (limited to 'net/ruby-icmp')
-rw-r--r--net/ruby-icmp/DESCR2
-rw-r--r--net/ruby-icmp/Makefile19
-rw-r--r--net/ruby-icmp/PLIST3
-rw-r--r--net/ruby-icmp/distinfo6
4 files changed, 12 insertions, 18 deletions
diff --git a/net/ruby-icmp/DESCR b/net/ruby-icmp/DESCR
index f30973670cf..9c92b9c265e 100644
--- a/net/ruby-icmp/DESCR
+++ b/net/ruby-icmp/DESCR
@@ -1,5 +1,3 @@
This is a Ruby module for handling ICMP packets.
Note that it requires root permission to handle any ICMP packets.
-
-Author: GOTOU YUUZOU <gotoyuzo@notwork.org>
diff --git a/net/ruby-icmp/Makefile b/net/ruby-icmp/Makefile
index 21f1eee6c45..1377dee5330 100644
--- a/net/ruby-icmp/Makefile
+++ b/net/ruby-icmp/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2004/03/16 02:01:11 taca Exp $
+# $NetBSD: Makefile,v 1.5 2004/11/28 04:13:56 taca Exp $
# FreeBSD: ports/net/ruby-icmp/Makefile,v 1.2 2000/11/02 19:06:06 knu Exp
-DISTNAME= icmp-0.2.1
-PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
+DISTNAME= icmp-0.2.2
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= net ruby
MASTER_SITES= http://www.notwork.org/~gotoyuzo/ruby/src/
@@ -10,13 +10,10 @@ MAINTAINER= taca@NetBSD.org
HOMEPAGE= # not available
COMMENT= Ruby module for handling ICMP packets
-DIST_SUBDIR= ruby
-USE_RUBY_EXTCONF= yes
-
-INSTALL_TARGET= site-install
-
-REPLACE_RUBY= sample/ping.rb sample/traceroute.rb
-EXAMPLES= sample/ping.rb sample/traceroute.rb
+USE_RUBY_INSTALL= yes
+NO_BUILD= yes
+REPLACE_RUBY= sample/ping.rb sample/traceroute.rb
+EXAMPLES= sample/ping.rb sample/traceroute.rb
post-install:
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/icmp
@@ -24,5 +21,5 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/icmp
.endfor
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/ruby-icmp/PLIST b/net/ruby-icmp/PLIST
index 12acabd0155..3f55f512823 100644
--- a/net/ruby-icmp/PLIST
+++ b/net/ruby-icmp/PLIST
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2002/01/19 09:30:32 taca Exp $
-${RUBY_SITEARCHLIBDIR}/icmpmodule.so
+@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
diff --git a/net/ruby-icmp/distinfo b/net/ruby-icmp/distinfo
index 026b2656b10..b9bb366d9cf 100644
--- a/net/ruby-icmp/distinfo
+++ b/net/ruby-icmp/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2002/01/19 09:30:33 taca Exp $
+$NetBSD: distinfo,v 1.3 2004/11/28 04:13:56 taca Exp $
-SHA1 (ruby/icmp-0.2.1.tar.gz) = b7cf9aaf49b397b6626023277f6f2259c49f0d23
-Size (ruby/icmp-0.2.1.tar.gz) = 7958 bytes
+SHA1 (ruby/icmp-0.2.2.tar.gz) = c0f5edf327780bd0aa094570e262e36549385b49
+Size (ruby/icmp-0.2.2.tar.gz) = 6522 bytes