aboutsummaryrefslogtreecommitdiffstats
path: root/net/ruby-icmp/Makefile
blob: 77a1ac17edb9cfc230ff656aaa8ea2a6bdea6e59 (plain) (blame)
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
28
29
30
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$

PORTNAME=   icmp
PORTVERSION=    0.2.1
CATEGORIES= net ruby
MASTER_SITES=   http://mirror2.unixfreunde.de/ \
        http://freebsd.unixfreunde.de/sources/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR=    ruby

MAINTAINER= ruby@FreeBSD.org
COMMENT=    Ruby module for handling ICMP packets

USE_RUBY=   yes
USE_RUBY_EXTCONF=   yes

INSTALL_TARGET= site-install

EXAMPLES=   sample/*

OPTIONS_DEFINE= DOCS

post-install:
    ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
.endfor

.include <bsd.port.mk>