[124391] trunk/dports/perl/p5-file-mimeinfo/Portfile

devans at macports.org devans at macports.org
Sat Aug 23 16:35:03 PDT 2014


Revision: 124391
          https://trac.macports.org/changeset/124391
Author:   devans at macports.org
Date:     2014-08-23 16:35:03 -0700 (Sat, 23 Aug 2014)
Log Message:
-----------
p5-file-mimeinfo: add mode line and retab, white space only.

Modified Paths:
--------------
    trunk/dports/perl/p5-file-mimeinfo/Portfile

Modified: trunk/dports/perl/p5-file-mimeinfo/Portfile
===================================================================
--- trunk/dports/perl/p5-file-mimeinfo/Portfile	2014-08-23 23:12:22 UTC (rev 124390)
+++ trunk/dports/perl/p5-file-mimeinfo/Portfile	2014-08-23 23:35:03 UTC (rev 124391)
@@ -1,31 +1,30 @@
+# -*- 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
 # $Id$
 
-PortSystem		1.0
-PortGroup		perl5 1.0
+PortSystem          1.0
+PortGroup           perl5 1.0
 
 perl5.branches      5.8 5.10 5.12 5.14 5.16 5.18 5.20
-perl5.setup		File-MimeInfo 0.26
-license		{Artistic-1 GPL}
-maintainers		nomaintainer
-description		This module can be used to determine the mime type of a file.   \
-                It tries to implement the freedesktop specification for a shared MIME database.
-long_description	${description}
+perl5.setup         File-MimeInfo 0.26
+license             {Artistic-1 GPL}
+maintainers         nomaintainer
+description         This module can be used to determine the mime type of a file.   \
+                    It tries to implement the freedesktop specification for a shared MIME database.
+long_description    ${description}
 
-platforms		darwin
+platforms           darwin
 
 checksums           rmd160  7aead9c4d562dd81a390c4979e300870aa9531ef \
                     sha256  544f58631a383460754a233a1cb00572c57caa04cc3c11fa7c242caf5f89ceb3
 
-#Warning: prerequisite File::BaseDir 0.03 not found.
-#Warning: prerequisite File::DesktopEntry 0.04 not found.
-
 if {${perl5.major} != ""} {
-depends_lib-append		port:shared-mime-info \
-			port:p${perl5.major}-file-basedir \
-			port:p${perl5.major}-file-desktopentry
+    depends_lib-append \
+                    port:shared-mime-info \
+                    port:p${perl5.major}-file-basedir \
+                    port:p${perl5.major}-file-desktopentry
 
-patchfiles		patch-lib-File-MimeInfo.pm.diff
-post-patch      {
+    patchfiles      patch-lib-File-MimeInfo.pm.diff
+    post-patch {
         reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/lib/File/MimeInfo.pm
+    }
 }
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140823/30e5efbc/attachment.html>


More information about the macports-changes mailing list