summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/ruby-icmp/Makefile10
-rw-r--r--net/ruby-icmp/distinfo2
-rw-r--r--net/ruby-icmp/pkg-plist1
3 files changed, 6 insertions, 7 deletions
diff --git a/net/ruby-icmp/Makefile b/net/ruby-icmp/Makefile
index 7466b95a3fc2..a9df08bc1b1a 100644
--- a/net/ruby-icmp/Makefile
+++ b/net/ruby-icmp/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= icmp
-PORTVERSION= 0.1.1
-PORTREVISION= 1
+PORTVERSION= 0.2.1
CATEGORIES= net ruby
MASTER_SITES= http://www.notwork.org/~gotoyuzo/ruby/src/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -20,14 +19,13 @@ USE_RUBY_EXTCONF= yes
INSTALL_TARGET= site-install
-EXAMPLES= ping.rb
+EXAMPLES= sample/*
post-install:
- ${INSTALL_DATA} ${WRKSRC}/icmp.rb ${RUBY_SITELIBDIR}/
.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_EXAMPLESDIR}/icmp
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
.for f in ${EXAMPLES}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/icmp/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/
.endfor
.endif
diff --git a/net/ruby-icmp/distinfo b/net/ruby-icmp/distinfo
index 522b277186b1..06831e7e0884 100644
--- a/net/ruby-icmp/distinfo
+++ b/net/ruby-icmp/distinfo
@@ -1 +1 @@
-MD5 (ruby/icmp-0.1.1.tar.gz) = 1ced5def63129fd3471b0f2492306e0e
+MD5 (ruby/icmp-0.2.1.tar.gz) = a36e3a3121fc25ab6e6238cb67f3dfc1
diff --git a/net/ruby-icmp/pkg-plist b/net/ruby-icmp/pkg-plist
index 65ec45e90f2c..450020667a82 100644
--- a/net/ruby-icmp/pkg-plist
+++ b/net/ruby-icmp/pkg-plist
@@ -1,4 +1,5 @@
%%RUBY_SITEARCHLIBDIR%%/icmpmodule.so
%%RUBY_SITELIBDIR%%/icmp.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/icmp/ping.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/icmp/traceroute.rb
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/icmp