source: trunk/dports/security/logsurfer/Portfile

Last change on this file was 125984, checked in by mf2k@…, 3 years ago

add aop ctris cyrus-imapd cyrus-sasl2 fbg FreeSOLID gift GTorrentViewer latex2rtf logsurfer lurker mapm netwag netwib netwox rtf2latex rtf2latex2e tcl-tls toppler xmfract: Ports abandoned by jmpp. (#44809)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 125984 2014-10-01 14:38:59Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name       logsurfer
6version    1.6b
7categories      security
8license    GPL-2+
9platforms       darwin
10maintainers     phpconsulting.com:mat openmaintainer
11
12description     monitors system logs in real-time and reports on the occurrence of events
13long_description         similar to the well-known swatch program on which it is based, \
14                         but offers a number of advanced  features which swatch does not support. \
15                         Logsurfer is capable of grouping related log entries  together - for instance,\
16                         when a system boots it usually  creates a high number of log messages.
17
18homepage        http://www.crypt.gen.nz/logsurfer/
19master_sites    http://kerryt.orcon.net.nz/
20distname        ${name}+-${version}
21checksums       md5 ad72ac6f3d13d41f6ec74a16dd7666c0
22
23patchfiles      patch-all-Makefile.in.diff
24
25configure.args  --mandir=${prefix}/share/man --with-etcdir=${prefix}/etc
26
27post-build      {
28                system -W ${worksrcpath}/contrib/prtime "${configure.cc} ${configure.cflags} [get_canonical_archflags cc] -o prtime prtime.c"
29}
30
31post-destroot   {
32                xinstall -d -m 755 ${destroot}${prefix}/share/${name}/prtime
33                xinstall -d -m 755 ${destroot}${prefix}/share/${name}/start-mail
34                xinstall -d -m 755 ${destroot}${prefix}/etc
35                xinstall -m 644 -v ${worksrcpath}/README ${destroot}${prefix}/share/${name}
36                xinstall -m 755 -v ${worksrcpath}/contrib/prtime/prtime ${destroot}${prefix}/bin
37                xinstall -m 644 -v ${worksrcpath}/contrib/prtime/README \
38                ${destroot}${prefix}/share/${name}/prtime
39                xinstall -m 755 -v ${worksrcpath}/contrib/start-mail/start-mail ${destroot}${prefix}/bin
40                xinstall -m 644 -v ${worksrcpath}/contrib/start-mail/README \
41                ${destroot}${prefix}/share/${name}/start-mail
42                xinstall -m 644 -v -c /dev/null ${destroot}${prefix}/etc/${name}.conf
43}
44
45post-activate   {
46                ui_msg "\nThe ${prefix}/etc/${name}.conf file is installed but empty. For full functionality \
47of ${name} a working configuration file should be written from scratch; read \"man 4 logsurfer.conf\" for \
48information on how to do this.\n
49For configuration of additional daemons, see: http://www.obfuscation.org/emf/logsurfer.html"
50}
Note: See TracBrowser for help on using the repository browser.