summaryrefslogtreecommitdiff
path: root/net/ruby-icmp/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-09-23 05:32:06 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-09-23 05:32:06 +0000
commit8ec18e955b8a6ab3ba2f284e4224b7202dd36347 (patch)
tree7f0acdf5bd5be7914b505927fa8bfd9928415c15 /net/ruby-icmp/Makefile
parentUpdate to 0.4. (diff)
Update to 0.2.1.
Notes
Notes: svn path=/head/; revision=48108
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