2012-10-23 19:18:07 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2012/10/23 17:19:06 asau Exp $
|
2001-07-01 16:26:16 +02:00
|
|
|
|
2004-11-28 05:13:56 +01:00
|
|
|
DISTNAME= icmp-0.2.2
|
2008-06-19 16:52:11 +02:00
|
|
|
PKGREVISION= 3
|
2004-03-16 03:01:09 +01:00
|
|
|
CATEGORIES= net ruby
|
2001-07-01 16:26:16 +02:00
|
|
|
MASTER_SITES= http://www.notwork.org/~gotoyuzo/ruby/src/
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= taca@NetBSD.org
|
2001-07-01 16:26:16 +02:00
|
|
|
HOMEPAGE= # not available
|
|
|
|
COMMENT= Ruby module for handling ICMP packets
|
2010-09-10 09:37:25 +02:00
|
|
|
LICENSE= 2-clause-bsd
|
2001-07-01 16:26:16 +02:00
|
|
|
|
2009-02-15 04:24:50 +01:00
|
|
|
USE_RUBY_SETUP= yes
|
|
|
|
USE_RUBY_SETUP_PKG= yes
|
2004-11-28 05:13:56 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
REPLACE_RUBY= sample/ping.rb sample/traceroute.rb
|
|
|
|
EXAMPLES= sample/ping.rb sample/traceroute.rb
|
2009-02-15 04:24:50 +01:00
|
|
|
INSTALLATION_DIRS= ${RUBY_EG}/icmp ${RUBY_VENDORLIB}
|
2001-07-01 16:26:16 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.for f in ${EXAMPLES}
|
2008-06-19 16:52:11 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_EG}/icmp
|
2001-07-01 16:26:16 +02:00
|
|
|
.endfor
|
|
|
|
|
2004-11-28 05:13:56 +01:00
|
|
|
.include "../../lang/ruby/modules.mk"
|
2001-07-01 16:26:16 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|