[137862] branches/gsoc15-portfile/port-create
chunyang at macports.org
chunyang at macports.org
Mon Jun 22 01:17:32 PDT 2015
Revision: 137862
https://trac.macports.org/changeset/137862
Author: chunyang at macports.org
Date: 2015-06-22 01:17:32 -0700 (Mon, 22 Jun 2015)
Log Message:
-----------
port-create: Handle rest of group argument
Modified Paths:
--------------
branches/gsoc15-portfile/port-create
Modified: branches/gsoc15-portfile/port-create
===================================================================
--- branches/gsoc15-portfile/port-create 2015-06-22 07:40:17 UTC (rev 137861)
+++ branches/gsoc15-portfile/port-create 2015-06-22 08:17:32 UTC (rev 137862)
@@ -34,16 +34,16 @@
}
}
-proc get_group {group} {
+proc get_group {group argv} {
switch $group {
github {
- puts [exec github2port/github2port https://github.com/jonas/tig/archive/tig-2.1.1.tar.gz]
+ puts [exec github2port/github2port {*}$argv]
}
bitbucket {
- puts [exec github2port/bitbucket2port https://bitbucket.org/sshguard/sshguard]
+ puts [exec github2port/bitbucket2port {*}$argv]
}
default {
- puts [exec portfile-gen/portfile-gen -g $group pylint 1.4.3]
+ puts [exec portfile-gen/portfile-gen -g $group {*}$argv]
}
}
}
@@ -133,7 +133,7 @@
}
if {[expr {[string length $params(group)] > 0}]} {
- get_group $params(group)
+ get_group $params(group) $argv
exit 0
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150622/ea960ddd/attachment-0001.html>
More information about the macports-changes
mailing list