source: trunk/dports/sysutils/perl_select/Portfile

Last change on this file was 125777, checked in by toby@…, 3 years ago

perl_select: amendment to r125664 that should actually work

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
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: Portfile 125777 2014-09-26 00:43:45Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               select 1.0
6
7name                    perl_select
8version                 0.3
9categories              sysutils
10platforms               darwin
11license                 BSD
12maintainers             nomaintainer
13supported_archs         noarch
14description             common files for selecting default perl version
15long_description        This port installs files that allow 'port select' to \
16                        be used to create links to the preferred default \
17                        version of perl.
18
19homepage                http://www.macports.org/
20
21distfiles
22
23use_configure           no
24build                   {}
25# install all files
26destroot {
27    select::install perl ${filespath}/base
28    select::install perl ${filespath}/none
29}
30
31platform darwin 9 {
32    post-destroot {
33        select::install perl ${filespath}/perl5.8-apple.9
34    }
35}
36
37platform darwin 10 {
38    post-destroot {
39        select::install perl ${filespath}/perl5.8-apple.10
40        select::install perl ${filespath}/perl5.10-apple.10
41    }
42}
43
44platform darwin 11 {
45    post-destroot {
46        select::install perl ${filespath}/perl5.10-apple.11
47        select::install perl ${filespath}/perl5.12-apple.11
48    }
49}
50
51platform darwin 12 {
52    post-destroot {
53        select::install perl ${filespath}/perl5.10-apple.12
54        select::install perl ${filespath}/perl5.12-apple.12
55    }
56}
57
58platform darwin 13 {
59    post-destroot {
60        select::install perl ${filespath}/perl5.12-apple.13
61        select::install perl ${filespath}/perl5.16-apple.13
62    }
63}
64
65platform darwin 14 {
66    post-destroot {
67        select::install perl ${filespath}/perl5.16-apple.14
68        select::install perl ${filespath}/perl5.18-apple.14
69    }
70}
71
72platform darwin 15 {
73    post-destroot {
74        select::install perl ${filespath}/perl5.16-apple.15
75        select::install perl ${filespath}/perl5.18-apple.15
76    }
77}
78
79livecheck.type     none
80
81# Documentation for perl ports:
82#   PortGroup select 1.0
83#   select.group            perl
84#   select.file             ${filespath}/perl[string map {. {}} ${branch}]
Note: See TracBrowser for help on using the repository browser.