aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-Net-Flow/Makefile
blob: 19ba0d86995a7e0e481fc749cfb146875eb73488 (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
31
# Created by: Tsung-Han Yeh <snowfly@yuntech.edu.tw>
# $FreeBSD$

PORTNAME=   Net-Flow
PORTVERSION=    1.003
CATEGORIES= net perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= snowfly@yuntech.edu.tw
COMMENT=    Decode and encode NetFlow/IPFIX datagrams

LICENSE=    ART10 GPLv1+
LICENSE_COMB=   dual
LICENSE_FILE_ART10= ${WRKSRC}/LICENSE
LICENSE_FILE_GPLv1= ${WRKSRC}/LICENSE

USES=       perl5
USE_PERL5=  configure

NO_ARCH=    yes
PORTEXAMPLES=   examples/*

OPTIONS_DEFINE= EXAMPLES
OPTIONS_SUB=    yes

post-install-EXAMPLES-on:
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR})

.include <bsd.port.mk>