blob: 0027f7a664e62380d43a3617259db4bf85b0e895 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# $NetBSD: Makefile,v 1.10 2009/02/15 03:27:01 taca Exp $
DISTNAME= icmp-0.2.2
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
PKGREVISION= 3
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_SETUP= yes
USE_RUBY_SETUP_PKG= yes
NO_BUILD= yes
REPLACE_RUBY= sample/ping.rb sample/traceroute.rb
EXAMPLES= sample/ping.rb sample/traceroute.rb
INSTALLATION_DIRS= ${RUBY_EG}/icmp ${RUBY_VENDORLIB}
PKG_DESTDIR_SUPPORT= user-destdir
post-install:
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_EG}/icmp
.endfor
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
|