diff --git a/security/prelude-manager/Portfile b/security/prelude-manager/Portfile
index 90bd65df702..96d3b8c40fc 100644
a
|
b
|
PortSystem 1.0 |
4 | 4 | |
5 | 5 | name prelude-manager |
6 | 6 | version 5.2.0 |
7 | | |
| 7 | revision 1 |
8 | 8 | categories security |
9 | 9 | license GPL-2+ |
10 | 10 | maintainers {ctreleaven @ctreleaven} openmaintainer |
… |
… |
checksums md5 adfbb45ce1607ccf5607a9bd2f9aa800 \ |
34 | 34 | |
35 | 35 | depends_build port:pkgconfig |
36 | 36 | |
37 | | depends_lib port:libprelude \ |
| 37 | depends_lib port:libev \ |
| 38 | port:libprelude \ |
38 | 39 | port:libpreludedb \ |
39 | 40 | port:libxml2 \ |
40 | 41 | path:lib/pkgconfig/gnutls.pc:gnutls \ |
41 | 42 | port:libgeoip \ |
42 | 43 | port:libmaxminddb \ |
| 44 | port:net-snmp \ |
43 | 45 | port:tcp_wrappers |
44 | 46 | |
45 | 47 | # Avoid build errors on various configurations |
46 | 48 | use_autoreconf yes |
47 | 49 | autoreconf.args -fvi |
48 | 50 | |
| 51 | configure.env-append \ |
| 52 | "LIBEV_CFLAGS=-I${prefix}/include" \ |
| 53 | "LIBEV_LIBS=-llibev" |
| 54 | |
49 | 55 | configure.args --disable-silent-rules \ |
50 | 56 | --enable-libmaxminddb \ |
51 | 57 | --mandir=${prefix}/share/man \ |
52 | | --localstatedir=${prefix}/var |
| 58 | --localstatedir=${prefix}/var \ |
| 59 | --with-libev=yes \ |
| 60 | --with-net-snmp-prefix=${prefix} |
| 61 | |
| 62 | post-configure { |
| 63 | reinplace "s|SUBDIRS = docs libev libmissing m4 plugins src|SUBDIRS = docs libmissing m4 plugins src|g" \ |
| 64 | ${worksrcpath}/Makefile |
| 65 | } |
53 | 66 | |
54 | 67 | destroot.keepdirs \ |
55 | 68 | ${destroot}${prefix}/var/run/prelude-manager |