Changeset 82617
- Timestamp:
- 08/16/11 13:58:26 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/_resources/port1.0/group/perl5-1.0.tcl
r82605 r82617 113 113 dist_subdir perl5 114 114 115 set rootname [string range $name 3 end] 116 117 foreach v ${perl5.branches} { 118 subport p${v}-${rootname} { depends_lib port:perl${v} } 119 } 120 121 if {$subport == $name} { 122 perl5.major 123 distfiles 124 supported_archs noarch 125 replaced_by p[option perl5.default_branch]-${rootname} 126 depends_lib port:p[option perl5.default_branch]-${rootname} 127 use_configure no 128 build {} 129 destroot { 130 xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} 131 system "echo $name is a stub port > ${destroot}${prefix}/share/doc/${name}/README" 115 if {[string match p5-* $name]} { 116 set rootname [string range $name 3 end] 117 118 foreach v ${perl5.branches} { 119 subport p${v}-${rootname} { 120 depends_lib port:perl${v} 121 perl5.major ${v} 122 } 123 } 124 125 if {$subport == $name} { 126 perl5.major 127 distfiles 128 supported_archs noarch 129 replaced_by p[option perl5.default_branch]-${rootname} 130 depends_lib port:p[option perl5.default_branch]-${rootname} 131 use_configure no 132 build {} 133 destroot { 134 xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} 135 system "echo $name is a stub port > ${destroot}${prefix}/share/doc/${name}/README" 136 } 132 137 } 133 138 } else { 134 perl5.major [string range $subport 1 [expr [string first - $subport]-1]] 139 perl5.major ${perl5.default_branch} 140 depends_lib port:perl${perl5.default_branch} 141 } 142 if {![string match p5-* $name] || $subport != $name} { 135 143 configure.cmd ${perl5.bin} 136 144 configure.env PERL_AUTOINSTALL=--skipdeps 137 145 configure.pre_args Makefile.PL 138 146 configure.args INSTALLDIRS=vendor 139 147 140 148 test.run yes 141 149 142 150 destroot.target pure_install 143 151 144 152 post-destroot { 145 153 fs-traverse file ${destroot}${perl5.lib} {
Note: See TracChangeset
for help on using the changeset viewer.

