0f5e3b8ef4
fix of REPLACE_RUBY, the impact was big or small.
25 lines
667 B
Makefile
25 lines
667 B
Makefile
# $NetBSD: Makefile,v 1.8 2006/02/03 04:43:47 taca Exp $
|
|
|
|
DISTNAME= icmp-0.2.2
|
|
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 2
|
|
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
|
|
|
|
USE_RUBY_INSTALL= yes
|
|
NO_BUILD= yes
|
|
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/modules.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|