pkgsrc/net/ruby-icmp/Makefile
2004-03-16 02:01:09 +00:00

28 lines
771 B
Makefile

# $NetBSD: Makefile,v 1.4 2004/03/16 02:01:11 taca Exp $
# FreeBSD: ports/net/ruby-icmp/Makefile,v 1.2 2000/11/02 19:06:06 knu Exp
DISTNAME= icmp-0.2.1
PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
CATEGORIES= net ruby
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= sample/ping.rb sample/traceroute.rb
EXAMPLES= sample/ping.rb sample/traceroute.rb
post-install:
${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"