[137877] branches/gsoc15-portfile/port-create
chunyang at macports.org
chunyang at macports.org
Mon Jun 22 09:30:04 PDT 2015
Revision: 137877
https://trac.macports.org/changeset/137877
Author: chunyang at macports.org
Date: 2015-06-22 09:30:04 -0700 (Mon, 22 Jun 2015)
Log Message:
-----------
port-create: Add master_sites variable
Modified Paths:
--------------
branches/gsoc15-portfile/port-create
Modified: branches/gsoc15-portfile/port-create
===================================================================
--- branches/gsoc15-portfile/port-create 2015-06-22 15:48:38 UTC (rev 137876)
+++ branches/gsoc15-portfile/port-create 2015-06-22 16:30:04 UTC (rev 137877)
@@ -138,6 +138,7 @@
set name "replaceme"
set version "replaceme"
set maintainers "replaceme"
+set master_sites "replaceme"
set rmd160 "replaceme"
set sha256 "replaceme"
@@ -147,6 +148,8 @@
set name [val_or_def [get_name $tarball] $name]
set version [val_or_def [get_version $tarball] $version]
+ set master_sites [val_or_def [string range $params(url) 0 end-[string length $tarball]] $master_sites]
+
set file_url "/tmp/$tarball.TMP"
curl fetch $params(url) $file_url
@@ -182,5 +185,7 @@
puts ""
puts "long_description replaceme"
puts ""
+puts "master_sites ${master_sites}"
+puts ""
puts "checksums rmd160 ${rmd160} \\"
puts " sha256 ${sha256}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150622/930d45d7/attachment.html>
More information about the macports-changes
mailing list