source: trunk/dports/security/logsurfer/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

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