32 lines
653 B
Makefile
32 lines
653 B
Makefile
# 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>
|