1 | --- Portfile.orig 2014-02-13 13:19:38.000000000 -0500 |
---|
2 | +++ Portfile 2014-02-13 15:46:57.000000000 -0500 |
---|
3 | @@ -3,8 +3,8 @@ |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name nfsen |
---|
7 | -version 1.3 |
---|
8 | -revision 3 |
---|
9 | +version 1.3.6p1 |
---|
10 | +revision 0 |
---|
11 | categories net |
---|
12 | maintainers markd |
---|
13 | license BSD |
---|
14 | @@ -15,16 +15,18 @@ |
---|
15 | platforms darwin |
---|
16 | master_sites sourceforge:project/nfsen/stable/nfsen-${version} |
---|
17 | |
---|
18 | -checksums md5 1c4f057bbb3766090b40bda3ab6b81d2 |
---|
19 | +checksums rmd160 b7a1c205bbde4276b8ab757c6fb1e69d23b28a5b \ |
---|
20 | + sha256 810e95546338622756deb919d7ee6c39721bc9873bb75dc7ec411ec0b87e1265 |
---|
21 | |
---|
22 | depends_lib port:perl5.12 \ |
---|
23 | port:rrdtool \ |
---|
24 | port:p5.12-mailtools \ |
---|
25 | port:p5.12-sys-syslog \ |
---|
26 | + port:p5.12-socket6 \ |
---|
27 | port:nfdump |
---|
28 | |
---|
29 | -patchfiles patch-install.pl.diff \ |
---|
30 | - patch-etc-nfsen-dist.conf.diff \ |
---|
31 | +patchfiles patch-etc-nfsen-dist.conf.diff \ |
---|
32 | + patch-install.pl.diff \ |
---|
33 | patch-libexec-NfSenRC.pm.diff \ |
---|
34 | patch-bin-nfsend.diff \ |
---|
35 | patch-bin-nfsen.diff \ |
---|
36 | @@ -121,4 +123,21 @@ |
---|
37 | \n" |
---|
38 | } |
---|
39 | |
---|
40 | +variant devel { |
---|
41 | + fetch.type svn |
---|
42 | + svn.url svn://svn.code.sf.net/p/nfsen/code/trunk |
---|
43 | + worksrcdir trunk |
---|
44 | + ## using perl Module::Build now, need to decide which perl or multiple variant? |
---|
45 | + PortGroup perl5 1.0 |
---|
46 | + depends_build-append port:p5.12-module-build |
---|
47 | + patchfiles |
---|
48 | + ## FIXME! can't reset the followings: post-patch & destroot? |
---|
49 | + post-patch {} |
---|
50 | + configure.cmd perl5.12 |
---|
51 | + configure.args Build.PL --install_base=${destroot}${prefix} |
---|
52 | + build.cmd Build |
---|
53 | + destroot.cmd Build |
---|
54 | + destroot.target install |
---|
55 | +} |
---|
56 | + |
---|
57 | livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix} |
---|