[71877] contrib/portfile-gen/portfile-gen

raimue at macports.org raimue at macports.org
Sat Sep 25 16:27:49 PDT 2010


Revision: 71877
          http://trac.macports.org/changeset/71877
Author:   raimue at macports.org
Date:     2010-09-25 16:27:46 -0700 (Sat, 25 Sep 2010)
Log Message:
-----------
portfile-gen:
Add newline after PortSystem/PortGroup to please 'lint --nitpick',
add license option

Modified Paths:
--------------
    contrib/portfile-gen/portfile-gen

Modified: contrib/portfile-gen/portfile-gen
===================================================================
--- contrib/portfile-gen/portfile-gen	2010-09-25 23:24:25 UTC (rev 71876)
+++ contrib/portfile-gen/portfile-gen	2010-09-25 23:27:46 UTC (rev 71877)
@@ -70,39 +70,44 @@
 switch ${groupCode} {
    perl5 {
       puts "PortGroup           perl5 1.0"
+      puts ""
       puts "perl5.setup         ${portname} ${portversion}"
       puts "categories-append   replaceme"
    }
    python25 {
       puts "PortGroup           python25 1.0"
+      puts ""
       puts "name                py25-${portname}"
       puts "version             ${portversion}"
       puts "categories-append   replaceme"
    }
    python26 {
       puts "PortGroup           python26 1.0"
+      puts ""
       puts "name                py26-${portname}"
       puts "version             ${portversion}"
       puts "categories-append   replaceme"
    }
    ruby {
       puts "PortGroup           ruby 1.0"
+      puts ""
       puts "ruby.setup          ${portname} ${portversion}"
       puts "categories-append   replaceme"
    }
    default {
+      puts ""
       puts "name                ${portname}"
       puts "version             ${portversion}"
       puts "categories          replaceme"
    }
 }
+puts "platforms           darwin"
+puts "license             replaceme"
 puts "maintainers         replaceme"
 puts "description         replaceme"
 puts "long_description \\"
 puts "   replaceme"
 puts ""
-puts "platforms           darwin"
-puts ""
 switch ${groupCode} {
    perl5 {
    }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100925/21f3bc69/attachment-0001.html>


More information about the macports-changes mailing list