diff options
-rw-r--r-- | net/ruby-icmp/Makefile | 29 | ||||
-rw-r--r-- | net/ruby-icmp/distinfo | 4 | ||||
-rw-r--r-- | net/ruby-icmp/pkg/DESCR | 5 | ||||
-rw-r--r-- | net/ruby-icmp/pkg/PLIST | 5 |
4 files changed, 43 insertions, 0 deletions
diff --git a/net/ruby-icmp/Makefile b/net/ruby-icmp/Makefile new file mode 100644 index 00000000000..1a2b34e409b --- /dev/null +++ b/net/ruby-icmp/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/07/01 14:26:16 taca Exp $ +# FreeBSD: ports/net/ruby-icmp/Makefile,v 1.2 2000/11/02 19:06:06 knu Exp + +DISTNAME= icmp-0.1.1 +PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME} +CATEGORIES= net +MASTER_SITES= http://www.notwork.org/~gotoyuzo/ruby/src/ + +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= ping.rb +EXAMPLES= ping.rb + +post-install: + ${INSTALL_DATA} ${WRKSRC}/icmp.rb ${RUBY_SITELIBDIR} + ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/icmp +.for f in ${EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/icmp +.endfor + +.include "../../lang/ruby-base/Makefile.common" +.include "../../mk/bsd.pkg.mk" diff --git a/net/ruby-icmp/distinfo b/net/ruby-icmp/distinfo new file mode 100644 index 00000000000..192ed0cce4d --- /dev/null +++ b/net/ruby-icmp/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/07/01 14:26:16 taca Exp $ + +SHA1 (ruby/icmp-0.1.1.tar.gz) = c519b3b7900bb347acbbfcbb9396aa2fd031eefb +Size (ruby/icmp-0.1.1.tar.gz) = 5921 bytes diff --git a/net/ruby-icmp/pkg/DESCR b/net/ruby-icmp/pkg/DESCR new file mode 100644 index 00000000000..f30973670cf --- /dev/null +++ b/net/ruby-icmp/pkg/DESCR @@ -0,0 +1,5 @@ +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/pkg/PLIST b/net/ruby-icmp/pkg/PLIST new file mode 100644 index 00000000000..567cddb0d2d --- /dev/null +++ b/net/ruby-icmp/pkg/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/01 14:26:16 taca Exp $ +${RUBY_SITEARCHLIBDIR}/icmpmodule.so +${RUBY_SITELIBDIR}/icmp.rb +${RUBY_EXAMPLESDIR}/icmp/ping.rb +@dirrm ${RUBY_EXAMPLESDIR}/icmp |