1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name p5-graveyard |
---|
7 | version 0.0 |
---|
8 | categories perl |
---|
9 | |
---|
10 | array set replacements { |
---|
11 | 5.8 5.16 |
---|
12 | 5.10 5.16 |
---|
13 | 5.12 5.16 |
---|
14 | 5.14 5.16 |
---|
15 | } |
---|
16 | |
---|
17 | proc unknown args { |
---|
18 | upvar 1 replacements replacements |
---|
19 | foreach series [lassign $args port vers] { |
---|
20 | lassign [split $vers _] ver rev |
---|
21 | if {$rev eq ""} { |
---|
22 | set rev 0 |
---|
23 | } |
---|
24 | set repl $replacements($series) |
---|
25 | subport p${series}-$port { |
---|
26 | version $ver |
---|
27 | revision $rev |
---|
28 | replaced_by py${repl}-$port |
---|
29 | } |
---|
30 | } |
---|
31 | } |
---|
32 | |
---|
33 | io-tty 1.120.0_1 5.8 5.10 5.12 5.14 |
---|
34 | wx 0.992.300_3 5.8 5.10 5.12 5.14 |
---|
35 | |
---|
36 | if {${subport} ne ${name}} { |
---|
37 | PortGroup obsolete 1.0 |
---|
38 | } else { |
---|
39 | maintainers mojca openmaintainer |
---|
40 | supported_archs noarch |
---|
41 | universal_variant no |
---|
42 | description Metaport containing obsolete Perl subports |
---|
43 | long_description This is a metaport for collecting obsolete \ |
---|
44 | Perl subports so they don't cause spurious \ |
---|
45 | build failures on the MacPorts buildslaves \ |
---|
46 | whenever their superports are modified. It \ |
---|
47 | cannot be installed. |
---|
48 | archive_sites |
---|
49 | pre-fetch { |
---|
50 | ui_error {This is a metaport for obsolete Perl subports.} |
---|
51 | return -code error {non-installable metaport} |
---|
52 | } |
---|
53 | } |
---|