summaryrefslogtreecommitdiff
path: root/net/ruby-icmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/ruby-icmp/Makefile')
-rw-r--r--net/ruby-icmp/Makefile10
1 files changed, 4 insertions, 6 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