[102074] contrib/portfile-gen/portfile-gen
ryandesign at macports.org
ryandesign at macports.org
Sun Jan 27 07:16:05 PST 2013
Revision: 102074
https://trac.macports.org/changeset/102074
Author: ryandesign at macports.org
Date: 2013-01-27 07:16:05 -0800 (Sun, 27 Jan 2013)
Log Message:
-----------
portfile-gen: cleanup
Modified Paths:
--------------
contrib/portfile-gen/portfile-gen
Modified: contrib/portfile-gen/portfile-gen
===================================================================
--- contrib/portfile-gen/portfile-gen 2013-01-27 14:24:49 UTC (rev 102073)
+++ contrib/portfile-gen/portfile-gen 2013-01-27 15:16:05 UTC (rev 102074)
@@ -64,6 +64,7 @@
set portname [lindex $::argv 0]
set portversion [lindex $::argv 1]
+puts "# -*- 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"
puts "# \$Id\$"
puts ""
puts "PortSystem 1.0"
@@ -96,12 +97,13 @@
}
}
puts "platforms darwin"
+puts "maintainers replaceme"
puts "license replaceme"
-puts "maintainers replaceme"
+puts ""
puts "description replaceme"
-puts "long_description \\"
-puts " replaceme"
puts ""
+puts "long_description replaceme"
+puts ""
switch ${groupCode} {
perl5 {
}
@@ -118,18 +120,19 @@
}
}
puts ""
-puts "checksums rmd160 12345 \\"
-puts " sha256 6789a"
+puts "checksums rmd160 12345 \\"
+puts " sha256 6789a"
switch ${groupCode} {
python {
- puts "python.versions 25 26 27"
- puts "python.default_version 27"
puts ""
- puts "if {\$subport != \$name} {"
+ puts "python.versions 25 26 27"
+ puts ""
+ puts "if {\${subport} != \${name}} {"
puts " post-destroot {"
- puts { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}}
+ puts { set docdir ${prefix}/share/doc/${subport}}
+ puts { xinstall -m 755 -d ${destroot}${docdir}}
puts " xinstall -m 644 -W $\{worksrcpath\} replaceme \\"
- puts { ${destroot}${prefix}/share/doc/${subport}}
+ puts { ${destroot}${docdir}}
puts " }"
puts "}"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130127/6b796bed/attachment.html>
More information about the macports-changes
mailing list