Ticket #52598: Portfile-nfdump.diff
File Portfile-nfdump.diff, 2.6 KB (added by aque (Allan Que), 8 years ago) |
---|
-
Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id: Portfile 125738 2014-09-25 14:43:03Z mf2k@macports.org $ 2 3 3 PortSystem 1.0 4 PortSystem 1.0 5 PortGroup github 1.0 4 6 5 name nfdump 6 version 1.6.6 7 categories net 8 maintainers nomaintainer 9 license BSD 10 platforms darwin 11 12 description Part of the NfSen project, the nfdump tools are command-line programs to \ 13 collect and process netflow data. 14 long_description ${description} 7 name nfdump 8 github.setup phaag ${name} 1.6.15 v 9 categories net 10 maintainers nomaintainer 11 license BSD 12 platforms darwin 15 13 16 homepage http://nfdump.sourceforge.net/ 17 master_sites sourceforge:project/nfdump/stable/nfdump-${version} 14 description Part of the NfSen project, the nfdump tools are command- \ 15 line programs to collect and process netflow data. 16 long_description ${description} 18 17 19 checksums rmd160 63d5aec9e7f6d2ee151a88451e52ac86263996e4 \ 20 sha256 32e74310c2ca1a622dcca5dd63d0bed40e13d851ba62fff249887682ed77e485 18 homepage https://github.com/phaag/nfdump 21 19 22 depends_lib port:rrdtool 20 checksums rmd160 5f12b04ba2bc4b4debaa36a25c8e3e1331423727 \ 21 sha256 81ceb967e878606441c024b8ae5c9e6beaba5213450cc18dc3f02c1b26e5054c 22 23 depends_lib port:rrdtool 24 25 # https://github.com/phaag/nfdump/issues/32 26 use_parallel_build no 23 27 24 28 configure.cflags-append -std=gnu89 25 configure.args 26 27 29 configure.args --enable-sflow \ 30 --enable-nfprofile \ 31 --with-rrdpath=${prefix} 28 32 29 33 post-destroot { 30 31 32 34 xinstall -d ${destroot}${prefix}/share/doc/${name} 35 xinstall -m 644 -W ${worksrcpath} BSD-license.txt ChangeLog README ToDo \ 36 ${destroot}${prefix}/share/doc/${name} 33 37 } 34 38 35 39 variant flowtools description {Enable support for flow-tools} { 36 37 38 40 depends_lib-append port:flow-tools 41 configure.args-append --enable-ftconv \ 42 --with-ftpath=${prefix} 39 43 } 40 44 41 livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}