Ignore:
Timestamp:
Aug 23, 2014, 11:35:03 PM (5 years ago)
Author:
devans@…
Message:

p5-file-mimeinfo: add mode line and retab, white space only.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/perl/p5-file-mimeinfo/Portfile

    r124390 r124391  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    12# $Id$
    23
    3 PortSystem              1.0
    4 PortGroup               perl5 1.0
     4PortSystem          1.0
     5PortGroup           perl5 1.0
    56
    67perl5.branches      5.8 5.10 5.12 5.14 5.16 5.18 5.20
    7 perl5.setup             File-MimeInfo 0.26
    8 license         {Artistic-1 GPL}
    9 maintainers             nomaintainer
    10 description             This module can be used to determine the mime type of a file.   \
    11                 It tries to implement the freedesktop specification for a shared MIME database.
    12 long_description        ${description}
     8perl5.setup         File-MimeInfo 0.26
     9license             {Artistic-1 GPL}
     10maintainers         nomaintainer
     11description         This module can be used to determine the mime type of a file.   \
     12                    It tries to implement the freedesktop specification for a shared MIME database.
     13long_description    ${description}
    1314
    14 platforms               darwin
     15platforms           darwin
    1516
    1617checksums           rmd160  7aead9c4d562dd81a390c4979e300870aa9531ef \
    1718                    sha256  544f58631a383460754a233a1cb00572c57caa04cc3c11fa7c242caf5f89ceb3
    1819
    19 #Warning: prerequisite File::BaseDir 0.03 not found.
    20 #Warning: prerequisite File::DesktopEntry 0.04 not found.
     20if {${perl5.major} != ""} {
     21    depends_lib-append \
     22                    port:shared-mime-info \
     23                    port:p${perl5.major}-file-basedir \
     24                    port:p${perl5.major}-file-desktopentry
    2125
    22 if {${perl5.major} != ""} {
    23 depends_lib-append              port:shared-mime-info \
    24                         port:p${perl5.major}-file-basedir \
    25                         port:p${perl5.major}-file-desktopentry
    26 
    27 patchfiles              patch-lib-File-MimeInfo.pm.diff
    28 post-patch      {
     26    patchfiles      patch-lib-File-MimeInfo.pm.diff
     27    post-patch {
    2928        reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/lib/File/MimeInfo.pm
     29    }
    3030}
    31 }
Note: See TracChangeset for help on using the changeset viewer.