New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82672


Ignore:
Timestamp:
08/17/11 14:29:51 (4 years ago)
Author:
pixilla@…
Message:

sysutils/logrotate:

  • Whitespace edit
  • Long Description edit
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/logrotate/Portfile

    r82671 r82672  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 
    12# $Id$ 
    23 
    3 PortSystem      1.0 
     4PortSystem          1.0 
    45 
    5 name                            logrotate 
    6 version                         3.7.1 
    7 revision                        3 
    8 categories                      sysutils 
    9 maintainers                     pixilla openmaintainer 
    10 platforms                       darwin 
     6name                logrotate 
     7version             3.7.1 
     8revision            3 
     9categories          sysutils 
     10maintainers         pixilla openmaintainer 
     11platforms           darwin 
    1112 
    12 description                     Rotates, compresses, and mails system logs 
     13description         Rotates, compresses, and mails system logs 
    1314 
    14 long_description                The logrotate utility simplifies the administration of log \ 
    15                                 files.  It provides automatic logfile rotation, compression, \ 
    16                                 removal, and mailing. 
     15long_description    The logrotate utility is designed to simplify the administration of log files \ 
     16                    on a system which generates a lot of log files. Logrotate allows for the \ 
     17                    automatic rotation compression, removal and mailing of log files. Logrotate \ 
     18                    can be set to handle a log file \daily, weekly, monthly or when the log file \ 
     19                    gets to a certain size. 
    1720 
    18 distname                        ${name}_${version}.orig 
    19 worksrcdir                      ${name}-${version} 
     21distname            ${name}_${version}.orig 
     22worksrcdir          ${name}-${version} 
    2023 
    21 homepage                        http://packages.debian.org/stable/admin/logrotate 
     24homepage            http://packages.debian.org/stable/admin/logrotate 
    2225 
    23 master_sites                    http://ftp.debian.org/debian/pool/main/l/logrotate 
    24 checksums                       ${distname}${extract.suffix} md5 552639142e163745f6bcd4f1f3816d8a \ 
    25                                         logrotate_${version}-5.diff.gz md5 619d36e123f8d5d6e25a1544a589cf27 
     26master_sites        http://ftp.debian.org/debian/pool/main/l/logrotate 
     27checksums           ${distname}${extract.suffix} md5 552639142e163745f6bcd4f1f3816d8a \ 
     28                    logrotate_${version}-5.diff.gz md5 619d36e123f8d5d6e25a1544a589cf27 
    2629 
    27 patch_sites                     http://ftp.debian.org/debian/pool/main/l/logrotate/ 
    28 patchfiles                      logrotate_${version}-5.diff.gz 
     30patch_sites         http://ftp.debian.org/debian/pool/main/l/logrotate/ 
     31patchfiles          logrotate_${version}-5.diff.gz 
    2932 
    30 depends_run                     port:popt \ 
    31                                 port:gettext \ 
    32                                 port:gzip 
     33depends_run         port:popt \ 
     34                    port:gettext \ 
     35                    port:gzip 
    3336 
    34 use_configure                   no 
     37use_configure       no 
    3538 
    36 build.args                      POPT_DIR=${prefix}/include LDFLAGS="-L${prefix}/lib -lpopt" 
     39build.args          POPT_DIR=${prefix}/include LDFLAGS="-L${prefix}/lib -lpopt" 
    3740 
    3841post-patch { 
    39         reinplace "s|\"/bin/gzip\"|\"${prefix}/bin/gzip\"|g" \ 
    40                 ${worksrcpath}/config.h 
     42  reinplace "s|\"/bin/gzip\"|\"${prefix}/bin/gzip\"|g" \ 
     43    ${worksrcpath}/config.h 
    4144 
    42         system "cd ${worksrcpath} && patch -p1 < logrotate-${version}/debian/patches/rh-dateext.patch" 
     45  system "cd ${worksrcpath} && patch -p1 < logrotate-${version}/debian/patches/rh-dateext.patch" 
    4346} 
    4447 
    4548destroot { 
    46                 xinstall -m 755 ${worksrcpath}/logrotate ${destroot}${prefix}/sbin 
    47                 xinstall -m 755 ${worksrcpath}/examples/logrotate-default \ 
    48                         ${destroot}${prefix}/etc/logrotate.conf.sample 
    49                 xinstall -m 444 ${worksrcpath}/logrotate.8 ${destroot}${prefix}/share/man/man8 
     49  xinstall -m 755 ${worksrcpath}/logrotate ${destroot}${prefix}/sbin 
     50  xinstall -m 755 ${worksrcpath}/examples/logrotate-default \ 
     51    ${destroot}${prefix}/etc/logrotate.conf.sample 
     52  xinstall -m 444 ${worksrcpath}/logrotate.8 ${destroot}${prefix}/share/man/man8 
    5053} 
Note: See TracChangeset for help on using the changeset viewer.