Am 09.07.13 19:25, schrieb Clemens Lang:
with all the ugly quoting that will be caused by this.

this is nicer to read:

set foo.versions {
    2.0 x
    3.0 y
    4.1 z
}

foreach {foo.version foo.string} ${foo.versions} {
    subport foo-${foo.version} [subst {
        pre-fetch {
            system "echo ${foo.version}"
        }
        fetch {}
        extract {}
        use_configure no
        build {}
        destroot {}
    }]
}


-g

_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to